Chatbot WhatsApp Integration (Twilio)

Integrate your chatbot with WhatsApp Business using Twilio, enabling customers to chat with you on the world's most popular messaging app.

What is WhatsApp Integration?

This integration allows your chatbot to:

Customers text your WhatsApp business number, and your chatbot responds automatically.

Prerequisites

Note: Only whatsapp business account can be connected to AI chatbots.

Step-by-Step Integration

Step 1: Set Up Twilio Account

  1. Go to twilio.com and create a free account

  2. Complete phone number verification

  3. Navigate to MessagingWhatsApp Sandbox or WhatsApp Business

  4. For free/trial: Use WhatsApp Sandbox (limited but functional)

  5. For production: Complete WhatsApp Business verification

Step 2: Get Your WhatsApp Number and API Keys

In Twilio:

  1. Navigate to AccountAPI Keys & Tokens

  2. Copy your Account SID

  3. Copy your Auth Token

  4. Navigate to Phone Numbers and note your WhatsApp-enabled number

Step 3: Connect to Markleyo

  1. In Markleyo, go to AI Chatbots → Edit your bot

  2. Click "Channels" tab

  3. Click WhatsApp Logo

  4. Paste your Twilio information:

Step 4: Configure Webhook

In Markleyo and Twilio:

  1. Once, you save the settings in Whatsapp form, Markleyo will generate a webhook URL for you, Copy it.

  2. Go back to your Twilio console.

  3. In the WhatsApp settings, paste the Webhook URL provided by Markleyo AI. All done!

Using WhatsApp

For Customers:

For You:

WhatsApp Integration Features

Supported Features:

Best Practices:

  1. Respect Message Limits: Don't spam; WhatsApp penalizes over-messaging and links.

  2. Response Time: Keep response times fast (WhatsApp shows if message was read)

  3. Personalization: Use customer names and previous interaction context

Important Notices: