Use audio in a Flow
A Flow controls when a caller hears each prompt and what happens next. Audio can be selected from the Audio File library, and a new file can also be imported directly while you are building the Flow.

Add a prompt
- Open Flow → Flow Editor and edit the required Flow.
- Add or edit the voice component that plays audio.
- In the component's audio section, choose Library to search your Audio Files and use one, Upload to drop or browse for a file (mp3, wav, ogg, flac, or webm, up to 5 MB), or Record to record one with your microphone. A new upload or recording needs a name before it is saved. Once an audio is chosen, Change picks another one.
- Connect the component to the next step, such as collecting keypad input, transferring the call, or ending the interaction.
- Save the Flow as a draft.
- Make a test call and listen to the entire path.
- Publish a new revision when the prompt and all branches behave correctly.
Audio imported from the Flow becomes a reusable Audio File. You can later preview and maintain it under Media → Audio File.
Audio or text to speech?
Use a recorded Audio File when pronunciation, tone, legal wording, or brand voice must remain consistent. Text to speech is useful for dynamic content and for prompts that change frequently.
Play a different audio file for each contact
A recorded prompt does not have to be the same for everyone. Each contact can carry the URL of its own audio file, and the Flow plays that file when it calls that contact. Typical uses are a message recorded by the contact's own account manager, or a recording in the contact's language.
- Ask your operator to add one or more text custom fields to your organization, for example
audio_url_1andaudio_url_2. See Customize Contact Fields. - Upload each recording under Media → Audio File and copy its URL (its Download link, or Copy Audio URL once the audio is chosen in a Flow node), or host the file elsewhere. The URL must start with
http://orhttps://and end in.wavor.mp3. - Store the URL in the contact's custom field, on the contact form, through a contact import, or with the Contacts API.
- In the Flow, choose text to speech on the voice component and insert the variable in the script, for example:
Hello, we have a message for you. {contact.audio_url_1}
When the script contains an audio URL, the call plays that audio file and ignores the rest of the text. No speech is synthesized, so no text-to-speech usage is billed for that prompt. If the script contains several audio URLs, only the first one is played.
The surrounding text acts as a fallback. When a contact's field is empty, the variable is replaced by nothing and the remaining text is spoken with the selected voice. Write that text so it makes sense on its own.
The same fallback applies when the audio file cannot be reached. Before playing it, the call checks that the URL answers within 2 seconds. If the file is missing, the URL is mistyped, or the host is too slow, the URL is dropped, the remaining text is spoken instead, and the call report shows an Audio URL Error entry with the URL that failed. That spoken fallback is billed as normal text-to-speech usage. When the file plays, the report entry for the component lists its audio_url.
This works in every Flow component that speaks a text-to-speech script, including the invalid-input prompt of the keypad input nodes. See Flow variables for the other values you can insert.
Audio URL requirements
A value is recognized as an audio URL only when it meets all of these rules. A value that does not is treated as ordinary text and read aloud by the text-to-speech voice, so a malformed URL is heard by the contact as a spelled-out address.
| Rule | Detail |
|---|---|
| Scheme | Starts with http:// or https://. |
| Format | The file name ends in .wav or .mp3 (upper or lower case). Other formats such as .ogg or .m4a are not recognized. |
| No spaces | The URL cannot contain a space. https://example.com/my file.wav is not recognized. Rename the file, or encode the space as %20. |
| Query string | An optional query string after the extension is allowed, for example .wav?token=abc. |
| Punctuation | A period, comma, or other sentence punctuation directly after the file name is ignored. Avoid placing punctuation directly after a query string, because it becomes part of the URL. Leaving a space after the variable is the simplest way to stay safe. |
| Call transfer confirmation | In the confirmation script of a Call Transfer node, the URL also cannot contain , { } [ ] or |. A URL with one of these characters is ignored there, and only the remaining text is spoken to the receiving agent. |
Audio files uploaded under Media → Audio File always meet these rules: the platform converts every upload to .wav and replaces spaces and special characters in the file name. The rules matter mostly for files hosted elsewhere.
Test before publishing
Check that the prompt starts without a long silence, is loud enough, and does not clip. Test timeout and invalid-input branches as well as the normal path. If the Flow is multilingual, verify that each branch uses the correct language recording.
Continue with Build a call or message flow for the other Flow components and publishing workflow.