Twilio
Type ID: twilio · Kind: Action · Ports: 1 in, 1 out
Places an outbound voice call, speaks a list of prompts, then listens for a keypad digit as acknowledgement. Pauses the workflow until Twilio reports the outcome.
Credentials
twilio (Account SID, Auth Token)
Resources & operations
- Call (
call)- Make Call (
makeCall) - Place an outbound voice call
- Make Call (
Properties
| Property | Key | Type | Required | Default | Possible values | Applies when |
|---|---|---|---|---|---|---|
| Resource | resource | options | Yes | call | Call (call) | - |
| Operation | operation | options | Yes | makeCall | Make Call (makeCall) | resource = call |
| From | fromNumber | string | Yes | '' | Twilio caller phone number | resource = call, operation = makeCall |
| To | toNumber | string | Yes | '' | Recipient phone number to call | resource = call, operation = makeCall |
| Say List | sayList | array | Yes | [] | Prompts spoken in order once the call is answered, before listening for a keypad response | resource = call, operation = makeCall |
| No Response Say List | noResponseSayList | array | No | [] | Prompts spoken if the call is not answered or no digit is entered | resource = call, operation = makeCall |
| Positive Response Say List | positiveResponseSayList | array | No | [] | Prompts spoken when the pressed digit matches Positive Response | resource = call, operation = makeCall |
| Negative Response Say List | negativeResponseSayList | array | No | [] | Prompts spoken when a digit is pressed but does not match Positive Response | resource = call, operation = makeCall |
| Positive Response Digit | positiveResponse | number | Yes | 1 | The digit that counts as acknowledgement (e.g. 1 for "Press 1 to ACK") | resource = call, operation = makeCall |
| Speech Rate | speechRate | string | No | 100% | SSML prosody rate for spoken prompts (e.g. 85% for slower). A slower rate lengthens the call, which increases your Twilio bill. | resource = call, operation = makeCall |
| Record Call | record | boolean | No | false | Whether Twilio should record the call. Recording increases your Twilio bill. | resource = call, operation = makeCall |
Notes
- The node pauses after placing the call and resumes when Twilio calls back (digit pressed or call completed).
- Output:
{ ..., callSid, digits, ackResult, callStatus }, whereackResultispositive,negative, orno_response. - Say List needs at least one prompt.
- Requires the
PLATFORM_BACKEND_URLenvironment variable for Twilio's callback.