Twilio Create
In this article
Overview
Use this Snap to create data objects in Twilio.
Prerequisites
Valid Twilio Account SID
Auth Token corresponding to the Account SID
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations and Known Issues
None.
Snap Input and Output
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
|---|---|---|---|---|
Input | Document
|
|
| A document containing details of the entity or data object to create a Twilio entity. |
Output | Document
|
|
| A document containing details indicating whether the create operation is successful. |
Snap Settings
Parameter Name | Data Type | Description | Default Value | Example |
|---|---|---|---|---|
Label | String | N/A | Twilio Create | |
API object | String/Expression | Required. Select the API that you want to access in Twilio instance. This drop-down contains APIs (set of business objects) defined by Twilio. | Programmable SMS | Autopilot |
Entity | String/Expression/Suggestion | Required. Select an entity that belongs to the corresponding API object chosen above, (the resources to retrieve for the selected API object). | Messages | Assistant |
Required SIDs | Use this field set to define the parent entity String Identifiers (SIDs) necessary for accessing the requested resources, if any. Twilio's API designs follow a hierarchical pattern to indicate relationships among entities. For example, you can build an autopilot assistant to answer incoming calls with a task model. In this case, the 'Task' entity is considered as a property of 'Assistant' entity. Each 'Assistant' is instantiated with a SID, and one assistant can have many tasks with it. To retrieve the record for one of the tasks, you must provide the task's parent assistant SID in the Require SIDs table. | |||
SID name | String/Expression/Suggestion | Specify the name of the parent SIDs of the input Entity. | None | AssistantSid |
SID value | String | Specify the SID value for the corresponding SID name chosen above. | None | UA12ab387lbn432nbvl987fde9as349 |
Connection details | Use this field set to configure the network connection parameters. This field set contains the following fields:
| |||
Connection timeout | Integer | Required. Specify the connection timeout duration in seconds. | 30 | 60 |
Maximum request attempts | Integer | Required. Specify the maximum number of connection attempts if the connection fails or is timed-out. | 0 | 6 |
Retry request interval | Integer | Required. Specify the time in seconds to wait before retrying the connection request. | 0 | 3 |
Snap Execution | Dropdown list | Select one of the three following modes in which the Snap executes:
| Execute Only | Validate & Execute |
Troubleshooting
Error | Reason | Resolution |
|---|---|---|
The input entity does not exist. | An invalid entity has been entered. | Select a valid entity from the suggestion drop-down list. |
One or more Required SIDs are missing. | The Required SIDs are mandatory for this Endpoint. | Check your settings under the Required SIDs table and provide values accordingly. |
You have an empty value in the SID name/value field for the Required SID. | The SID name/value field must not be empty for Required SIDs. | Enter a valid SID name/value for Required SID. |