WhatsApp channel — let customers chat on WhatsApp
Connect a WhatsApp number so customers can message your chatbot from their phone.
Updated 2 Mar 2026
How it works
When a customer sends a WhatsApp message to your number, Pivra's AI replies using your chatbot's knowledge base — exactly like the web widget, but on WhatsApp. Lead capture, pricing queries, booking links — all work the same way.
Supported providers:
- Meta (WhatsApp Business API) — for high volume (via Meta Business Suite)
- Twilio — simpler setup, pay-as-you-go (~$0.005–$0.008/message), ideal for small businesses
WhatsApp channel is available on Business plan and above.
Connecting WhatsApp (self-serve)
Go to Dashboard → WhatsApp → Connect WhatsApp and choose your provider.
Option A — Twilio (recommended for small businesses)
Twilio is easier to set up than Meta and doesn't require business verification for testing.
Step 1: Get a Twilio WhatsApp number
- Create a Twilio account
- Go to Messaging → Senders → WhatsApp Senders
- For testing, use the Twilio Sandbox (no approval needed — free)
- For production, register a WhatsApp-enabled number (requires Meta business verification via Twilio's flow)
Step 2: Connect in Pivra
- Dashboard → WhatsApp → + Connect WhatsApp
- Select Twilio tab
- Enter:
- Account SID — from Twilio Console → Account Info
- Auth Token — same location
- Twilio Phone Number — in E.164 format, e.g.
+61480020798
- Click Connect WhatsApp
- A success panel appears with your webhook URL and verify token — copy the webhook URL
Step 3: Paste the webhook URL into Twilio
- In Twilio Console → Messaging → Settings → WhatsApp Sandbox (or your sender)
- Set "When a message comes in" to the webhook URL shown in Pivra:
https://api.pivra.ai/api/whatsapp/webhook/twilio - Method: POST
- Save
Testing with the Twilio Sandbox
- From your phone, send the Twilio sandbox opt-in message (format:
join <keyword>— shown in your Twilio sandbox settings) - Then send any question to the sandbox number — your chatbot replies
- Check Dashboard → Conversations to see the WhatsApp thread
Option B — Meta (WhatsApp Business API)
For businesses that need high volume or already have a Meta Business account.
Prerequisites
- A verified Meta Business Suite account
- A phone number not already registered on WhatsApp
Step 1: Create a WhatsApp Business app
- Go to Meta for Developers → Create App → Business
- Add the WhatsApp product
- Set up a phone number in the WhatsApp settings panel
- Get your Phone Number ID and create a permanent System User Access Token in Meta Business Manager
Step 2: Connect in Pivra
- Dashboard → WhatsApp → + Connect WhatsApp
- Select Meta tab
- Enter:
- Phone Number ID — from Meta Developer Portal → App → WhatsApp → API Setup
- WhatsApp Business Account ID (optional)
- System User Access Token
- Click Connect WhatsApp
- Copy the webhook URL from the success panel
Step 3: Configure the webhook in Meta
In Meta Developer Portal → App → WhatsApp → Configuration:
- Callback URL: the webhook URL shown in Pivra (
https://api.pivra.ai/api/whatsapp/webhook/meta) - Verify token: the verify token shown in Pivra after connecting
- Subscribe to:
messages
Managing your channels
After connecting, each channel appears in the WhatsApp dashboard with:
- Provider badge (Meta or Twilio)
- Message stats (received / sent)
- Webhook URL with a copy button — useful if you need to reconfigure the webhook
- Enable/Disable toggle
- Remove button
Troubleshooting
| Issue | Fix |
|---|---|
| Bot doesn't reply | Confirm the webhook URL in Twilio/Meta matches exactly what Pivra shows |
| "Signature verification failed" | Check TWILIO_AUTH_TOKEN or WHATSAPP_APP_SECRET env var matches your provider credentials |
| Bot replies with wrong chatbot's answers | Verify the phone number in your channel config matches your sender exactly |
| Sandbox messages not received | For Twilio sandbox, make sure you've joined first (join <keyword>) |
| WhatsApp channel not visible | This feature requires the Business plan — check your billing page |
Was this helpful?
If you have questions or suggestions, email us at support@pivra.ai .