BotDistrikt Documentation
  • 🟢Introduction
    • 👋Hello World
    • 🚀Quick Start
    • 🛠️Setup your Account
      • Register for BotDistrikt
      • Forgot Password
      • Chatbots Dashboard
      • Edit Profile
  • 📱Channels
    • Channels Overview
    • Website Chat
      • Website Chat Quick Start
      • Guest Users
    • Facebook Messenger
      • Import Existing Users
      • Facebook Chat Plugin
      • Facebook Checkbox Plugin
      • Facebook Private Replies
      • Facebook Ads Manager
    • Instagram
      • Import Existing Users
      • Instagram Story Mentions
    • Twitter
    • Skype
    • WhatsApp
      • Twilio WhatsApp Integration
    • Telegram
      • Telegram Commands
      • Telegram Groups
      • Telegram Channels
    • SMS
    • Google Assistant
    • WeChat
    • Other Channels
  • 🏆Features
    • Personality
    • Dashboard
    • Forms
    • Rules
      • Conditions
        • Message
        • User Attribute
    • Stories
      • Update Greeting and Fallback from Personality
    • Responses
      • Text
      • Cards
      • Images
      • Videos
      • Audios
      • Documents
      • Webhooks
      • Javascript Functions
    • Sources
      • Websites
      • Documents
      • Google Docs
      • Google Sheets
    • Users
      • Edit Users
      • Delete Users
      • Dear User
    • Inbox
      • Console
      • Messages
      • Reactions
      • Ratings
      • Clicks
      • Broadcast Records
      • Wrong Responses
    • Broadcasts
    • Settings
      • Tags
      • Audit Logs
      • Account
  • ⚙️How BotDistrikt Works
    • Interaction
    • Flow
    • Context
    • Engagement
    • Optimization
    • Artificial Intelligence
  • 🧠Artificial Intelligence
    • OpenAI
    • Vertex AI
    • Wit.ai
    • Dialogflow
      • Connecting to Dialogflow
      • Small Talk Module
        • Importing Responses
      • Multilanguage Support
  • 🧰Business Tools Integrations
    • Webhook
    • Zendesk
    • Chatbase
    • Google Docs
    • Google Sheets
    • Salesforce
  • API Reference
Powered by GitBook
On this page
  • Prerequisites
  • Create a Twilio Account
  • Enable the WhatsApp Sandbox
  • Setup

Was this helpful?

  1. Channels
  2. WhatsApp

Twilio WhatsApp Integration

PreviousWhatsAppNextTelegram

Last updated 10 months ago

Was this helpful?

By integrating Twilio WhatsApp API, the platform allows your bot to respond to WhatsApp messages directly, and automate customer care, sales, support, and other business functions.

Prerequisites

For the Twilio WhatsApp API Provider, we will need

  • An Account SID

  • Auth Token

  • A WhatsApp-enabled Number

When a user sends a message to your WhatsApp Enabled Number, your BotDistrikt bot will reply to them

Create a Twilio Account

You can set up a new Twilio Account . After logging in for the first time and setting up your details, you will be taken to the Dashboard page.

You will get your Account SID and the Auth Token from this page

New accounts come with $15 worth of credits, which you can use to purchase a phone number

Enable the WhatsApp Sandbox

Click on the Messaging tab and click on Overview > Try WhatsApp

Follow the instructions on this page

When your device is connected to the Sandbox, you will receive this message

After you have successfully completed the above steps, return to the Twilio Messaging > Try WhatsApp. You will see this step.

You are now ready to setup the Twilio WhatsApp API Provider on your BotDistrikt WhatsApp channel

Setup

We have our Account SID and Auth Token ready. We need to get the WhatsApp Enabled Number ready now.

On Twilio, click Sandbox Settings to get your WhatsApp Enabled Number.

On BotDistrikt, fill in all 3 fields:

  • An Account SID

  • Auth Token

  • A WhatsApp Enabled Number

For the WhatsApp Enabled number, make sure to remove the white spaces and add a whatsapp: prefix.

For example, if the number you copy from Twilio is +1 415 523 8886, The number you will need to key into BotDistrikt is whatsapp:+14155238886

Click Link to WhatsApp

When it is linked, take note of the When A Message Comes In and Status Callback endpoint URLs

Go Back to Twilio

Click Settings > WhatsApp Sandbox Settings and paste the respective endpoint URLs there

Click Save on Twilio

Your BotDistrikt bot is now connected to WhatsApp through Twilio!

📱
here
Twilio Console
Twilio WhatsApp Sandbox
BotDistrikt WhatsApp Integration
Whatsapp Chatbot Connected