Send Twilio Voice Message

Plays a text-to-speech message on an active Twilio voice call, optionally gathering the caller's reply. Use it to drive a voice conversation from a flow.

What it does

  • Speaks the supplied message to the caller using Twilio text-to-speech.
  • Can gather the caller's keypad or speech input, or simply play a message.
  • Can hang up the call when needed.

Inputs

NameTypeDescription
MessageStringTwilio Text-To-Speech Message
Keypad OnlyOptional BooleanRestrict gathered input to keypad (DTMF) digits only
TimeoutOptional NumberSeconds to wait for the caller's input before continuing
Use Experimental Speech ModelOptional BooleanUse Twilio's experimental speech-recognition model
HintsOptional String
Gather User InputOptional BooleanIf true, interrupt and gather user input (default). Set it to false to only say a message.
HangupOptional BooleanIf set to true, hang up the call, no-op otherwise.
External IdStringTwilio Call Sid
Account SidStringTwilio Account Sid
Flow IdStringDigitalGenius Flow Id
External Account KeyStringDigitalGenius Flow External Account Key
EnvironmentStringDigitalGenius Environment Possible values: EU, US, Dev, QA.

Outputs

NameTypeDescription
SuccessBooleanAction result

Notes

  • It acts on an existing Twilio call identified by the External Id (Call Sid) and Account Sid.
  • Set Gather User Input to false to only play a message; set Hangup to true to end the call.

API reference