OpenClaw WhatsApp Automation: Replies, Booking, and Lead Routing

OpenClaw WhatsApp automation connects your AI agent to WhatsApp so it can respond to messages, qualify leads through natural conversation, book appointments, send reminders, and handle customer support — all without you touching your phone. WhatsApp has 3 billion+ users and 98% open rates, making it the highest-engagement business channel that most businesses completely ignore for automation. OpenClaw connects through the WhatsApp Business API (not your personal number — that'll get you banned). Once set up, your agent reads incoming messages, understands intent using your chosen AI model (Claude, GPT-4o, or others), and responds in your brand's voice based on your persona.md configuration. Real estate agents use it for instant listing responses. Coaches use it for discovery call booking. E-commerce stores recover abandoned carts through it. The setup takes about 20 minutes if you already have OpenClaw installed, plus you'll need a WhatsApp Business API account through a provider like Twilio or 360dialog. One limitation: WhatsApp's 24-hour messaging window means you can only initiate conversations using pre-approved templates.

Your customers are on WhatsApp. Your competitors aren't automating it. That's your advantage — and OpenClaw (used by 194+ businesses) makes it possible with a free, open-source AI agent that connects to the Maton Gateway.

OpenClaw AI mascot for WhatsApp and messaging automation

Why Does WhatsApp Automation Matter for Business?

3B+

Active Users

WhatsApp is the world's most-used messaging platform. Your customers are already there.

98%

Open Rate

Compare that to 20% for email. WhatsApp messages actually get read.

90%

Read Within 3 Min

Speed matters for lead response. WhatsApp delivers near-instant engagement.

3x

Higher Conversion

Businesses using WhatsApp automation see 3x higher conversion rates vs. email.

What Can OpenClaw Automate on WhatsApp?

Not basic chatbot scripts. Real AI that understands context, tone, and intent.

AI Auto-Responses

OpenClaw reads incoming WhatsApp messages, understands intent, and responds naturally. Not canned scripts — actual AI-generated replies based on your business context and FAQ knowledge base.

Lead Qualification

When a new contact messages you, OpenClaw asks qualifying questions conversationally. It scores leads based on responses and routes hot prospects to you immediately while nurturing the rest.

Appointment Scheduling

OpenClaw checks your calendar and offers available slots directly in WhatsApp. Contacts book without leaving the chat. Confirmations and reminders sent automatically.

Automated Reminders

Appointment reminders, payment due dates, delivery updates, and follow-ups — all sent at the right time via WhatsApp where they get 98% open rates.

Customer Support

Handle common support questions 24/7. OpenClaw resolves FAQs instantly and escalates complex issues to your team with full conversation context attached.

Order Updates

Send order confirmations, shipping tracking, delivery notifications, and post-purchase follow-ups through WhatsApp. Customers get updates where they actually see them.

How Do You Set Up WhatsApp Automation?

From zero to automated WhatsApp in about 30 minutes. Here's the process.

Step 1: Set Up OpenClaw

~20 min

Install OpenClaw.ai and complete the base configuration. Our workshop walks you through setting up WhatsApp automation step-by-step.

Step 2: Connect WhatsApp Business

~10 min

Link your WhatsApp Business API account through a supported provider (Twilio, 360dialog, or Meta). OpenClaw handles the connection setup.

Step 3: Define Auto-Responses

~15 min

Tell OpenClaw how to handle common message types in plain English. It learns your business context and generates appropriate responses.

Step 4: Configure Lead Qualification

~10 min

Set up qualifying questions and scoring rules. OpenClaw routes leads based on their answers — hot leads get instant alerts, warm leads get nurtured.

Step 5: Test & Go Live

~10 min

Send test messages to verify everything works. Check auto-responses, lead routing, appointment booking, and escalation paths. Then launch.

How Do You Connect WhatsApp to OpenClaw via QR Pairing?

QR pairing is the fastest way to connect your WhatsApp number to OpenClaw for development and testing. For production use, switch to the WhatsApp Business API.

Step 1: Start the Pairing Process

After installing OpenClaw, run the WhatsApp pairing command. OpenClaw uses the multi-device protocol (no phone needs to stay online after pairing).

Terminal — Start QR pairing
$ openclaw whatsapp pair
🔗 OpenClaw WhatsApp Bridge v2.4.1
📱 Generating QR code...

▄▄▄▄▄▄▄ ▄▄  ▄▄▄▄▄▄▄
█ ▄▄▄ █ ██▄ █ ▄▄▄ █
█ ███ █ ▄▄▄ █ ███ █
█▄▄▄▄▄█ ▄ █ █▄▄▄▄▄█
 ▄▄   ▄▄██▄  ▄ ▄▄ ▄
██▄█▄▄▄  █▄█▄▄█ ██▄
▄▄▄▄▄▄▄ █▄▄▄▄█▄▄█▄█

📲 Scan this QR with WhatsApp:
   Phone → Settings → Linked Devices → Link a Device

⏳ Waiting for scan... (expires in 60s)

Step 2: Scan and Confirm

Open WhatsApp on your phone, go to Settings → Linked Devices → Link a Device, and scan the QR code. You'll see a confirmation in terminal:

Terminal — Successful pairing
✅ WhatsApp paired successfully!
📱 Account: +1 (555) 123-4567
🔑 Session stored: ~/.openclaw/whatsapp/session.json
📊 Status: Connected (multi-device)

💡 Your phone can go offline — OpenClaw maintains
   the connection independently via multi-device protocol.

Next steps:
  openclaw whatsapp status    # check connection
  openclaw whatsapp test      # send a test message
  openclaw whatsapp policy    # configure access policy
QR Pairing vs Business API
QR pairing is great for development and small-scale use, but has limitations: sessions can expire, no template message support, and Meta may flag high-volume usage. For production businesses handling 50+ conversations/day, use the WhatsApp Business API through a BSP (Business Solution Provider) like Twilio, 360dialog, or MessageBird. The setup guide covers both approaches.
Keep Your Session Alive
Run openclaw whatsapp keepalive as a background service to prevent session timeouts. On Linux, use systemd; on macOS, use launchd. The session file at ~/.openclaw/whatsapp/session.json persists across restarts.

How Do You Configure WhatsApp Access Policies?

Control who can interact with your OpenClaw WhatsApp agent. Three modes let you scale from testing to full production.

Pairing Mode

Only contacts you've explicitly paired can interact. Best for initial testing.

Default for new installs. Zero risk of unexpected messages.

Allowlist Mode

Specific phone numbers you approve. Best for beta testing with real customers.

Add numbers via CLI or config file. Recommended for most businesses starting out.

Open Mode

Anyone who messages your number gets an AI response. Full production mode.

Requires rate limiting and quality monitoring. Use with Business API.

openclaw.json — WhatsApp access policy configuration
{
  "messaging": {
    "whatsapp": {
      "enabled": true,
      "access_policy": "allowlist",
      "allowlist": [
        "+15551234567",
        "+15559876543",
        "+447911123456"
      ],
      "auto_respond": true,
      "response_delay_ms": 1500,
      "escalation": {
        "enabled": true,
        "keywords": ["human", "agent", "help"],
        "notify": "+15551234567"
      },
      "rate_limit": {
        "max_messages_per_contact_per_hour": 20,
        "max_new_conversations_per_day": 100
      }
    }
  }
}
Terminal — Managing your allowlist
# Add a contact to the allowlist
$ openclaw whatsapp allow +15551234567
✅ Added +15551234567 to allowlist

# Remove a contact
$ openclaw whatsapp revoke +15551234567
✅ Removed +15551234567 from allowlist

# List all allowed contacts
$ openclaw whatsapp list
📋 Allowlist (3 contacts):
  +15551234567  (added 2026-03-01)
  +15559876543  (added 2026-03-05)
  +447911123456 (added 2026-03-12)

# Switch access policy
$ openclaw whatsapp policy open
⚠️  Open mode: ALL incoming messages will get AI responses.
    Make sure rate limiting is configured.
    Confirm? (y/N): y
✅ Access policy changed to: open

WhatsApp Business vs Personal Number: Which Do You Need?

You need a WhatsApp Business account for automation. Personal accounts will get banned. Here's a detailed comparison of your options.

FeaturePersonal WhatsAppWhatsApp Business AppWhatsApp Business API
Automation allowed
API access
Template messages
Multi-agent support
OpenClaw integrationQR only
Rate limitsN/ALowTiered (1K–Unlimited)
Business profile
Catalog support
CostFreeFree$0.005–0.08/convo
Best forPersonal useSolo testingProduction automation
Do Not Automate a Personal Number
Meta actively detects and bans personal accounts used for automation. Bans are often permanent with no appeal. If you're currently using a personal number, convert it to WhatsApp Business first (Settings → Switch to Business Account). You cannot use the same number for both personal and business simultaneously.
BSP Providers for the Business API
You don't need to apply directly to Meta for API access. Business Solution Providers (BSPs) handle onboarding: Twilio (most popular, pay-per-message), 360dialog (flat rate, EU-hosted), MessageBird (omnichannel), and Meta Cloud API (free tier, direct from Meta). OpenClaw works with all of them through the Maton Gateway webhook system.

What Are Meta's Rate Limits and Rules for WhatsApp Automation?

Violating Meta's policies means account suspension. These are the rules every WhatsApp automation must follow.

Messaging Tiers and Rate Limits

TierConversations / 24hHow to ReachTypical Business
Tier 1 (New)1,000Default for new accountsSmall / startup
Tier 210,000High quality rating + volumeGrowing business
Tier 3100,000Sustained quality at scaleEnterprise
UnlimitedNo capConsistent quality + Meta reviewLarge enterprise

Quality rating is based on user feedback. If recipients block or report you, your rating drops and Meta can restrict your account. OpenClaw includes built-in quality monitoring — run openclaw whatsapp quality to check your current status.

The 24-Hour Conversation Window

Meta divides WhatsApp messaging into two categories with different rules:

Customer-Initiated (Free Window)

When a customer messages you first, you have a 24-hour window to reply with any content — no template needed, no per-message cost beyond the conversation fee. OpenClaw auto-replies within seconds.

Business-Initiated (Template Required)

Messaging a customer first (or after 24h) requires a pre-approved template message. Templates must be submitted to Meta for review. OpenClaw manages template submission and selection automatically.

Rules That Get You Banned
  • Sending messages without opt-in consent
  • Using unapproved templates for outbound messages
  • High block/report rates (keep under 2%)
  • Sending to purchased contact lists
  • Automated bulk marketing outside of approved templates
  • Using personal account numbers for business automation
openclaw.json — Rate limit configuration to stay safe
{
  "messaging": {
    "whatsapp": {
      "rate_limit": {
        "max_messages_per_contact_per_hour": 20,
        "max_new_conversations_per_day": 100,
        "cool_down_after_block_ms": 86400000,
        "template_daily_limit": 500
      },
      "quality_monitoring": {
        "enabled": true,
        "alert_on_quality_drop": true,
        "pause_on_low_quality": true,
        "min_quality_rating": "medium"
      }
    }
  }
}

3 Real WhatsApp Automation Examples with OpenClaw

These are production-ready automations you can build in under an hour. Each includes the OpenClaw command, the conversation flow, and the config needed.

Example 1: Lead Qualification Bot

When a new contact messages, OpenClaw qualifies them with 3-4 conversational questions, scores the lead, and routes hot prospects to your sales team instantly.

OpenClaw natural language command
openclaw whatsapp skill add lead-qualifier \
  --trigger "new_contact" \
  --prompt "When a new contact messages, greet them warmly and ask:
    1. What's your business type? (agency, e-commerce, SaaS, other)
    2. How many team members do you have?
    3. What's your biggest bottleneck right now?
    4. What's your monthly budget for automation tools?
    Score them: budget >$500/mo AND team >5 = hot lead.
    Hot leads: send to +15551234567 immediately with summary.
    Warm leads: send pricing PDF and book a demo link.
    Cold leads: add to nurture sequence with weekly tips."
Example conversation flow
[Customer]: Hi, I saw your ad about WhatsApp automation
[OpenClaw]: Hey! 👋 Welcome — glad you reached out.
            Quick question: what type of business are you running?
            (agency, e-commerce, SaaS, or something else?)

[Customer]: We're a digital marketing agency

[OpenClaw]: Nice! Agencies are crushing it with automation.
            How many people are on your team?

[Customer]: About 12 people

[OpenClaw]: Solid team size. What's your biggest time-killer
            right now? Client comms, reporting, lead gen...?

[Customer]: Honestly lead gen and follow-ups eat our whole day

[OpenClaw]: That's exactly what automation fixes. Last Q —
            what's your monthly budget for tools like this?

[Customer]: Probably around $800/month

[OpenClaw]: Perfect. You're a great fit. I'm connecting you
            with Sarah from our team right now — she'll have
            a custom demo ready for you in 10 minutes.

→ [INTERNAL: Hot lead alert sent to +15551234567]
→ [INTERNAL: Lead score: 92 — Agency, 12 team, $800 budget]

Example 2: Appointment Booking

Connect your calendar (Google Calendar, Calendly, or Cal.com) and let customers book appointments directly through WhatsApp. OpenClaw handles availability checking, booking confirmation, and reminders.

OpenClaw appointment skill setup
openclaw whatsapp skill add appointment-booker \
  --trigger "intent:book_appointment" \
  --calendar "google:your@email.com" \
  --prompt "When someone wants to book an appointment:
    1. Check available slots for the next 5 business days
    2. Offer 3 time options that match their preference
    3. Confirm the booking and send a calendar invite
    4. Send a reminder 24h before and 1h before
    Available services: Consultation (30min), Demo (45min),
    Strategy Session (60min)"
Example conversation flow
[Customer]: I'd like to schedule a demo
[OpenClaw]: Of course! I have these slots available this week:

            📅 Tuesday Mar 17 — 10:00 AM or 2:30 PM
            📅 Wednesday Mar 18 — 9:00 AM or 11:00 AM
            📅 Thursday Mar 19 — 3:00 PM

            Which works best for you? The demo takes about 45min.

[Customer]: Wednesday at 11 works

[OpenClaw]: ✅ You're booked!

            📋 Demo — 45 minutes
            📅 Wednesday, March 18 at 11:00 AM EST
            📍 Zoom link: [auto-generated]

            I'll send you a reminder tomorrow morning and
            1 hour before. See you there! 🎯

→ [INTERNAL: Google Calendar event created]
→ [INTERNAL: Reminder scheduled: Mar 17 11:00 AM, Mar 18 10:00 AM]

Example 3: FAQ Auto-Responder

Feed OpenClaw your FAQ document, knowledge base, or website content and it answers customer questions instantly. It knows when to escalate to a human.

OpenClaw FAQ responder setup
# Load your FAQ knowledge base
openclaw whatsapp skill add faq-responder \
  --trigger "all_messages" \
  --knowledge ./docs/faq.md ./docs/pricing.md ./docs/policies.md \
  --prompt "Answer customer questions using ONLY the knowledge base.
    Rules:
    - Be concise (2-3 sentences max per answer)
    - If the answer isn't in the knowledge base, say so honestly
    - Include a follow-up question to keep the conversation going
    - If someone asks to speak to a human or is frustrated,
      immediately transfer to the support team
    - Track common unanswered questions for weekly review"

# Test it
openclaw whatsapp test --message "What are your business hours?"
Example conversation flow
[Customer]: Do you offer refunds?
[OpenClaw]: Yes! We have a 30-day money-back guarantee on all
            plans — no questions asked. Just email
            support@example.com or reply here and we'll
            process it within 48 hours.

            Is there something specific that's not working
            for you? I might be able to help fix it.

[Customer]: The integration with Shopify keeps breaking
[OpenClaw]: I'm sorry about that! That sounds frustrating.
            Let me connect you with our technical team —
            they can look at your Shopify integration
            directly.

            🔄 Transferring you to a support specialist now.
            They'll have your conversation history.

→ [INTERNAL: Escalated to support queue]
→ [INTERNAL: Logged unanswered Q: "Shopify integration issues"]
→ [INTERNAL: Notified support@example.com with context]
Knowledge Base Best Practices
Keep your FAQ knowledge base in Markdown files in your OpenClaw project directory. OpenClaw re-indexes on every change. Structure it with clear headings (## Pricing, ## Shipping, ## Returns) so the AI can find answers quickly. Most businesses see 80%+ of WhatsApp questions answered automatically within the first week.

Which Business Types Benefit From WhatsApp Automation?

Every industry benefits differently. Here's how businesses in key verticals use OpenClaw + WhatsApp.

Real Estate

Property inquiries get instant responses with listing details, virtual tour links, and showing scheduling — all within WhatsApp.

  • Listing inquiry auto-response
  • Showing scheduler
  • Market update broadcasts
  • Post-showing follow-up

Healthcare & Dental

Patient appointment booking, reminders, prescription refill notifications, and post-visit check-ins — HIPAA considerations handled through compliant providers.

  • Appointment booking & reminders
  • Prescription refill alerts
  • Post-visit satisfaction check
  • Wait-list notifications

E-commerce

Order confirmations, shipping updates, back-in-stock alerts, and abandoned cart recovery. WhatsApp outperforms email for every e-commerce metric.

  • Order confirmation & tracking
  • Abandoned cart recovery
  • Back-in-stock notifications
  • Review request after delivery

Coaches & Consultants

Discovery call booking, session reminders, homework/resource delivery, and accountability check-ins — all through the platform your clients already use daily.

  • Discovery call scheduling
  • Session reminders & prep
  • Resource/homework delivery
  • Progress check-ins

What Are the Best Practices for WhatsApp Automation?

WhatsApp automation is powerful, but do it wrong and you'll get flagged. Follow these rules.

Get Explicit Opt-In

Always get clear consent before messaging. Use website forms, QR codes, or 'click-to-chat' links. WhatsApp enforces opt-in requirements strictly.

Respect the 24-Hour Window

You can reply freely within 24 hours of a customer's last message. After that, you must use pre-approved template messages. Design your flows around this.

Keep Messages Conversational

WhatsApp is personal. Don't blast marketing copy. Use natural, helpful language. OpenClaw's AI handles this naturally — it writes like a human, not a bot.

Provide a Human Escalation Path

Always give contacts a way to reach a real person. OpenClaw handles 80% of conversations, but complex issues need human attention.

Use Rich Media Strategically

Send images, PDFs, location pins, and videos where they add value. A product photo or location pin in WhatsApp converts better than a text-only description.

Monitor and Optimize

Track response times, resolution rates, and lead conversion from WhatsApp. OpenClaw provides analytics so you can continuously improve your automation.

Frequently Asked Questions

Your Competitors Are Already Automating. Are You?

Every week we send one automation that saves 10+ hours of manual work — the same playbooks our clients use to run their businesses on autopilot. Miss a week, miss the edge.

Save 10+ hours/week Cut AI costs by 97% Deploy in under 20 min

Get the Automation Playbook (Free)

One deploy-ready automation every week. Same strategies our clients pay thousands for. 400+ business owners already inside.

Need it done for you?

Book a Free Strategy Call See what we've built for real businesses →