Add text-to-speech to prompts - Amazon Connect

Add text-to-speech to prompts

You can enter text-to-speech prompts in the following contact flow blocks:

Amazon Polly converts text-to-speech

To convert text-to-speech, Amazon Connect uses Amazon Polly, a service that converts text into lifelike speech using SSML.

Amazon Polly default voices are free. You are charged only for using custom voices that are associated with your account.

Amazon Polly best sounding voice

Amazon Polly periodically releases improved voices and speaking styles. You can choose to automatically resolve your text-to-speech to the most lifelike and natural sounding variant of a voice. For example, if your contact flows use Joanna, Amazon Connect automatically resolves to Joanna’s Conversational speaking style.

Note

If no Neural version is available, Amazon Connect defaults to the standard voice.

To automatically use the best sounding voice

  1. Open the Amazon Connect console at https://console.aws.amazon.com/connect/.

  2. If prompted to login, enter your AWS account credentials.

  3. Choose the name of the instance from the Instance Alias column.

  4. In the navigation pane, choose Contact flows.

  5. In the Amazon Polly section, choose Use the best available voice.

How to add text-to-speech

  1. In a contact flow, add the block that will play the prompt. For example, add a Play prompt block.

  2. In the Properties, choose Text-to-speech.

  3. Enter plain text, as shown in the following image.

    Or enter SSML:

SSML-enhanced input text gives you more control over how Amazon Connect generates speech from the text you provide. You can customize and control aspects of speech such as pronunciation, volume, and speed.

For a list of SSML tags you can use with Amazon Connect, see SSML tags supported by Amazon Connect.

For more information about Amazon Polly, see Using SSML in the Amazon Polly Developer Guide.