OpenAI Text-to-speech

This activity plays a message using one of the OpenAI text-to-speech voices. If the speech is collected from the caller, it will wait for the user to respond and return the response from the user in the activity response output variable..

Table 1. OpenAI Text-to-speech action - Inputs
Parameters Description

Connection

Drop-down list of OpenAI connections.

Voice

Select one of the supported voices to be used for the speech.

Message

Specify the message to be converted to speech.

CollectSpeech

Set to True to wait for a response from the caller and return that value in the response. Set to False to just play the message.

Table 2. OpenAI Text-to-speech action - Outputs
Parameters Description

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

CollectedSpeech

If CollectSpeech is set to True, this field represents the response received from the caller.