How to Connect OpenClaw to WhatsApp (Step-by-Step Guide)

Connecting OpenClaw to WhatsApp requires the WhatsApp Business API via Meta for Developers — it's the most complex of the three integrations. You need a Meta Business Account, a dedicated phone number, a webhook endpoint with HTTPS, and proper security configuration. For client-facing AI support, WhatsApp is the best channel because everyone already uses it.

WhatsApp is the most natural way to interact with your OpenClaw AI assistant. You message it like you'd message anyone else — and it responds with whatever you've configured it to do.

No extra apps. No browser tabs. Just open WhatsApp and chat.

Why WhatsApp?

What you need before you start

⚠️ Important: WhatsApp doesn't allow unofficial bots the way Discord or Telegram do. The setup requires the WhatsApp Business API, which has specific requirements and approval steps. This is the most complex of the three chat platform integrations.

Step 1: Set up WhatsApp Business API access

WhatsApp messaging for bots works through the WhatsApp Business API (also called the Cloud API):

  1. Go to Meta for Developers
  2. Create a Meta Business Account if you don't already have one
  3. Create a new App → select Business type
  4. Add the WhatsApp product to your app
  5. Navigate to WhatsApp → Getting Started
  6. Note your Phone Number ID and WhatsApp Business Account ID
  7. Generate a Permanent Access Token (or use the temporary one for testing)

💡 Tip: The Meta developer portal can feel overwhelming. If you want business outcomes without DIY WhatsApp plumbing, start with one scoped workflow instead.

Step 2: Configure a webhook

WhatsApp sends incoming messages to your server via webhooks:

  1. In the Meta developer portal, go to WhatsApp → Configuration
  2. Set the Callback URL to your OpenClaw server's webhook endpoint (e.g., https://your-domain.com/webhook/whatsapp)
  3. Set a Verify Token — a random string you create for security
  4. Subscribe to the messages webhook field

Your server needs to be accessible from the internet for this step. If you're running locally, you'll need a reverse proxy (like Cloudflare Tunnel or Tailscale Funnel) to expose the webhook endpoint securely.

Step 3: Connect to OpenClaw

OpenClaw configuration is done via the config file or the onboard CLI wizard — there's no web UI for this step.

  1. Open your OpenClaw config file (typically ~/.openclaw/openclaw.json), or run the openclaw onboard wizard
  2. Add your WhatsApp credentials: Phone Number ID, Business Account ID, and Access Token
  3. Configure the webhook verify token to match what you set in Meta
  4. Restart the OpenClaw service (systemctl restart openclaw or re-run the process)

💡 Tip: The exact config fields depend on your OpenClaw version. Check the OpenClaw documentation for your version's channel configuration format.

Step 4: Test the connection

  1. Open WhatsApp on your phone
  2. Send a message to your AI's WhatsApp number
  3. You should receive a response within a few seconds

If it doesn't work, check these common issues:

Troubleshooting

No response at all

"This message couldn't be delivered"

Response is delayed (30+ seconds)

Messages received but garbled formatting

Security considerations

WhatsApp integration requires more security attention than Discord or Telegram:

WhatsApp vs Discord vs Telegram for OpenClaw

WhatsApp Discord Telegram
Setup complexity Hard (Business API required) Easy (bot token) Easy (BotFather)
Client familiarity Highest (everyone uses it) Lower Medium
Media support Photos, voice, files Photos, embeds, files Photos, voice, files
Cost Free for low volume Free Free
Best for Client-facing support Team/community use Personal/business use

Related reading

Need help?

WhatsApp integration is the most complex of the three chat platforms. Most non-technical businesses should start with a fixed-fee workflow (reports, inbox, follow-ups) rather than full channel plumbing.

Book a free 15-minute fit call — bring one recurring task.