How to set up Twilio Integration on Haptik bot?
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
- Getting Started
- Bot Building
- Conversation Design
- Developer Guides
- Agent Setup
- Analytics & Reporting
- Troubleshooting Guides
- Release Notes
Twilio is a Customer Engagement Platform, that helps businesses with communication solutions. It provides a lot of Communication APIs like SMS, voice, video, IP calls, etc. It makes sending and receiving SMS easy. You can send and receive text messages with APIs powering more than 100 billion messages a year.
You can customize outbound campaigns on SMS, where you can send promotional messages. You can also set up a business number on Twilio where your users can send queries.
Prerequisites for using Twilio Integration
- A registered account on Twilio Cloud Communications. You can check the pricing here. The signup process includes adding a phone number and getting it verified, after which you will be issued another phone number from Twilio.
- A bot on Haptik. You can learn more about creating a bot here.
How to set up?
Step 1: Log in to Twilio Console, and select your account, as shown below.
Step 2: Next, select Phone Numbers > Manage > Active Numbers, from the left navigation bar. In Active Numbers, click on the active phone number, as shown.
Step 3: Once you have clicked on the active phone number, navigate to Configure > Messaging as shown.
Step 4: Under Messaging, you will have to make certain changes.
- In CONFIGURE WITH OTHER HANDLERS, select Webhooks as shown.
- In A MESSAGE COMES IN section, select Webhooks, then you need to add the Haptik Callback URL in the text box, and select HTTP POST from the dropdown, as shown.
Step 5: Once you are done with the above settings, you need to open your bot on Haptik. Here, navigate to Business Manager > Channels > Platform Deployments, and under Platform dropdown select Twilio, as shown.
Step 6: Next, you need to turn the Active toggle button on, as shown.
Step 7: You need to populate the Twilio Password field with appropriate data. For this, navigate to Twilio Console, and copy the Auth Token, as shown.
Step 8: Paste the Auth Token in the Twilio Password field, and Save it.
Once you have reached here, your Integration is complete, and you can test your bot.