Send and receive global SMS, MMS, and chat messages from any app, and ensure deliverability using intelligent delivery features that Twilio's APIs provide.
It is important that all your customer phone numbers are saved in the E.164 standard.
If you use Twilio integrated with Blueshift, we can track:
- SMSes sent from a campaign journey
- SMSes delivered to a customer
- SMSes bounced
(messages might not be delivered to a customer in-cases such as: your customer's phone is switched off or it's out of network coverage area)
- Links clicked in an SMS
- Customers who unsubscribe/subscribe from marketing SMS
Note: You must first set up a webhook in Twillio so that Blueshift can receive unsubscribe/subscribe events.
Before you begin
Before you can set up integration with Blueshift, you must have your Twilio account set up.
Complete the following settings in Twilio before you set up integration with Blueshift:
Information required from Twilio for integration
- Sign in to your Twilio account.
- From the Dashboard, copy the Account SID and the Twilio phone number that you will use for the integration.
- Go to Account > Keys & Credentials > API keys & tokens and click Create API key.
- Copy the API key SID and API Secret. Ensure that you save the SID and Secret in a secure location since you cannot retrieve the Secret later.
- From the Dashboard, go to Messaging > Services. Create a Messaging Service and provide the Messaging Service SID or copy the Messaging Service SID of an existing service.
Automatic subscription management
When a customer responds to an SMS with an opt-out word (such as STOP, BLOCK, CANCEL, STOPALL, UNSUBSCRIBE, QUIT, or END), we automatically unsubscribe the customer from the SMS channel. Similarly, when a customer responds to an SMS with an opt-in word (START, YES, UNSTOP), we automatically subscribe the customer to the SMS Channel.
Automatic subscription management for the SMS channel is currently available only for Twilio. Subscribes and unsubscribes to the SMS channel are handled at customer level and we cannot attribute them to any template or campaign.
To handle such requests from your customers, complete the following steps:
- From the Dashboard, go to Messaging > Services and select the messaging service that you are using for the integration with Blueshift.
- In the Integration settings, for Incoming Messages, select Send a webhook and specify https://api.getblueshift.com/api/v1/messaging_events/a6903a6b-279e-4035-a001-7ae8426e65df as the REQUEST URL.
- Save this configuration.
Set up integration
To set up Twilio integration with Blueshift, complete the following steps:
- Sign in to the Blueshift app, and click Apps in the left navigation menu.
- Go to All Apps, search for, and select Twilio.
- You can also go to SMS Apps and select Twilio.
- Click Configure to view all the configured adapters.
- Click +ADAPTER to add an adapter.
- Add a Name for the adapter. If you have multiple adapters, the adapter name helps you to identify the integration.
- Provide the following details for integration that you saved from your Twilio account:
Field Description From You can either provide an alphanumeric short code (that corresponds to your brand) or the Twilio phone number. API Key SID Specify the API Key SID. API Secret Provide the API Secret. Account SID The account SID for your Twilio project. Auth Token Provide the authentication token if you have one. Messaging Service SID The messaging service SID from Twilio. Status callback URL Leave this field blank.
- Click Save to add the adapter.