> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/crm/plugins/sms/twilio-sms-setup.md).

# Twilio SMS Setup

**CHECKOUTCHAMP PRESENTS TWILIO!**

**BUILD THE FUTURE OF COMMUNICATIONS AND ENGAGE CUSTOMERS LIKE NEVER BEFORE.**

{% hint style="info" %}
**Notice- Twilio requires a country code and a Phone Number in order to send out SMS messages. Make sure if you are using a lander you are collecting the billing information on the lead page.**
{% endhint %}

* [Sign Up and Upgrade Account](#checkoutchamptwiliosmssetup-signupandupgradeaccount)
* [Buy a Phone Number](#checkoutchamptwiliosmssetup-buyaphonenumber)
* [Activate Twilio Plugin in CheckoutChamp](#checkoutchamptwiliosmssetup-activatetwiliopluginincheckoutchamp)
* [Phone Number](#checkoutchamptwiliosmssetup-phonenumber)
* [Messaging Service](#checkoutchamptwiliosmssetup-messagingservice)
* [Add Twilio to a Campaign](#checkoutchamptwiliosmssetup-addtwiliotoacampaign)
  * [Setup and send a SMS Text To Partial Customers](#checkoutchamptwiliosmssetup-setupandsendasmstexttopartialcustomers)
  * [Create, Draft and Edit a SMS Auto-Responder](#checkoutchamptwiliosmssetup-create-draftandeditasmsauto-responder)
  * [Send a Test SMS](#checkoutchamptwiliosmssetup-sendatestsms)

***

### Sign Up and Upgrade Account <a href="#checkoutchamptwiliosmssetup-signupandupgradeaccount" id="checkoutchamptwiliosmssetup-signupandupgradeaccount"></a>

**Sign up for your Twilio Account** [**here**](https://www.twilio.com/try-twilio)**.**

* Once you set up your **Trial Account** you will need to **Upgrade your Account** to fully use the CheckoutChamp SMS features. (Link Below)

[**Click here**](https://www.twilio.com/console/billing) **to upgrade your Twilio Account**

* In Twilio navigate to the **Billing** page.&#x20;

Go to **Home> Billing>** *Click* on **Upgrade to a Full Account** Button. Or click the **"UPGRADE"** shortcut option located at the top of the Twilio page.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FABMvqxjqlH50HzEB7xBa%2Fimage.png?alt=media&amp;token=d6227c0a-d92e-4936-af6d-89dcb1a422c6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F65867M3CvEIUXP7VFNEg%2Fimage.png?alt=media&amp;token=6b830ef3-2b03-49e5-95fc-15383cff62b1" alt=""><figcaption></figcaption></figure>

***

### **Buy a Phone Number** <a href="#checkoutchamptwiliosmssetup-buyaphonenumber" id="checkoutchamptwiliosmssetup-buyaphonenumber"></a>

**Notice: You will apply this Phone Number to the campaign you want to assign it to in the SMS Auto-Responders.**

* In Twilio on the Left side on the Navigation Bar *click* on the **All Products and Services** Button (circle with three dots)

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FBbRMEvbIWzYR8hzsBWP5%2Fimage.png?alt=media&amp;token=48315d6a-246b-4772-8132-e0018be2b70d" alt=""><figcaption></figcaption></figure>

* Select **# Phone Numbers**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FjGfW00WGaKv6YdD1wuCN%2Fimage.png?alt=media&amp;token=5fba6bc4-b883-4a45-bad5-e04119af9931" alt=""><figcaption></figcaption></figure>

* *Click* on **Buy a Number**&#x20;

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FmRMa5HCTmvw8NHrqBQON%2Fimage.png?alt=media&amp;token=f199b83b-1651-495f-a1ca-57dd22591e07" alt=""><figcaption></figcaption></figure>

* Select the Drop down to search by **Number (area code) or Location (City, State)** this will generate **Phone Numbers** you can select from.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FEQwTmyqVpcVVaalnYRh1%2Fimage.png?alt=media&amp;token=5a2f5b40-b1f8-497a-aec4-b9d5b49f5681" alt=""><figcaption></figcaption></figure>

***

### **Activate Twilio Plugin in CheckoutChamp** <a href="#checkoutchamptwiliosmssetup-activatetwiliopluginincheckoutchamp" id="checkoutchamptwiliosmssetup-activatetwiliopluginincheckoutchamp"></a>

**Locate the Twilio Plugin under Admin> Plugins> SMS**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FstJkJvNYh8JxVyQmarlt%2Fimage.png?alt=media&amp;token=7557a7f0-11e7-48bd-b308-2a86a8cfd413" alt=""><figcaption></figcaption></figure>

* Click on the **Twilio** Plugin and press the *Green* **"Activate"** Button.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FC4bxRsaIFEcAVWpXDKbo%2Fimage.png?alt=media&amp;token=b0196e9d-ce83-46c5-9b3b-4e5ae264c13a" alt=""><figcaption></figcaption></figure>

* Click on the *Green* **"Visit Website"** Button to go sign up for Twilio or [**click here**](https://www.twilio.com/try-twilio) to go to Twilio’s website<br>
* Once the Twilio account is created, Click on the *Green* **"Activate"** Button.&#x20;
* Fill in your credentials from Twilio then press the *Green* **Connect** Button.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F0lBDMVfRkxbeEYBYlogo%2Fimage.png?alt=media&amp;token=b1bfdc4f-9f03-497f-91bf-f8b14791107d" alt=""><figcaption></figcaption></figure>

To access your Twilio account settings and credentials Log into Twilio and go to **Dashboard> Settings> General>** *Click* on the Red **"Authenticate to Make Changes"** Button. Enter in your password to view account settings.

* **Click on** [**this link**](https://www.twilio.com/console/project/settings) **to go straight to Twilio General Settings Page**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FNKJzjyGroOSzh43m4H0h%2Fimage.png?alt=media&amp;token=95c6fe19-d3e5-453e-a560-d679dc4b43e0" alt=""><figcaption></figcaption></figure>

In Twilio you have two options for sending Text messages. You can add **Phone Number** (Buy a Number) or a **Messaging Service**:

* **AccountSID**
  * This is required.
* **AuthToken**
  * This is required.
* **SenderType**
  * Choose “Phone Number” or “Messaging Service”
* **Sender**
  * Enter in Phone Number (Free Trial # or Buy a Number)
* **FriendlyName**
  * Copy and Paste the **FriendlyName** associated with Phone Number.

**Notice: Friendly name must be in the same format as it is displayed in Twilio.**

* **ValidatePhoneNumber**

Enabling this will have the phone number checked by Twilio.\
For more information about their validation: <https://www.twilio.com/docs/lookup/tutorials/validation-and-formatting>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F8t3EHjnIfXrVILNOr5vY%2Fimage.png?alt=media&amp;token=b3b24bf2-d586-434c-b1e1-c0d61a5023d7" alt=""><figcaption></figcaption></figure>

***

### Phone Number <a href="#checkoutchamptwiliosmssetup-phonenumber" id="checkoutchamptwiliosmssetup-phonenumber"></a>

**To add a&#x20;*****Phone Number*****&#x20;to your Twilio account, click** [**here**](https://www.twilio.com/console/phone-numbers/incoming)**.**

* Go to **Admin> Plugins>** *click* on the Twilio plugin. *Click* on the **Green Plus Button** to add another Instance for additional Phone Numbers.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Fh7hizOzRzJ4HLK2RnyVu%2Fimage.png?alt=media&amp;token=dee24fe5-48ae-49b0-9fd0-5ec6365fdf13" alt=""><figcaption></figcaption></figure>

**Note: If you add more than one phone number you will also need to add an additional instance for each number in the Twilio Plugin.**

***

### Messaging Service <a href="#checkoutchamptwiliosmssetup-messagingservice" id="checkoutchamptwiliosmssetup-messagingservice"></a>

**To Add a&#x20;*****Messaging Service*****&#x20;to your Twilio account, click** [**here**](https://www.twilio.com/console/sms/services)**.**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FDAnfArTHKgoNM1bAa0Pb%2Fimage.png?alt=media&amp;token=ce511b9a-8a4c-4c31-ac2e-3048bbd1c974" alt=""><figcaption></figcaption></figure>

* Enter the **Service ID** *"SID"* in the "Sender" field in the Twilio Plugin. **Please see image below:**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FbpOE3lp1SECj3S1mjeIj%2Fimage.png?alt=media&amp;token=c012143b-8f34-41d3-a884-7839244b9aa7" alt=""><figcaption></figcaption></figure>

***

### Add Twilio to a Campaign <a href="#checkoutchamptwiliosmssetup-addtwiliotoacampaign" id="checkoutchamptwiliosmssetup-addtwiliotoacampaign"></a>

**Now that you are all set up, it is time to add Twilio to a Campaign.**

* Add SMS to a Campaign. Go to **CRM> Campaigns>** *Scroll* down to the **SMS Auto-Responders** section.&#x20;

**See image Below:**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FV3yu9seTeUGEKZ3pzDHE%2Fimage.png?alt=media&amp;token=a522bdb0-a11c-47e3-a4b9-d87c87b32d3d" alt=""><figcaption></figcaption></figure>

* Click on the **Green Plus Button** to add a **SMS Auto Responder**:
* **Event Name-** Select the *SMS Autoresponder* type from the drop down.
* **Campaign Product Product-** Select the *Campaign Product* you want to apply it to.
* **Billing Cycle Number-** Pick the Billing cycle # you want the SMS to send on.
* **Validity Period-** This is the amount of seconds Twilio will attempt to send messages that failed on the first Attempt. After the time elapse it will stop sending the message.
* **Sender -** Specify the Twilio SMS Plug In Friendly Name you would like used for the specific auto-responder.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FRbraTLS5gbSJJA1iQnuX%2Fimage.png?alt=media&amp;token=3c032f5f-0b6a-4d3d-ab30-e81519794ca9" alt=""><figcaption></figcaption></figure>

#### **Setup and send a SMS Text To Partial Customers** <a href="#checkoutchamptwiliosmssetup-setupandsendasmstexttopartialcustomers" id="checkoutchamptwiliosmssetup-setupandsendasmstexttopartialcustomers"></a>

* Go to **CRM >** *Select* the **Campaign** that the **Partial Customer** is attached to.&#x20;
* Edit **Campaign**.
* Scroll down to **SMS Auto-Responders** section.
* Click on the *Green* **Plus** Icon to **Create SMS Auto-Responder** for **Partial Customers**.
* From the **Event Name** drop down, scroll down and *select* **Partial Order**
* **Campaign Product Product-** Select the *Campaign Product* you want to apply it to.
* **Validity Period-** This is the amount of seconds Twilio will attempt to send messages that failed on the first Attempt. After the time elapse it will stop sending the message.
* Once selected, a **Send After** box will appear. Set the # (amount) of **Minutes** or **Days** you want the SMS Text to be sent to the customer.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FueifaYe0qk4T7w4YM9Gl%2Fimage.png?alt=media&amp;token=e4cef9c6-a9c6-427c-8d4c-dd17519f7166" alt=""><figcaption></figcaption></figure>

* *Click* the *Green* **Create** Button to save these settings.

#### **Create, Draft and Edit a SMS Auto-Responder** <a href="#checkoutchamptwiliosmssetup-create-draftandeditasmsauto-responder" id="checkoutchamptwiliosmssetup-create-draftandeditasmsauto-responder"></a>

* Once created *click* on the *Blue* **Edit Icon** located next to the SMS.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FnoIxwgbZxWLheObsuj8V%2Fimage.png?alt=media&amp;token=95734aaf-deac-463a-a52b-7942336005ba" alt=""><figcaption></figcaption></figure>

* **Create a Draft.** *Click* the Blue **Update** Button to save.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FezEV4wOcT7kZh8TrQWt6%2Fimage.png?alt=media&amp;token=62028de3-c570-4d6e-9b68-a5081844b868" alt=""><figcaption></figcaption></figure>

#### **Send a Test SMS** <a href="#checkoutchamptwiliosmssetup-sendatestsms" id="checkoutchamptwiliosmssetup-sendatestsms"></a>

If using a **Trial Account** you will need to **Verify Caller Id** before sending and receiving a Test SMS. You can only send a Test SMS to number(s) that are **Verified**. (See image below)

* **Send a Test SMS**. Enter the Phone Number then click the Red **Send Message** Button.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F0ojIc5W6tjiMbYTLluWM%2Fimage.png?alt=media&amp;token=5c3410a9-1593-4b83-8b57-27dd4b871a3d" alt=""><figcaption></figcaption></figure>
