Convert Text to Speech with OpenAI

Modified on Tue, 30 Jan at 10:59 PM

To transcribe speech using the chatbot builder, initially, link OpenAI in the 'Integration' segment. Refer to the documentation on how to integrate with OpenAI. After establishing the connection, proceed with the following steps:

  1. Retrieve the prompt.
  2. Use a 'Get User Data' block to acquire the audio file for conversion to text. Save it in a designated custom field, as illustrated below.

Configure OpenAI Action

Configure OpenAI for 'Convert Speech to Text':

  • Choose the audio input (select the custom field where the audio file is stored).
  • Save the output in a separate custom field.

Refer to the image below for guidance.

Click inside the "Action #1" Flow and proceed as indicated in the image below:

After setting up actions for OpenAI, proceed as shown below:

Section 3: Apply Output Custom Field in a Text Block

To utilize the converted text, follow these steps:

  1. Choose a text block.
  2. Input the output from the custom field.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article