Skip to main content

Twilio Autopilot

With Twilio Autopilot modules in Make, you can create, update, retrieve, list, and delete:

  • assistants

  • tasks

  • samples

  • fields

To get started with Twilio Autopilot, create an account at twilio.com.

Connect Twilio Autopilot to Make

To connect Twilio Autopilot app, you need to obtain the Account SID and Auth Token values from your Twilio Autopilot account and insert them in the Twilio Autopilot module scenario.

  1. Log in to your Twilio Autopilot account.

  2. Copy the Account Token and Auth Token to a safe.

    twilio-autopilot-1.png
  3. Log in to your Make account, insert a Twilio Autopilot module scenario, and click the Add button next to the Connection field.

    twilio-autopilot-2.gif
  4. In the Connection name field, enter a name for the connection.

  5. In the Account Token and Auth Token fields, enter the details copied in step 2 and click Save.

You have successfully established the connection. You can now begin editing your scenario and adding more Twilio Autopilot modules. If your connection needs reauthorization at any point, follow the connection renewal steps here.

Assistants

You can create, update, retrieve, list, and delete assistants using the following modules.

Updates an assistant.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose details you want to update.

For field descriptions, see the Twilio Autopilot Assistants API reference.

Retrieves an assistant.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose details you want to retrieve.

Retrieves a list of assistants.

Connection

Establish a connection to your Twilio Autopilot account.

Limit

Set the maximum number of assistant Make will return during one execution cycle. The default value is 10.

Deletes an assistant.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID you want to delete.

Tasks

You can create, update, retrieve, list, and delete tasks using the following modules.

Updates a task.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose Task SID you want to update.

Task SID

Select or map the Task SID whose details you want to update.

For field descriptions, see the Twilio Autopilot Tasks API reference.

Retrieves a specific task.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose Task SID you want to retrieve.

Task SID

Select or map the Task SID whose details you want to retrieve.

Retrieves a list of tasks.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose tasks you want to list.

Limit

Set the maximum number of tasks Make will return during one execution cycle. The default value is 10.

Deletes a task.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose tasks you want to delete.

Task SID

Select or map the Task SID you want to delete.

Samples

You can create, update, retrieve, list, and delete samples using the following modules.

Retrieves a specific sample.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose samples you want to retrieve.

Task SID

Select or map the Task SID whose samples you want to retrieve.

Sample SID

Select or map the Sample SID whose details you want to retrieve.

Language

Select or map the language in which you want to retrieve.

Retrieves a list of samples.

Connection

Establish a connection to your Twilio Autopilot account.

Limit

Set the maximum number of samples Make will return during one execution cycle. The default value is 10.

For field descriptions, see the Twilio Autopilot Samples API reference.

Deletes a sample.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose samples you want to delete.

Task SID

Select or map the Task SID whose samples you want to delete.

Sample SID

Select or map the Sample SID you want to delete.

Fields

You can create, update, retrieve, list, and delete fields using the following modules.

Retrieves a specific field.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose fields you want to retrieve.

Task SID

Select or map the Task SID whose fields you want to retrieve.

Filed SID

Select or map the Field SID whose details you want to retrieve.

Retrieves a list of fields.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose fields you want to list.

Task SID

Select or map the Task SID whose fields you want to list.

Limit

Set the maximum number of fields Make will return during one execution cycle. The default value is 10.

Deletes a field.

Connection

Establish a connection to your Twilio Autopilot account.

Assistant SID

Select or map the Assistant SID whose fields you want to delete.

Task SID

Select or map the Task SID whose fields you want to delete.

Filed SID

Select or map the Field SID you want to delete.

Other

You can call APIs using the following module.

Performs an arbitrary authorized API call.

Connection

Establish a connection to your Zendesk Sell account.

URL

Enter a path relative to https://autopilot.twilio.com. For example, /v1/Assistants

Method

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of use - List Tasks

The following API call returns all tasks from your account.

URL: /v1/Assistants/{AssistantSid}/Tasks

Method: GET

twilio-autopilot-4.png

Matches of the search can be found in the module's Output under Bundle > Body > tasks

In our example 5 tasks were returned:

twilio-autopilot-3.png