# Twilio SMS Setup

**KONNEKTIVE PRESENTS TWILIO!**

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

**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.**

***

### Sign Up and Upgrade Account

**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 Konnetive 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FCdenSc4CCNsQPhufW5UX%2Fimage.png?alt=media&#x26;token=90cb44f9-f53c-4e12-8b95-5ab92d0e4c17" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FBk0DNQ5KRPba9M63LBeP%2Fimage.png?alt=media&#x26;token=9b5787af-9292-4e8b-a649-8eb77b555c0e" alt=""><figcaption></figcaption></figure>

### **Buy a Phone Number**

**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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FnkMw7jt2Z2RumBmvEz2e%2Fimage.png?alt=media&#x26;token=c9708dd9-328f-45ac-bb08-4003c025d055" alt=""><figcaption></figcaption></figure>

* Select **# Phone Numbers**

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FELBM3jHhqZa5sNOiSCxr%2Fimage.png?alt=media&#x26;token=0b266136-9384-4080-aace-bb5a4a589436" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FNkoDejaQADddWtXzNO6a%2Fimage.png?alt=media&#x26;token=dde6a47f-8ce3-41cf-8a2d-771e49b01fd8" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FGYp3qcMGaoPihW5KjwBU%2Fimage.png?alt=media&#x26;token=005a0848-41da-4854-9bf4-47dbeb808cc4" alt=""><figcaption></figcaption></figure>

***

### **Activate Twilio Plugin in Konnektive**

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FmcIaPLuMqrxxVWEGRoZw%2Fimage.png?alt=media&#x26;token=c5ce77f2-d80a-4479-920e-b74d12a11cc4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FOVTEbBMUkrjv9FyAvZft%2Fimage.png?alt=media&#x26;token=31e864ce-9183-450d-9ab0-1f670d822768" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FmT5QyUBvezUza0mjr60g%2Fimage.png?alt=media&#x26;token=a0464b41-0bdc-49df-83ca-746d2fccd6c8" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FZRktQzQ1sxC5fvyg4xX7%2Fimage.png?alt=media&#x26;token=d7ad93d5-2e39-4871-919a-db86f1ccb896" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FP4UxF71i6i2UMwSyN2XS%2Fimage.png?alt=media&#x26;token=32963ecf-022b-40b5-93ba-3239ec620b74" alt=""><figcaption></figcaption></figure>

***

### Phone Number

**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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2F3UpLp9q3idtGvHb9kx7p%2Fimage.png?alt=media&#x26;token=444ad7c2-2be9-49e1-aafa-4a9c9c7de8cd" 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

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FkMxnoOAdg77HuIxHMOYQ%2Fimage.png?alt=media&#x26;token=225cf33c-b28a-417c-807e-7ed8db4c63ec" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2Fb8gsku6rZaE0clcXURkW%2Fimage.png?alt=media&#x26;token=7d151a6b-b742-441c-97c3-e23994939c5a" alt=""><figcaption></figcaption></figure>

***

### Add Twilio to a Campaign

**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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2Fp1o3fYCJ7knLUKnbiPHv%2Fimage.png?alt=media&#x26;token=ad45c7ab-5e68-40b3-a851-3dc8fd8c1541" 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2Fvn24VY91GFLuX304yOB3%2Fimage.png?alt=media&#x26;token=54b81cb7-d109-4371-8a49-8c48bc6d9082" alt=""><figcaption></figcaption></figure>

#### **Setup and send a SMS Text To Partial Customers**

* 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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2F2ZfxYepmGhMHBpm0cSQz%2Fimage.png?alt=media&#x26;token=8b59f835-4bbc-4e0b-ae08-c2c8d07c8f9a" alt=""><figcaption></figcaption></figure>

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

#### **Create, Draft and Edit a SMS Auto-Responder**

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2Fv7xI5e75DxG1TZqxudco%2Fimage.png?alt=media&#x26;token=e0b62019-cdbf-49d5-bd08-7677bee1a2d5" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FERmdWZU5nwQkUhXgLvQk%2Fimage.png?alt=media&#x26;token=8f3481bb-ab94-4f56-a7c0-85c5a0584998" alt=""><figcaption></figcaption></figure>

#### **Send a Test SMS**

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://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FdBPSFMKAgk5Sg8qTncuf%2Fimage.png?alt=media&#x26;token=221d05d9-c35b-49ce-a6f4-c965d7999d20" alt=""><figcaption></figcaption></figure>
