WhatsApp Setup using Twilio

1. Introduction

WhatsApp Messenger is a freeware, cross-platform messaging, and Voice over IP service. The fastest-growing messaging platform and Enagti allows you to use this platform for your bot. Engati has its integration with Clickatell and you can deploy your Engati bot on Whatsapp using this integration.

2. Steps to Configure Twilio.

i)  Login to your Twilio account.

Document image

ii) Select the Project you are working on.

Document image

There are three steps to be followed for configuring the bot with your Twilio number. 

2.1 Configuring the URLs.

Kindly Navigate to Programmable SMS -> Whatsapp -> Senders or you can follow this link

2.1.1. Select the number and click on Configure. 

Document image

2.1.2 Copy the “ Inbound Webhook URL” and “ Message Status Webhook URL “ from the Engati Portal and paste them here.

Document image

When a message comes in -> Inbound Message Webhook URL

Status Callback URL -> Message Status Webhook URL

Document image

2.1.3 Copy the Whatsapp number and paste it into the Engati Portal. 

Document image

2.2 Steps to configure the Authorization token and Account SID.

2.2.1) Open the console Dashboard or you can access it via https://www.twilio.com/console .

You will now be able to see the “Auth Token” and “Account SID”. 

Document image

2.3 Steps to configure “ Client URL”. 

2.3.1) Navigate to Programmable SMS -> Learn and Build -> Build, or you can access it via https://www.twilio.com/console/sms/getting-started/build.

You will be able to find a URL beside “Curl”, copy this URL into the Engati Portal. 

Document image

Note: You can get the Auth token and SID from here too. 

2.4 Setup on Engati Portal

2.4.1 Copy the above details into the Portal and save them, you will receiver a toaster message of  “ Message details being saved successfully”.

Once done you can test your bot on Whatsapp by sending a “Hi”, “hello”, “hey message”.

Document image

In case you have any issues you can mail us at support@engati.com

Updated 02 Jun 2022
Did this page help you?