Twilio Delete

Twilio Delete

In this article

Overview

Use this Snap to delete existing data objects from 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/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 delete a Twilio entity.

Output

Document

Binary

Binary or Document

  • Min:0

  • Max:1

  • Mapper Snap

  • Copy Snap

  • XML Formatter

  • JSON Formatter

A document containing details indicating whether the delete operation is successful or not.

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 Delete

Twilio Delete

API object

String/Expression

Required.  Select the API that you want to delete in Twilio instance. This property provides a set of business objects defined by Twilio.

Programmable SMS

None

Entity

String/Expression

Required. Select an entity that belongs to the corresponding API object chosen above. 
For example, Messages entity belongs to the Programmable SMS API object.  On selecting Programmable SMS API object, the available entities are dynamically populated in the suggestion drop-down list.
You can choose an entity from the suggestion list or type a valid entity manually.

Messages

Assistant

Entity SID

String/Expression

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

None

SMb5c5dcjklp475e863fj52f821u

Required SIDs

Use this field set to add parent entity SID(s) necessary for accessing the requested resources, if there are 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, you must provide the task's parent assistant SID in the Require 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/Expression/Suggestion

Specify the name of the parent SID of the input Entity.  The available entities are dynamically populated in the suggestion list based on the specified Entity. You can choose an entity from the suggestion list or enter a static value.    

None

AssistantSid

SID value

String

Specify the value of the referred SID name.

None

UA12ab3656hjhd098ksvou946hgfd56

Connection details

Use this field set to configure the network connection parameters.

This field set contains the following fields:

  • Connection timeout

  • Number of retries

  • Retry interval (seconds)

Connection timeout

Integer

Required. Specify the connection timeout duration in seconds.

30

60

Maximum requests attempts

Integer

Required. Specify the maximum number of connection attempts in case of a failure or time-out.

0

6

Retry request interval 

Integer

Required Specify 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