Twilio Messages
Use this activity to perform operations, such as send a message or retrieve messages.
Settings
This tab has the following fields:
| Field | Required | Description |
|---|---|---|
| Twilio Connection | Yes | Twilio connection name to use when accessing the Twilio service.
If you have created multiple Twilio connections, select the one you want to use from the drop down menu for this field. |
| Action | Yes | Twilio message operation. Select the message operation you want to use. Currently, the following operations are supported:
Read Message By Id - Read the messages sent to a number on the basis of the Message SID. Read Messages - Read all messages matching filter criteria |
Input
This tab has the following fields:
| Action | Field | Required | Description |
|---|---|---|---|
| Read Message By Id | MessageId | Yes | SID of the message that has been sent to the Twilio number used to read the messages |
| Read Messages | To | No | Destination number where the message has been sent |
| From | No | Twilio number used to send message | |
| DateSent | No | Date on which the message was sent | |
| Send Message | From | Yes | Twilio number to be used to send message |
| To | Yes |
Destination number where message is to be sent Note: Multiple destination numbers are not supported. |
|
| Body | No | Text message. Must be configured if MediaUrl is not set | |
| StatusCallback | No | Status information is sent to the StatusCallback URL | |
| MediaUrl | No |
Image URL Must be configured if Body is not set. |
Output
This tab displays the activity output schema in a tree structure format. The output of an activity is displayed for informational purposes only and cannot be modified or altered. The information in this schema varies depending on the object and its action that you selected in the Configuration tab.
The properties that are displayed in the Output tab schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.
Loop
If you want this activity to iterate multiple times within the flow, enter an expression that evaluates to the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity does not iterate. For more information, see the Using the Loop Feature in an Activity topic in the TIBCO Flogo® Enterprise User's Guide.
