Twilio Modify

Twilio Modify

In this article

Overview

Use this Snap to modify existing Twilio data objects.

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/Output

Type of View

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

 

 

  • Min:1

  • Max:1

  • Mapper Snap

  • Copy Snap

  • CSV Parser

  • JSON Parser

A document containing details of the entity or data object to modify a Twilio entity.

Output

Document

 

 

  • Min:0

  • Max:1

  • Mapper Snap

  • Copy Snap

  • XML Formatter

  • JSON Formatter

A document containing details of the modified Twilio entity or data object.

Snap Settings

Parameter Name

Data Type

Description

Default Value

Example 

Parameter Name

Data Type

Description

Default Value

Example 

Label

String

Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Twilio Modify

Twilio Modify Assistant

API object

String/Expression

Required. Select the API that you want to access in Twilio instance. This property provides a 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.
You can choose an entity from the suggestion list or provide a static value.  

Messages

Assistant

Entity SID

String/Expression

Required. Specify a unique ID for the entity that determines one specific resource under the given entity type.

Entity SID is required to perform the modification operation in most cases. However, an exception to this arises for entity types that can only be operated as a group rather than an instance, such as Actions of a Task under the Autopilot object. To re-program the actions that correspond to a task invoked during the dialogue, you must not provide Entity SID in this field.

None

SM191d756dfd987khlo345s

Required SID

Use this field set to specify 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 has a unique SID, and one assistant can have multiple tasks associated with it. To retrieve the record for one of the tasks, also provide the task's parent assistant SID in the Required SIDs table.

Click 

 to add a new row in this table and define the values accordingly.
This field set comprises the following fields:

  • SID name

  • SID value

SID name

String/Suggestion

Specify the name(s) of the parent SID(s) of the input Entity
The available entities are dynamically populated in the suggestion list according to the specified Entity.  

None

AssistantSid

SID value

String

Specify the SID value for the corresponding SID name chosen above.

None

UA12ab3478amkiu765dfnlp2309kloi657q

Connection details

Use this field set to configure the network connection parameters.

This field set contains the following fields:

  • Connection timeout

  • Maximum request attempts

  • Retry request interval

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

RequiredSpecify the time in seconds to wait before retrying the connection request.

0

3

Snap Execution

Drop-down list

Select one of the three following modes in which the Snap executes:

  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled. Disables the Snap and all Snaps downstream from it.

Execute Only

Validate & Execute