Zapier Integration
Msghub has a native Zapier integration. Connect any Zapier trigger to send SMS, WhatsApp, Email, or RCS messages.
Setup
Install Msghub App
- Go to Zapier.com
- Search for "Msghub"
- Click Connect
- Enter your API key (from Settings → API Keys)
- Click Save
Available Triggers
New Contact
Triggered when new contact is added to Msghub.
Available fields:
- Contact ID
- Name
- Phone
- Tags
New Message
Triggered when new message is received.
Available fields:
- Message ID
- Channel
- From
- Message text
- Received at
Message Status Change
Triggered when message status changes (delivered, read, failed).
Available fields:
- Message ID
- Status
- Channel
- Timestamp
Campaign Completed
Triggered when campaign finishes sending.
Available fields:
- Campaign ID
- Campaign name
- Total sent
- Delivered
- Failed
Available Actions
Send Message
Send SMS, WhatsApp, Email, or RCS message.
Configuration:
- Channel — SMS, WhatsApp, Email, RCS
- Recipient — Phone or email
- Message — Message text
- Template — Optional template ID
Trigger Flow
Start a multi-step automation flow.
Configuration:
- Flow ID — Which flow to trigger?
- Contact ID — Which contact?
- Data — Additional data to pass
Example Zaps
Google Sheets → SMS
Trigger: Google Sheets → New Row
↓
Action: Msghub → Send Message
- Channel: SMS
- Recipient: Column B (phone)
- Message: Column C (message)
Shopify → WhatsApp
Trigger: Shopify → New Order
↓
Action: Msghub → Send Message
- Channel: WhatsApp
- Recipient: Order phone
- Template: order_confirmation
- Parameters: Order number, amount
Typeform → Email
Trigger: Typeform → New Response
↓
Action: Msghub → Send Message
- Channel: Email
- Recipient: Response email
- Subject: Thank you for your response
- Message: Custom message
HubSpot → SMS
Trigger: HubSpot → New Contact
↓
Action: Msghub → Send Message
- Channel: SMS
- Recipient: Contact phone
- Message: Welcome message
Field Mapping
Map Zapier fields to Msghub:
Zapier Field → Msghub Field
Google Sheets B → Phone number
Google Sheets C → Message text
Shopify Order Number → Template parameter
Typeform Email → Email recipient
HubSpot Phone → SMS recipient
Best Practices
Test First
- Create a test Zap
- Send test message
- Verify it works
- Deploy to production
Use Templates
For WhatsApp, use templates:
Channel: WhatsApp
Template: order_confirmation
Parameters:
- Order number: {{Order ID}}
- Amount: {{Order Total}}
Error Handling
Add error handling:
Trigger: Google Sheets → New Row
↓
Action: Msghub → Send Message
↓
If error:
Action: Send email notification
Logging
Log all messages:
Trigger: Google Sheets → New Row
↓
Action: Msghub → Send Message
↓
Action: Google Sheets → Add Row (log)
- Message ID
- Status
- Timestamp
Troubleshooting
Connection Failed
- Check API key — Is it correct?
- Check permissions — Does API key have permission?
Message Not Sending
- Check channel — Is it connected in Msghub?
- Check recipient — Is phone/email valid?
- Check message — Is it valid?
Template Not Found
- Check template ID — Does it exist?
- Check template status — Is it approved?