Skip to main content
Send message with Twilio
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Send a message using Twilio. See documentation for advanced configuration details.

Application

  • Twilio

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 attached

  • A media link provided is not accessible

  • MMS message is over 1600 characters in length

  • Invalid “From” number has been provided

Requirements

  • N/A

Did this answer your question?