Add text-to-speech to prompts - Amazon Connect

Add text-to-speech to prompts

You can enter text-to-speech prompts in the following 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 such as Amazon Polly Neural and Standard voices are free. You are charged only for using custom voices such as unique Brand 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 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.

    
                            The Amazon Connect virtual contact center instances page, the instance
                                alias.
  4. In the navigation pane, choose Flows.

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

How to add text-to-speech

  1. In a 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. For example, the following image shows Thank you for calling.

    
                            A message in the text-to-speech box.

    Or enter SSML, as shown in the following image:

    
                            A message formatted with SSML in the text-to-speech
                                box.

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.