04 Messaging Integration
Messaging Integration Setup Guide
Overview
The Messaging Integration system allows you to send SMS, WhatsApp, and other messages directly to clients, vendors, and signers. This professional communication tool helps you send appointment reminders, payment notifications, and important updates.
Supported Messaging Channels
SMS (Text Messaging)
- Provider: Twilio
- Use Case: Simple text messages, urgent notifications
- Features: 160-character messages, delivery receipts
- Best For: Quick alerts, confirmations, reminders
WhatsApp Business
- Provider: WhatsApp Business API
- Use Case: Rich messaging with interactive elements
- Features: Templates, buttons, media sharing, read receipts
- Best For: Detailed communications, document sharing
MMS (Picture Messages)
- Provider: Twilio
- Use Case: Sending images and documents
- Features: Media attachments, 1600-character limit
- Best For: Document samples, signatures, photos
Slack Integration
- Provider: Slack API
- Use Case: Internal team notifications
- Features: Channel messaging, file sharing, rich formatting
- Best For: Team updates, system notifications
Getting Started
Prerequisites
Before setting up messaging integrations:
- Business Account: Ensure you have a registered business
- Phone Number: A dedicated business phone number
- Provider Accounts: Create accounts with messaging providers
- Budget: Messaging costs vary by provider and volume
Step 1: Access Messaging Settings
- Go to Dashboard → Settings → Integrations
- Click on the Messaging tab
- You'll see available messaging providers
Step 2: Set Up SMS with Twilio
-
Create a Twilio Account:
- Visit twilio.com
- Sign up for a free trial or paid account
- Verify your phone number
-
Get Twilio Credentials:
- Log into your Twilio Console
- Go to Settings → General
- Note your Account SID and Auth Token
- Purchase or port a phone number
-
Configure in Platform:
- Click Add Twilio SMS
- Enter your Account SID and Auth Token
- Select your Twilio phone number
- Click Test Connection
Step 3: Set Up WhatsApp Business
-
Get WhatsApp Business Account:
- Visit business.facebook.com
- Create a WhatsApp Business account
- Verify your business phone number
-
Configure WhatsApp API:
- Set up a Meta for Developers account
- Create a WhatsApp Business app
- Get your Phone Number ID and Access Token
- Configure webhook endpoint
-
Connect in Platform:
- Click Add WhatsApp Business
- Enter your Phone Number ID and Access Token
- Configure webhook settings
- Test the connection
Step 4: Set Up MMS
If you have Twilio SMS configured, MMS is automatically available:
- No additional setup required
- Uses the same Twilio credentials
- Media files are hosted by Twilio
Step 5: Set Up Slack Integration
-
Create a Slack App:
- Go to api.slack.com
- Create a new Slack app
- Add the bot user and chat permissions
-
Install to Workspace:
- Click "Install to Workspace"
- Get your Bot User OAuth Token
- Add the bot to relevant channels
-
Configure in Platform:
- Click Add Slack
- Enter your Bot Token
- Select default channel
- Test the connection
Using the Messaging System
Sending Simple SMS
- Navigate to a client or order page
- Click Send Message
- Select SMS as the channel
- Type your message (max 160 characters)
- Click Send
Using WhatsApp Templates
WhatsApp requires pre-approved templates for business messaging:
-
Create Template:
- Go to WhatsApp Business Manager
- Design your message template
- Submit for approval (usually takes 24-48 hours)
-
Use in Platform:
- Select WhatsApp as channel
- Choose a template from dropdown
- Fill in required variables
- Send to recipient
Sending Media via MMS
- Select MMS as the channel
- Upload your image or document
- Add text message (up to 1600 characters)
- Send to recipient
Sending Slack Messages
- Configure default Slack channel
- Select Slack as channel
- Type your message
- Format with markdown if needed
- Send to channel
Message Templates
Creating Templates
- Go to Settings → Communication Templates
- Click Create New Template
- Configure:
- Name: Internal identifier
- Channel: SMS, WhatsApp, or All
- Subject: Brief description
- Content: Message with variables
Using Variables
Variables in templates use double curly braces:
{{client_name}}- Client's full name{{appointment_date}}- Appointment date/time{{company_name}}- Your business name{{invoice_amount}}- Invoice total
Template Examples
Appointment Reminder (SMS)
Hi {{client_name}}, this is a reminder about your appointment on {{appointment_date}}. Reply C to confirm or call {{company_phone}} to reschedule.
Welcome Message (WhatsApp)
Welcome to {{company_name}}! We're excited to serve you. Your client portal is ready at: {{portal_url}}. Need help? Call {{company_phone}}.
Payment Reminder (MMS)
Hello {{client_name}}, your invoice #{{invoice_number}} for {{invoice_amount}} is due on {{due_date}}. You can pay online at: {{payment_url}}
Compliance and Legal Requirements
TCPA Compliance (SMS)
- Express Consent: Must have written permission
- Opt-out Option: Include STOP in all messages
- Hours: Only send 8 AM - 9 PM recipient time
- Frequency: Limit to reasonable number of messages
WhatsApp Business Policy
- 24-Hour Window: Free-form messaging within 24 hours of last contact
- Template Use: Use templates outside window
- No Spam: Only message users who opted in
- Content Rules: Follow WhatsApp commerce policy
Best Practices
- Get Permission First: Always get express consent
- Identify Yourself: Include company name in messages
- Provide Opt-out: Include STOP or unsubscribe option
- Respect Time Zones: Consider recipient's local time
- Keep it Relevant: Send only important, timely messages
Managing Contacts and Consent
DNC (Do Not Call) List
The system maintains a DNC list:
- Numbers automatically added when users text STOP
- Manual addition through messaging settings
- Respected for all future messages
Consent Management
Track consent for each contact:
- Express: Written permission obtained
- Implied: Existing business relationship
- Withdrawn: User has opted out
- Expired: Consent has expired
Pricing and Costs
SMS Costs
- US/Canada: ~$0.0079 per message
- International: Varies by country
- MMS: ~$0.02 per message (US/Canada)
WhatsApp Costs
- Template Messages: Varies by country (~$0.02-0.10)
- Free-form: Within 24-hour window
- Conversations: Charged per 24-hour session
Managing Costs
- Set Budgets: Configure monthly spending limits
- Monitor Usage: Track message volume and costs
- Optimize Templates: Use concise messaging
- Batch Sends: Group similar messages
Advanced Features
Scheduled Messages
Schedule messages for future delivery:
- Compose message as usual
- Click Schedule
- Select date and time
- Confirm timezone
Message Batches
Send to multiple recipients:
- Create recipient list
- Compose message or select template
- Review recipients
- Send batch
Delivery Tracking
Monitor message status:
- Sent: Message delivered to provider
- Delivered: Received by device
- Read: Message opened (WhatsApp)
- Failed: Unable to deliver
Automated Messages
Set up automatic triggers:
- New Client: Welcome message
- Appointment Scheduled: Confirmation
- Payment Due: Reminder
- Document Ready: Notification
Troubleshooting
Messages Not Sending
Check:
- Provider credentials are correct
- Account has sufficient balance
- Phone number format is correct (include country code)
- Recipient isn't on DNC list
WhatsApp Messages Failing
Check:
- Template is approved
- 24-hour window rule compliance
- Phone number has WhatsApp
- API quota not exceeded
High Costs
Solutions:
- Review message frequency
- Use shorter messages
- Batch similar messages
- Consider email for non-urgent communications
Deliverability Issues
Solutions:
- Verify sender ID registration
- Check message content for spam triggers
- Maintain clean phone number lists
- Monitor feedback loops
Getting Support
Self-Service Resources
- Documentation: Detailed API and setup guides
- Status Page: Check provider service status
- Community Forums: User discussions and solutions
Contact Support
For technical issues:
- Support Tickets: Submit with error details
- Live Chat: Available during business hours
- Email: support@yourcompany.com
Escalation
For urgent issues:
- Mark ticket as "High Priority"
- Include client impact details
- Provide error logs and screenshots
Security and Privacy
Data Protection
- Encryption: All messages encrypted in transit
- Secure Storage: Credentials encrypted at rest
- Access Control: Role-based access to messaging
- Audit Logs: All messaging activities logged
Privacy Best Practices
- Minimum Data: Collect only necessary information
- Retention: Don't keep messages longer than needed
- Access: Limit who can view message content
- Rights: Honor data deletion requests
Future Enhancements
Upcoming Features
- RCS Messaging: Rich Communication Services
- Telegram Business: Additional channel option
- AI Suggestions: Smart message recommendations
- Advanced Analytics: Detailed engagement metrics
- Multi-language: Support for more languages
Beta Programs
Join our beta to test new features:
- Early access to new channels
- Influence product direction
- Direct feedback to developers
Quick Reference
Common Commands
- STOP: Opt-out from all messages
- HELP: Get contact information
- INFO: Request specific information
- STATUS: Check appointment status
Message Limits
- SMS: 160 characters (1600 for MMS)
- WhatsApp: 4096 characters
- Slack: 40000 characters
- Templates: Up to 1024 characters
Rate Limits
- SMS: 1 message/second per number
- WhatsApp: 100 messages/second
- MMS: 1 message/second
- Slack: 1 message/second