How to Integrate SMSPort with 9,000+ Apps Using Zapier
Connect your SMSPort account to 9,000+ appsβincluding Google Sheets, HubSpot, Salesforce, Shopify, Calendly, Typeform, Mailchimp, Stripe, Razorpay, and Notionβwithout writing a single line of code. Build a "Zap" once, and Zapier will automatically dispatch WhatsApp notifications, sync leads, and trigger customer conversations in real time.
Overview
Zapier acts as an automated middleware bridge between your business applications and the WhatsApp Cloud API via SMSPort.
Whenever an event happens in your external software (e.g., a customer places an order on Shopify, a lead submits a Google Form, or an appointment is scheduled on Calendly), Zapier catches the trigger and instructs SMSPort to send an automated WhatsApp message or sync the customer's contact record.
Step 1: Connect SMSPort to Zapier
- In SMSPort, navigate to Integrations β API Integration (or open the Connectors section on
/integrationsand click Connect on the Zapier card). - Copy your active API Key (starting with
sk_live_...). If you don't have one yet, click New API Key, select Live, and copy your secret key. - In Zapier, when creating or configuring your Zap, search for and select the SMSPort app.
- When prompted to sign in and authenticate, paste your SMSPort API Key into the authorization window.
- Zapier will verify your key with the SMSPort server and establish a secure, authenticated connection.
Step 2: Create a Zap (Trigger + Action)
Every Zap consists of two essential building blocks:
- Trigger: The event in another application that starts the workflow (e.g., Shopify: New Order, Google Sheets: New Spreadsheet Row, Typeform: New Lead Submission).
- Action: What SMSPort should do when the trigger fires (e.g., Send a WhatsApp Template, Send an In-Session Reply, or Create/Update a Contact).
Setting up the Trigger:
- Click Create Zap in your Zapier dashboard.
- Select your trigger app (e.g., Shopify, Google Sheets, WooCommerce, or Facebook Lead Ads).
- Choose the trigger event (e.g., New Order Paid, New Row Added).
- Link your app account, run a test step, and ensure sample trigger data is loaded.
Step 3: Choose an SMSPort Action or Trigger
SMSPort exposes four actions and three instant triggers in Zapier. Pick the ones that fit your automation workflow:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Available SMSPort Actions β
ββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ€
β 1. Send Message Template β Pre-approved templates with live text β
β β previews and dynamic variable fields. β
ββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ€
β 2. Send Message (Dynamic) β Free-form text, media (image, video, β
β β doc, audio), or interactive buttons. β
ββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ€
β 3. Create or Update Contact β Sync customer leads, phone numbers, β
β β lists, tags, and custom fields. β
ββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ€
β 4. Find Contact (Search) β Lookup existing contacts by phone or β
β β name (supports auto-create link). β
ββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Available SMSPort Triggers β
ββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ€
β 1. New Incoming Message β Instant REST Hook when a customer β
β β messages your WhatsApp number. β
ββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ€
β 2. Message Status Updated β Instant REST Hook on message status β
β β changes (sent, delivered, read, fail).β
ββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ€
β 3. New Contact Created β Instant REST Hook when a new contact β
β β is added to your SMSPort workspace. β
ββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββAction 1: Send Message Template (Transactional & Marketing Notifications)
This action sends a pre-approved Meta WhatsApp Message Template. It can be sent at any time, even if the customer has never messaged your business before. Ideal for order confirmations, shipping updates, OTPs, booking reminders, and payment receipts.
Configuration Fields:
- Recipient WhatsApp Number (Required): Destination phone number with country code in international E.164 format (e.g.,
+919876543210). - Message Template (Required): Select the pre-approved template from your SMSPort account (Zapier fetches your approved templates automatically).
- Header Media URL (Optional): If your template uses an Image, Video, or Document header, map a public HTTPS link to the file.
- Body Variables (
{{1}},{{2}}, ...): Map dynamic trigger data to each variable in your template (e.g.,{{1}} = Customer Name,{{2}} = Order ID,{{3}} = Tracking Link). - Button Dynamic URLs (Optional): If your template has dynamic Call-to-Action buttons, map the variable suffix.
Click Test Step in Zapier to dispatch a real WhatsApp message to your test phone number, verify the layout, and click Publish Zap.
Action 2: Send Message (Within Active 24-Hour Session)
WhatsApp policy permits free-form messaging (non-template messages) only while a customer service window is open (within 24 hours of the customer's last incoming message).
Configuration Fields:
- Recipient WhatsApp Number (Required): The customer's phone number with country code (e.g.,
+919876543210). - Message Type (Required): Choose from
Text,Image,Video,Document,Audio,Location, orInteractive Reply Buttons. - Dynamic Fields based on Message Type:
- Text: Message body text.
- Image / Video / Document: Public media URL, filename, and caption.
- Location: Latitude, longitude, venue name, and address.
- Interactive Reply Buttons: Message body plus Button 1, Button 2, and Button 3 text labels (max 20 characters each).
Note: If the 24-hour conversation window has expired, WhatsApp will reject free-form messages. Use Send Message Template for unsolicited or out-of-window messages.
Action 3: Create or Update Contact
This action automatically captures incoming leads from web forms, ad platforms, and checkout pages into your SMSPort Contacts Manager. If the phone number already exists, SMSPort updates the record; otherwise, a new contact is created.
Configuration Fields:
- WhatsApp Number (Required): Primary identifier in E.164 format (e.g.,
+919876543210). - First Name & Last Name (Optional): Map customer name fields from your trigger app.
- Subscription Status:
Subscribed(default, receives broadcasts and drip campaigns) orUnsubscribed. - Contact Lists: Select an existing list or pass comma-separated list names (SMSPort will auto-create missing lists).
- Tags: Select tags (e.g.,
VIP,Shopify Customer,Webinar Lead) to categorize contacts for segmentation. - Custom Attributes: Any custom contact fields defined in SMSPort (e.g.,
city,plan_type,lead_score) will appear dynamically for mapping.
Field Mapping Tips & Best Practices
Format Phone Numbers (E.164):
- Phone numbers must always include the
+prefix and country code without spaces or dashes (e.g.,+919876543210or+14155552671). - If your trigger app stores raw phone numbers (like
9876543210), use Zapier's built-in Formatter β Numbers β Format Phone Number utility step to standardize them before passing to SMSPort.
- Phone numbers must always include the
Template Variables Order:
- Ensure that trigger parameters match the exact sequential order of the variables defined in your Meta template (
{{1}},{{2}},{{3}}).
- Ensure that trigger parameters match the exact sequential order of the variables defined in your Meta template (
Public Media URLs:
- Media headers (PDF invoices, product images, videos) must be hosted on public HTTPS URLs accessible by Meta's WhatsApp servers. Private cloud drives (authenticated Google Drive or Dropbox shared links) are not supported by WhatsApp.
Receiving Inbound WhatsApp Replies:
- If you want customer responses in WhatsApp to trigger actions in your other apps (e.g., log reply in CRM or update Google Sheets), configure an Outbound Webhook in SMSPort under Integrations β Webhooks pointing to Zapier's Webhooks by Zapier (Catch Hook) trigger.
Need Assistance?
If you have questions about specific workflow recipes, custom triggers, or high-volume enterprise automation, our engineering team is here to assist. Contact support directly from your SMSPort Workspace console or consult the Public API Reference.