Skip to main content

Zapier Integration

Msghub has a native Zapier integration. Connect any Zapier trigger to send SMS, WhatsApp, Email, or RCS messages.

Setup

Install Msghub App

  1. Go to Zapier.com
  2. Search for "Msghub"
  3. Click Connect
  4. Enter your API key (from Settings → API Keys)
  5. Click Save

Available Triggers

New Contact

Triggered when new contact is added to Msghub.

Available fields:

  • Contact ID
  • Name
  • Phone
  • Email
  • 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

  1. Create a test Zap
  2. Send test message
  3. Verify it works
  4. 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?

See Also