Twilio Voice Trigger
Trigger workflow when phone calls are received via Twilio Voice
Trigger workflow when phone calls are received via Twilio Voice
This is a webhook-based trigger. Configure the webhook URL in your external service to send events to TradingGoose.
Configuration
Twilio Account SID*
ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Your Twilio Account SID from the Twilio Console
Auth Token*
••••••••
Your Twilio Auth Token for webhook signature verification
TwiML Response
[Response][Say]Please hold.[/Say][/Response]
TwiML 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 Schema
Event Payload
callSidstringUnique identifier for this callaccountSidstringTwilio Account SIDfromstringCallertostringRecipient phone number (your Twilio number)callStatusstringStatus of the call (queued, ringing, in-progress, completed, etc.)directionstringCall direction: inbound or outboundapiVersionstringTwilio API versioncallerNamestringCaller ID name if availableforwardedFromstringPhone number that forwarded this calldigitsstringDTMF digits entered by caller (from <Gather>)speechResultstringSpeech recognition result (if using <Gather> with speech)recordingUrlstringURL of call recording if availablerecordingSidstringRecording SID if availablecalledstringPhone number that was called (same as callerstringPhone number of the caller (same as toCitystringCity of the called numbertoStatestringState/province of the called numbertoZipstringZip/postal code of the called numbertoCountrystringCountry of the called numberfromCitystringCity of the callerfromStatestringState/province of the callerfromZipstringZip/postal code of the callerfromCountrystringCountry of the callercalledCitystringCity 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 authenticationrawstringComplete raw webhook payload from Twilio as JSON string