Convert text to speech with OpenAI
Having various types of messages in a bot conversation can significantly improve user engagement. You can convert text to audio and send it as an audio file message in a bot conversation. This can be done using the bot variables and OpenAI text-to-speech integration.
Step 1. Add and set up Open AI integration:
Navigate to the organization integrations section:

Add the Open AI integration:

Given the settings are correct, the status of the integration will become Active.
Step 2. Add bot variable of type Text to Speech:
Select the integration type: OpenAI Select the previously configured integration.
Step 3. Add a chat text of type Audio File to render the audio

Enable custom file URL and use the previously created variable, and adjust other settings as needed.