twilio.sms.send action
This trigger action will send a SMS using the Twilio messaging service.
Action
This trigger action is found under the Twilio heading.
Canvas
When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.
The left routing point (red) is the failure route. This route will be taken if there is an error during execution.
The right routing point (green) is the success route. This route will be taken if action executes successfully.
Form
Parameters
The phone number format (for use in the From and To phone number fields) supported by Twilio is E.164. Please refer to https://www.twilio.com/docs/glossary/what-e164 for more information.
Name | Type | Required | Descriptions |
---|---|---|---|
From | String |
The sender's phone number. If left empty, the AEP defaults to the Default From Phone Number found in the Twilio Configuration Group. It can be a phone number associated to the event trigger: $(event.sms.from) or $(event.sms.to). Use of an event trigger phone number in both From and To should be avoided as it has the potential to cause an infinite feedback loop. |
|
To | String | Yes | The recipient's phone number(s). It can be a phone number associated to the event trigger:$(event.sms.from) or $(event.sms.to). Use of an event trigger phone number in both From and To should be avoided as it has the potential to cause an infinite feedback loop. The provided string may also be the key of a (single) notification group, or individual phone numbers represented in CSV format. |
Body | String | Yes | The body of the SMS message.It can be the body of an sms associated to the event trigger: $(event.sms.body). |