Zapier Integration
Connect SMSLeopard with 5,000+ apps through Zapier without writing code. Create powerful automation workflows that trigger SMS notifications from your favorite tools and platforms.
Use Case: Build custom SMS workflows connecting SMSLeopard with virtually any app - no coding required.
How It Works
Zapier acts as a bridge between SMSLeopard and thousands of apps:
- Trigger: An event happens in another app (new lead, form submission, etc.)
- Action: Zapier sends an SMS via SMSLeopard API
- Multi-step Zaps: Combine multiple actions for complex workflows
Prerequisites
Before you begin, ensure you have:
- An active SMSLeopard account with API credentials (Get started here)
- A Zapier account (Free or paid plan)
- Access to the apps you want to connect
Setup Methods
Method 1: Using Webhooks by Zapier
Since SMSLeopard may not have a native Zapier app yet, use Webhooks:
Step 1: Create a New Zap
Log in to your Zapier account and click Create Zap. Choose your trigger app (e.g., Google Forms, Typeform, Gmail), configure the trigger event, and test the trigger to ensure it works.
Step 2: Add SMSLeopard Action
Click + to add an action, search for "Webhooks by Zapier", choose POST as the action event, and click Continue.
Method 2: Custom API Integration
For developers creating custom Zapier integrations:
// zapier-integration.js
// Custom Zapier CLI integration for SMSLeopard
const axios = require('axios');
// Send SMS action
const sendSMS = async (z, bundle) => {
const { apiKey, apiSecret, senderId } = bundle.authData;
const { phoneNumber, message } = bundle.inputData;
// Format phone number
const formattedPhone = phoneNumber.replace(/[\s\-\(\)]/g, '');
const response = await axios.post(
'https://api.smsleopard.com/v1/sms/send',
{
source: senderId,
destination: [formattedPhone],
message: message
},
{
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${apiKey}:${apiSecret}`
}
}
);
return response.data;
};
// Authentication test
const testAuth = async (z, bundle) => {
const { apiKey, apiSecret } = bundle.authData;
try {
const response = await axios.get(
'https://api.smsleopard.com/v1/account/balance',
{
headers: {
'Authorization': `Bearer ${apiKey}:${apiSecret}`
}
}
);
return { success: true, balance: response.data.balance };
} catch (error) {
throw new Error('Invalid API credentials');
}
};
module.exports = {
version: require('./package.json').version,
platformVersion: require('zapier-platform-core').version,
authentication: {
type: 'custom',
fields: [
{
key: 'apiKey',
label: 'API Key',
required: true,
type: 'string'
},
{
key: 'apiSecret',
label: 'API Secret',
required: true,
type: 'password'
},
{
key: 'senderId',
label: 'Sender ID',
required: true,
type: 'string',
helpText: 'Your approved SMS sender ID'
}
],
test: testAuth
},
creates: {
send_sms: {
key: 'send_sms',
noun: 'SMS',
display: {
label: 'Send SMS',
description: 'Sends an SMS message via SMSLeopard'
},
operation: {
inputFields: [
{
key: 'phoneNumber',
label: 'Phone Number',
type: 'string',
required: true,
helpText: 'Include country code (e.g., 254712345678)'
},
{
key: 'message',
label: 'Message',
type: 'text',
required: true,
helpText: 'The SMS message to send (max 160 characters)'
}
],
perform: sendSMS
}
}
}
};
Popular Zap Templates
Google Forms to SMS Notification
Use Case: Send SMS when someone submits a form
- Trigger: New form response in Google Forms
- Action: Send SMS with form details
- Message Template: "New form submission from {Name}. Email: {Email}. Message: {Message}"
Gmail to SMS Alert
Use Case: Get SMS for important emails
- Trigger: New email matching search in Gmail
- Filter: Only emails from specific senders or with keywords
- Action: Send SMS with email subject and sender
- Message: "Important email from {Sender}: {Subject}"
Airtable to SMS Campaign
Use Case: Send bulk SMS from Airtable records
- Trigger: New record in Airtable view
- Filter: Only records with "Send SMS" checkbox
- Action: Send SMS to phone number in record
- Update: Mark record as "SMS Sent"
Trello to Team Notifications
Use Case: Notify team when cards move
- Trigger: Card moved to list in Trello
- Filter: Specific board and list
- Action: Send SMS to assigned member
- Message: "Card '{Card Name}' moved to {List Name}"
Stripe to Payment Confirmation
Use Case: SMS receipts for payments
- Trigger: Successful payment in Stripe
- Action: Send SMS to customer
- Message: "Payment of {Amount} received. Thank you! Receipt: {Receipt URL}"
Advanced Workflows
Multi-Step Zaps
Create complex workflows with multiple actions:
- Trigger: New lead in HubSpot
- Action 1: Add to Google Sheets
- Action 2: Send welcome SMS
- Action 3: Create task in Asana
- Action 4: Send Slack notification
Conditional Logic
Use Zapier Paths for conditional SMS:
- Trigger: New order in Shopify
- Path A (Order > $100): Send premium thank you SMS
- Path B (Order ≤ $100): Send standard thank you SMS
Delay and Schedule
Add timing control to your Zaps:
- Trigger: New subscriber in Mailchimp
- Step 1: Wait 1 hour (Delay)
- Step 2: Send welcome SMS
- Step 3: Wait 24 hours (Delay)
- Step 4: Send follow-up SMS
Message Personalization
Use Zapier's field mapping to personalize messages:
// Dynamic message template
const message = `Hi {{First Name}}!
Thank you for {{Action}}.
{{Custom Message}}
Reply STOP to unsubscribe.`;
// Zapier will replace {{Field Name}} with actual valuesNeed help with your Zapier integration?