Overview
Chatwoot integration enables multi-channel communication with patients through WhatsApp, SMS, and Email from a single platform. It also provides a unified inbox for managing patient responses.Chatwoot is optional but recommended for practices wanting multi-channel messaging and team collaboration features.
Benefits
Multi-Channel
Send messages via WhatsApp, SMS, and Email
Unified Inbox
All patient responses in one place
Team Collaboration
Assign conversations to team members
Message History
Complete conversation history per patient
Prerequisites
Before connecting Chatwoot, you need:- Chatwoot account (self-hosted or Chatwoot Cloud)
- Chatwoot API key with agent permissions
- Channels configured in Chatwoot:
- WhatsApp (via Twilio, 360Dialog, or WhatsApp Cloud)
- SMS (via Twilio)
- Email (via SMTP)
Setup Guide
1
Set up Chatwoot Account
If you don’t have a Chatwoot account:
- Sign up at chatwoot.com
- Choose between:
- Chatwoot Cloud (recommended for ease of use)
- Self-hosted (for full control)
- Complete account setup
2
Configure Messaging Channels
In Chatwoot, set up your desired channels:WhatsApp
Email
- Go to Settings → Inboxes → Add Inbox
- Select WhatsApp
- Choose provider (Twilio, 360Dialog, or WhatsApp Cloud)
- Follow provider-specific setup instructions
- Note your inbox identifier
SMS (via Twilio)
- Go to Settings → Inboxes → Add Inbox
- Select Twilio SMS
- Enter Twilio credentials
- Configure phone number
- Note your inbox identifier
- Go to Settings → Inboxes → Add Inbox
- Select Email
- Configure SMTP settings
- Set forward-to email address
- Note your inbox identifier
3
Get Chatwoot API Credentials
- Log in to your Chatwoot account
- Click your profile picture → Profile Settings
- Navigate to Access Token
- Click Create New Token
- Give it a name:
Routiq Integration - Copy the Account ID (visible in URL:
app.chatwoot.com/app/accounts/YOUR_ID) - Copy the Access Token
Store your access token securely. Chatwoot only shows it once.
4
Connect in Routiq
- Log in to Routiq
- Navigate to Settings → Integrations → Chatwoot
- Enter your Chatwoot Account ID
- Paste your API Access Token
- Enter your Chatwoot instance URL (e.g.,
https://app.chatwoot.comor your self-hosted URL) - Click Connect
5
Map Chatwoot Inboxes
After connecting, map Chatwoot inboxes to message types:
- WhatsApp Inbox: Select your WhatsApp inbox ID
- SMS Inbox: Select your SMS inbox ID (if different)
- Email Inbox: Select your Email inbox ID
You can use the same inbox for multiple channels if it supports multi-channel.
6
Test the Connection
Send a test message:
- Go to Settings → Integrations → Chatwoot
- Click Send Test Message
- Enter a test phone number/email
- Select channel (WhatsApp, SMS, or Email)
- Click Send
Your Chatwoot integration is now active!
How It Works
Sending Messages from Routiq
When you create a campaign in Routiq:- Routiq identifies patients who meet campaign criteria
- For each patient, Routiq checks their contact preferences
- Routiq sends message to Chatwoot API
- Chatwoot routes message to appropriate channel (WhatsApp/SMS/Email)
- Message is delivered to patient
- Delivery status is synced back to Routiq
Receiving Responses
When patients respond:- Response arrives in Chatwoot inbox
- Chatwoot notifies Routiq via webhook
- Routiq logs the response and updates campaign metrics
- Your team can reply directly in Chatwoot
All patient conversations remain in Chatwoot for your team to manage. Routiq only initiates outbound reactivation messages.
Message Templates
Creating Templates in Routiq
Routiq provides template management for Chatwoot messages:- Go to Settings → Message Templates
- Click Create Template
- Select channel (WhatsApp, SMS, Email)
- Write your message with variables:
{{first_name}}- Patient first name{{last_name}}- Patient last name{{last_visit_date}}- Last appointment date{{treatment_type}}- Last treatment type
- Preview and save
WhatsApp Template Requirements
WhatsApp requires pre-approved message templates for business-initiated conversations.
- Create template in Meta Business Manager
- Submit for approval (usually 24-48 hours)
- Once approved, template becomes available in Chatwoot
- Use approved template name in Routiq campaigns
Channel Selection Strategy
When to use WhatsApp
- Best for: High engagement, rich media, two-way conversations
- Requirements: Approved message templates
- Cost: Moderate (varies by provider)
- Use cases: Appointment reminders, reactivation campaigns, follow-ups
When to use SMS
- Best for: Urgent messages, universal reach
- Requirements: None - works on all phones
- Cost: Low to moderate
- Use cases: Quick reminders, time-sensitive messages
When to use Email
- Best for: Detailed information, newsletters
- Requirements: Valid email addresses
- Cost: Very low
- Use cases: Educational content, detailed communications
Response rates vary significantly based on your practice, patient demographics, and message quality. Start with small test campaigns to establish your baseline.
Managing Patient Responses
Chatwoot Inbox Workflow
- Patient responses appear in Chatwoot inbox
- Assign conversation to team member
- Team member responds within Chatwoot
- Conversation history is preserved
- Close conversation when resolved
Response Routing
Configure automatic routing in Chatwoot:- Go to Settings → Automation Rules
- Create rule: Route conversations from Routiq to specific team/agent
- Set business hours for auto-assignment
- Configure canned responses for common questions
Security & Compliance
Data Protection
- API credentials encrypted at rest with AES-256
- All communications use TLS 1.3
- Patient data accessible only within your Chatwoot account
- No patient data stored permanently in Routiq
HIPAA Considerations
If you’re subject to HIPAA:WhatsApp and SMS may not be HIPAA-compliant for transmitting PHI. Consult your compliance officer.
- Use secure messaging for PHI
- Obtain patient consent for SMS/WhatsApp
- Avoid sending sensitive health information
- Use generic appointment reminders
Troubleshooting
”Invalid API credentials” error
Solution:- Verify Account ID is correct (check Chatwoot URL)
- Regenerate API token in Chatwoot
- Ensure token has “Agent” permissions
- Try reconnecting
Messages not sending
Possible causes:- Inbox not configured in Chatwoot
- Channel (WhatsApp/SMS) not connected
- Insufficient balance (for Twilio-based channels)
- Check Chatwoot inbox is active
- Verify channel is connected and working
- Test sending directly from Chatwoot
- Check provider balance (Twilio, etc.)
WhatsApp messages failing
Possible causes:- Template not approved by Meta
- 24-hour messaging window expired
- Patient phone number not opted in
- Use only approved WhatsApp templates
- Only send business-initiated messages with approved templates
- Ensure phone numbers are valid and opted in
Responses not syncing to Routiq
Possible causes:- Webhook not configured
- Webhook URL incorrect
- Chatwoot firewall blocking webhook delivery
- Go to Settings → Integrations → Chatwoot → Webhook Status
- Verify webhook URL is configured in Chatwoot
- Test webhook delivery
- Check Chatwoot webhook logs
Advanced Features
Conversation Assignment
Automatically assign patient conversations to specific team members based on:- Treatment type
- Practitioner
- Business location
- Time of day
Canned Responses
Create quick responses for common patient questions:- In Chatwoot: Settings → Canned Responses
- Create responses for:
- Booking appointments
- Pricing questions
- Business hours
- Location/directions
Tags and Labels
Use Chatwoot tags to categorize conversations:reactivation- Routiq-initiated conversationsbooked- Patient booked appointmentnot_interested- Patient declinedfollow_up- Needs follow-up
Disconnecting Chatwoot
To disconnect Chatwoot:- Go to Settings → Integrations → Chatwoot
- Click Disconnect
- Confirm action
Active campaigns will stop sending messages. Patient conversation history remains in Chatwoot.