Connecting WhatsApp Chatbots to Your CRM: Step-by-Step

WhatsApp is where your customers are. Over 2 billion users worldwide, with high open and response rates. A WhatsApp chatbot captures leads, answers questions, and provides support where customers already communicate. But that conversation data needs to flow into your CRM to be valuable.
This guide walks through connecting WhatsApp chatbots to your CRM step by step.
WhatsApp Business Platform Options
For a broader overview of business chatbots, see our guide on AI chatbot for business.
WhatsApp Business App (Free)
Basic features for small businesses:
- Quick replies and labels
- Business profile
- Catalog support
- Limited automation (away messages)
CRM integration: Manual or basic via third-party tools
WhatsApp Business API
Full automation capabilities:
- Chatbot support
- Message templates
- Rich media
- Full API access
CRM integration: Full integration possible via API
Note: You need a Business Solution Provider (BSP) to access the API.
Business Solution Providers
Popular BSPs that provide API access:
- 360dialog: Developer-friendly
- Twilio: Familiar if you use other Twilio products
- MessageBird: Good for multi-channel
- Gupshup: Strong in emerging markets
- Meta Business Suite: Direct from Meta
Each provides slightly different features and pricing.
Chatbot Platforms with WhatsApp
Rather than building from scratch, use platforms that support WhatsApp:
ManyChat
- Visual bot builder
- Native WhatsApp support
- Good for marketing/lead gen
- Easy CRM integrations
Chatfuel
- No-code builder
- WhatsApp via API
- Good templates
Landbot
- Conversation design focused
- WhatsApp support
- Built-in integrations
Custom Development
Using BSP APIs directly:
- Maximum flexibility
- Requires development resources
- Best for unique needs
Integration Architecture
Basic Architecture
Customer → WhatsApp → BSP → Chatbot Platform → CRM
Data Flow
Inbound (Customer to Business):
- Customer messages WhatsApp
- BSP receives message
- Chatbot processes and responds
- Lead/contact data sent to CRM
- Conversation logged
Outbound (Business to Customer):
- CRM triggers outreach
- Automation sends to chatbot
- Chatbot sends via BSP
- Customer receives WhatsApp message
Step-by-Step Integration
Step 1: Set Up WhatsApp Business API
Option A: Through BSP
- Choose a BSP (Twilio, 360dialog, etc.)
- Register for their service
- Verify your business
- Get a WhatsApp-enabled phone number
- Complete Facebook Business verification
Verification requirements:
- Business manager account
- Official business documents
- Can take 2-14 days for approval
Option B: Through Chatbot Platform
Many platforms handle this for you:
- Sign up for platform (ManyChat, etc.)
- Follow their WhatsApp setup flow
- They handle BSP relationship
Step 2: Build Your Chatbot
Design conversations that collect CRM-relevant data:
Lead capture flow:
Bot: Hi! I'm [Company] assistant. How can I help?
[Quick replies: Get a quote | Learn more | Talk to sales]
User: Get a quote
Bot: Great! I'll need a few details. What's your name?
User: John Smith
Bot: Thanks John! And your email?
User: [email protected]
Bot: What service are you interested in?
[Quick replies: Service A | Service B | Service C]
User: Service A
Bot: Perfect! One of our team will reach out within 24 hours.
Anything else I can help with?
Key data to capture:
- Name
- Email/phone
- Company (for B2B)
- Interest/intent
- Qualification questions
Step 3: Connect to CRM
Using Zapier/Make:
- Trigger: New conversation or lead in chatbot platform
- Search: Check if contact exists in CRM
- Create/Update: Add or update CRM record
- Log: Add note/activity with conversation summary
Example Make scenario:
ManyChat: New subscriber
↓
HubSpot: Search contact by phone/email
↓
Router: Contact exists?
↓
[Yes] → HubSpot: Update contact
[No] → HubSpot: Create contact
↓
HubSpot: Create engagement (note with conversation)
Direct API integration:
For custom or high-volume needs:
- Chatbot platform webhook fires on events
- Your middleware processes event
- Call CRM API to create/update records
- Log the conversation
Step 4: Sync Conversations
Options for conversation history:
Option A: Summary only
- At conversation end, send summary to CRM
- Pros: Cleaner, less data
- Cons: Miss details
Option B: Full transcript
- Log complete message history
- Pros: Full context
- Cons: More data, privacy considerations
Option C: Key moments
- Log specific interactions (form fills, questions asked)
- Pros: Balance of context and cleanliness
Step 5: Enable CRM-Triggered Messages
Send WhatsApp messages from CRM actions:
Template messages:
WhatsApp requires pre-approved templates for outbound messages:
- Submit templates for approval
- Templates must follow guidelines
- Variables allowed for personalization
Example template:
Hello {{1}}, thank you for your interest in {{2}}.
A team member will call you within {{3}}.
Reply STOP to opt out.
CRM workflow:
- Deal stage changes to "Won"
- Workflow triggers
- Automation sends WhatsApp template message
- Customer receives confirmation
Platform-Specific Guides
HubSpot + ManyChat
- Install ManyChat HubSpot integration
- Map ManyChat fields to HubSpot properties
- Configure sync direction (ManyChat → HubSpot)
- Set up HubSpot workflows for outbound
Salesforce + Custom
- Build WhatsApp chatbot via BSP
- Create Salesforce connected app
- Develop middleware to process webhook
- Create Salesforce records via API
- Use Salesforce Flow for outbound triggers
Zoho + Chatfuel
- Connect Chatfuel to Zoho via Zapier
- Map chatbot variables to Zoho fields
- Configure Zoho workflow rules
- Test complete flow
Best Practices
Lead Capture
- Ask permission before collecting data
- Explain how data will be used
- Provide opt-out options
- Comply with GDPR/privacy regulations
Conversation Design
- Keep it conversational, not form-like
- Use quick replies to guide
- Provide clear escape routes (talk to human)
- Handle unexpected inputs gracefully
CRM Data Quality
- Deduplicate before creating records
- Standardize phone number formats
- Validate email addresses
- Handle incomplete data
Response Times
- Set expectations ("We'll respond within 2 hours")
- Use automation for immediate acknowledgment
- Route urgent issues to humans
Compliance
WhatsApp has strict policies:
- No spam or unsolicited messages
- Get explicit opt-in
- Honor opt-outs immediately
- Follow template guidelines
Common Challenges
Phone Number Matching
Different phone number formats cause duplicate records:
- +1 (555) 123-4567
- 15551234567
- 555-123-4567
Solution: Normalize numbers before CRM lookup using a standard format.
Conversation Context
CRM agents need context from WhatsApp history:
- Log conversation summary
- Include key details in notes
- Link to full transcript if available
Template Approval
WhatsApp template approval can be slow:
- Plan templates in advance
- Follow guidelines exactly
- Have backup communication plans
Handoff to Humans
When chatbot can't help:
- Clear escalation path
- Context preserved for agent
- Notification to appropriate team
Metrics to Track
- Conversations started: WhatsApp engagement
- Leads captured: New CRM records from WhatsApp
- Conversion rate: Leads to customers
- Response time: Bot and human
- Resolution rate: Issues solved in WhatsApp
Need help setting up WhatsApp CRM integration? Contact Automiva or explore our WhatsApp chatbot for business guide.