SMS via Twilio

What is Twilio

Twilio is a third-party provider that enables you to send SMS messages to your clients. Nexovate provides an easy way to use this service within your Nexovate apps.

Sending SMS with Twilio

Nexovate has no built-in SMS service. SMS messages are sent from your own Twilio account, which is set up below.

Setup your Twilio account

By creating a Twilio account, you will be able to create a virtual phone number from which you will be able to send SMS messages. These cost credits that are to be bought on Twilio, not Nexovate.

  1. Go to Twilio

  2. Sign up and create a Twilio account

  3. Within your Twilio account, you can create multiple accounts (e.g. one for testing, one for each sub-company, etc.)

  4. Create a new account

    1. Enter the name, and select Twilio for the type

    2. Select your Billing Country and click Create new account

    3. Select the different options that match your needs

      • For the Twilio product, select SMS

      • For How to build with Twilio, select With no code at all

      • For your goal, select 3rd party integrations

    4. Click on Get Started with Twilio

  5. You account is now created, and you should arrive on your Dashboard

  6. Go to Phone Numbers ‣ Manage ‣ Buy a number

  7. Buy a number (it is a paying service, but you should have received some credits to start with)

  8. Go back to bottom of the Dashboard page

  9. Copy the Account SID and Auth Token

Important

In case of a testing account, you will only be able to send SMS to phones that you have verified within Twilio’s console.

Note

Sending SMS to some countries (such as the US or Canada) might require a registration. This can only be done by you, and not by Nexovate. Please check out Twilio’s Help Center.

Setup Nexovate to use Twilio

  1. Install the Twilio SMS module (sms_twilio)

  2. In Nexovate, go to Settings ‣ General Settings ‣ Contacts ‣ Send SMS, select Send via Twilio option, and save your change.

  3. Go back to that option, and click Configure Twilio Account

  4. Paste the copied credentials accordingly

  5. Click on Reload numbers

  6. Your newly bought phone number should appear in the list

  7. You can use the Test Number field to send an SMS

You can have multiple numbers (for instance once per country, or one per campaign), in that case, you can reorder the numbers. By default, when sending an SMS to a client, Nexovate will select the number whose country is the same as the client. If none matches, Nexovate will use the first number available from the list respecting the order you have chosen.