Twilio Voice

Available Twilio Voice triggers for automating workflows

Twilio Voice provides 1 trigger for automating workflows based on events.

Triggers

Twilio Voice Webhook

Trigger workflow when phone calls are received via Twilio Voice

Configuration

ParameterTypeRequiredDescription
accountSidstringYesYour Twilio Account SID from the Twilio Console
authTokenstringYesYour Twilio Auth Token for webhook signature verification
twimlResponsestringNoTwiML instructions to return immediately to Twilio. Use square brackets instead of angle brackets (e.g., [Response] instead of <Response>). This controls what happens when the call comes in (e.g., play a message, record, gather input). Your workflow will execute in the background.

Output

ParameterTypeDescription
callSidstringUnique identifier for this call
accountSidstringTwilio Account SID
fromstringCaller's phone number (E.164 format)
tostringRecipient phone number (your Twilio number)
callStatusstringStatus of the call (queued, ringing, in-progress, completed, etc.)
directionstringCall direction: inbound or outbound
apiVersionstringTwilio API version
callerNamestringCaller ID name if available
forwardedFromstringPhone number that forwarded this call
digitsstringDTMF digits entered by caller (from <Gather>)
speechResultstringSpeech recognition result (if using <Gather> with speech)
recordingUrlstringURL of call recording if available
recordingSidstringRecording SID if available
calledstringPhone number that was called (same as "to")
callerstringPhone number of the caller (same as "from")
toCitystringCity of the called number
toStatestringState/province of the called number
toZipstringZip/postal code of the called number
toCountrystringCountry of the called number
fromCitystringCity of the caller
fromStatestringState/province of the caller
fromZipstringZip/postal code of the caller
fromCountrystringCountry of the caller
calledCitystringCity of the called number (same as toCity)
calledStatestringState of the called number (same as toState)
calledZipstringZip code of the called number (same as toZip)
calledCountrystringCountry of the called number (same as toCountry)
callerCitystringCity of the caller (same as fromCity)
callerStatestringState of the caller (same as fromState)
callerZipstringZip code of the caller (same as fromZip)
callerCountrystringCountry of the caller (same as fromCountry)
callTokenstringTwilio call token for authentication
rawstringComplete raw webhook payload from Twilio as JSON string

On this page