...
- In the same interaction plan as your data sources (if using data sources), create a Data Announcer applet.
- In the Announcement Type list, click Text. The Voice and Text fields appear.
In Voice, define the voice you want to use to announce the text. You can use either a static value or a dynamic value from a data source.
To use a static value, type the voice you want to use.
To use a dynamic value from a data source, type the dollar sign ($). A list of available data sources appears. Click the data source that will contain the required value at run time, for example, $(Contact|TextToSpeech_voice__c).
Whether you use a static or dynamic value for the voice, it must match the voice ID provided by Amazon Polly. The voice is not case-sensitive. For a list of voices available in Amazon Polly and their IDs, see Voices in Amazon Polly.Note title Neural voices We only support standard voices; neural-only voices are not supported. For information about neural voices, see NTTS Speaking Styles. The applet validates the voice when you click Update.
The Voice field can contain a maximum of 50 characters.- In Text, define the text you want announced.
The Text field can contain text, digits, or a combination. You can include both static values and dynamic values from data sources.
To use a dynamic value from a data source, type the dollar sign ($). A list of available data sources appears. Click the data source that will contain the required value at run time.
Example: Balance is $(account(1)|balance)
The Text field can contain a maximum of 500 characters. - Optionally enable barge-in.
Insert excerpt _ExcerptBargeIn _ExcerptBargeIn nopanel true - In the Routing section, click the applet that Vonage Contact Center routes the interaction to after the Data Announcer applet on success and failure.
- Optionally, you can validate the audio.
Insert excerpt _ExcerptValidateAudio _ExcerptValidateAudio nopanel true - Click Update. Configure the rest of your interaction plan as required.
Now when Vonage Contact Center routes a call through the Data Announcer applet, the caller hears the configured text in the specified Amazon Polly voice.
...