Send a message using Twilio. See documentation for advanced configuration details.
Application
Inputs (what you have)
| Name | Description | Data Type | Required? | Example |
|---|
| To | The recipient's phone number or channel address including country code | Text (Short) | Yes | |
| From | The sender's Twilio phone number or channel address including country code or the messaging service ID | Text (Short) | Yes | |
| Message | The text content of the message | Text (Long) | Yes | |
| Message type | Single SMS messages are truncated to 160 characters. Overall max message length is 1600 characters | Pre-defined Choice List | Yes | |
| Default country code | If no country code is provided for the “To” number then default to this country code | Number | No | |
| Media links | The URL(s) of media to include in the message content. jpeg, jpg, gif, and png file types are supported. The media size limit is 5 MB for supported file types and 500kb for other types | List of Links | No | |
Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.
Outputs (what you get)
| Name | Description | Data Type | Required? | Example |
|---|
| Message SID | The unique identifier of the sent message | Text (Short) | Yes | SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
| Message status | The status of the sent message | Text (Short) | Yes | queued |
| Message link | The URL of the sent message | Link | Yes | /2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Messages/SMXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json |
| Error code | If an error occurred, the code of the error | Text (Short) | Yes | |
| Error message | If an error occurred, the error message | Text (Long) | Yes | |
Outcomes
| Name | Description |
|---|
| Success | This status is selected in the event that a message was successfully sent. |
| Unsuccessful | This status is selected in the event of the following scenario:The message was not able to be sent to the provided phone number or channel address |
| Impossible to Complete | This status is selected in the event of the following scenario:More than 5MB of supported files or 500kb of unsupported file types have been attachedA media link provided is not accessibleMMS message is over 1600 characters in lengthInvalid “From” number has been provided |
Requirements