Skip to content

Prompt

The Prompt component plays audio to callers as they move through a call flow. Use it to greet people, read out instructions, or hold them with music while the rest of the flow decides where to send them.

The component supports three kinds of prompt.

Prompt typeWhat it plays
Custom PromptAn existing custom prompt, or a new one you record from an extension or upload as an audio file.
Music on Hold (MoH)A hold-music track you have already saved on the system.
Text to Speech (TTS)Text you type, spoken back in the language and voice style you choose.
  1. Add the Prompt component to your call flow, then click it to open its settings.

    Opening the Prompt component to begin configuration

  2. Choose a prompt type and fill in its settings, following the relevant section below.

  3. Click Confirm in the bottom-right corner. The prompt you picked now shows on the component.

    The configured prompt shown on the component

Selecting one or more custom prompts

  1. Select Custom Prompt.

  2. Choose the prompt or prompts to play.

    • To use a prompt that already exists, pick it from the Prompt list.

    • To add a new one, click Record New to record from an extension, or Upload to add an audio file.

  3. Optional: to repeat the prompt(s) continuously, select Enable Loop Playback.

Selecting a saved hold-music track

  1. Select Music on Hold.
  2. Pick a saved track from the Music on Hold list.

Entering text and choosing a voice for text to speech

  1. Select Text to Speech.

  2. Enter the message and choose its voice style. You can write either static or dynamic text.

    • Static text: type the message straight into the Text field.

    • Dynamic text: type the message and drop in placeholders backed by variables, so the wording is built at call time. You can also set how long the system may take to generate the speech and where to send the caller if that limit is hit.

      Example:

      A dynamic text-to-speech message built from variables

    The generated speech is stored on the system and synced to PBX Settings > Voice Prompt > Custom Prompt.

  3. Optional: to control what happens when the speech takes too long to generate, select TTS Response Timeout, then attach the next components to the TTS Playback Success and TTS Response Timeout branches.

When a Prompt component uses text to speech, the system saves the outcome in a variable. Expression-aware components such as Condition can read that value and route the call accordingly.

VariableTypeDescriptionExample
$Prompt{index}.ttsResultStringThe text-to-speech outcome of the Prompt component: PromptTTSResult.Success means the text was converted and played to the caller; PromptTTSResult.Timeout means it was not generated in time, so the caller moved straight to the next component with no prompt.$Prompt1.ttsResult(STRING)=PromptTTSResult.Success

A Prompt component connects to one downstream component, or two when TTS Response Timeout is on (one for success, one for the timeout). You can connect any of the components below.

ComponentWhat it does
PromptPlays another audio prompt or text-to-speech message to the caller.
Business HoursRoutes calls to different destinations based on the time of day.
MenuOffers callers a set of options and routes on the DTMF (Dual-Tone Multi-Frequency, the touch-tone signal a phone keypad sends) digit they press.
User InputCollects DTMF digits from the caller, usually paired with Condition to route on what was entered.
LanguageSwitches the system-prompt language for the components that follow.
RecordStarts recording once the caller connects to another party, with optional notice prompts, or disables recording for a call that would otherwise be recorded.
Dial by NumberLets callers dial a number directly to reach their destination.
Dial by NameAn end component that lets callers reach a user by typing the first three letters of their name.
TransferAn end component that hands the caller to a set destination, with an optional prompt announcing the transfer.
Hang Up CallAn end component that disconnects the caller.
ConditionRoutes calls according to logical expressions.
LoopRepeats a group of components a set number of times or until a condition is met.
Internal Data OpsReads from and writes to the PBX’s built-in database. See Get Extension Presence Status, Set Extension Presence Status, Get Queue Agent, Get Queue Info, Get Agent Status, Set Agent Status, Get System Info, Get System Capacity, Get Extension Info, and Get Company Contact Info.
Email SenderSends email for real-time notifications, alerts, or user-specific information.
Database AccessRuns SQL (Structured Query Language, the language used to read and write database records) against a database mid-call to read or update data.
HTTP RequestSends HTTP requests to external servers to exchange data with third-party services.