TextIt

The TextIt modules allow you to monitor, create, update, retrieve, and delete the contacts, and labels in your TextIt account.

Getting Started with TextIt

Prerequisites

  • A TextIt account

In order to use TextIt with Make, it is necessary to have a TextIt account. If you do not have one, you can create a TextIt account at textit.in.

Note

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

To connect your TextIt account to Make you need to obtain the API Key from your TextIt account and insert it in the Create a connection dialog in the Make module.

1. Go to the TextIt API page and log in to your TextIt account.

2. Copy the API Key to your clipboard.

61f27c7d7e814.png

3. Go to Make and open the TextIt module's Create a connection dialog.

61f27c7eaa522.gif

4. In the Connection name field, enter a name for the connection.

5. In the API Token field, enter the API token details copied in step 2, and click Continue.

The connection has been established.

List Contacts

Gets all contacts.

Connection

Establish a connection to your TextIt account.

Limit

Set the maximum number of contacts Make should return during one execution cycle.

Get a Contact

Gets a contact.

Connection

Establish a connection to your TextIt account.

Contact UUID

Select the Contact UUID whose details you want to retrieve.

Start Contacts Down a Flow

Starts contacts down a flow.

Connection

Establish a connection to your TextIt account.

Flow

Select the flow whose contacts you want to start

Start With

Select or map the option to start the flow with.

Restart Participants

Select whether the participants were restarted in the flow.

Parameters

(Optional) Enter the details for the custom fields displayed by the module.

Create a Contact

Creates a contact.

Connection

Establish a connection to your TextIt account.

Name

Enter the contact's name.

Language

Select or map the contact's preferred language.

URNs

Add the required URNs such as contact's Facebook, Twitter.

Groups

Add the contact to the groups. You can add multiple groups.

Params

(Optional) Enter the details for the custom fields displayed by the module.

Update a Contact

Modifies a contact.

Connection

Establish a connection to your TextIt account.

Name

Enter the contact's name.

Language

Select or map the contact's preferred language.

URNs

Add the required URNs such as contact's Facebook, Twitter.

Groups

Add the contact to the groups. You can add multiple groups.

Delete a Contact

Removes a contact.

Connection

Establish a connection to your TextIt account.

Contact UUID

Select or map the Contact UUID you want to delete.

List Labels

Gets all labels.

Connection

Establish a connection to your TextIt account.

Limit

Set the maximum number of labels Make should return during one execution cycle.

Get a Label

Gets a label.

Connection

Establish a connection to your TextIt account.

Label UUID

Select the Label UUID whose details you want to retrieve.

Create a Label

Creates a label.

Connection

Establish a connection to your TextIt account.

Name

Enter a name for the label.

Update a Label

Modifies a label.

Connection

Establish a connection to your TextIt account.

Label UUID

Select the Label UUID whose labels you want to update.

Name

Enter a new name for the label.

Delete a Label

Removes a label.

Connection

Establish a connection to your TextIt account.

Label UUID

Select or map the Label UUID you want to delete.

Note

You do not have to add the webhooks in the TextIt as it is automatically done for you once you add and save an instant trigger module to your scenario.

Universal Trigger

Triggers when the selected event occurs.

Webhook Name

Enter a name for the webhook.

Connection

Establish a connection to your TextIt account.

Resthook

Select or map the hook to which you want to connect to.

Make an API Call

Performs an arbitrary authorized API call.

Connection

Establish a connection to your TextIt account.

URL

Enter a path relative to https://api.textit.in/api. For example: /v2/contacts.json.

Note

For the list of available endpoints, refer to the TextIt API Documentation.

Method

Select the HTTP method you want to use:

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've already done that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Labels

The following API call returns all the labels from your TextIt account:

URL: /v2/labels.json

Method: GET

61f27c810def5.png

Matches of the search can be found in the module's Output under Bundle > Body > results. In our example, 5 labels were returned:

61f27c8236faf.png