Summary
Want to automatically send WhatsApp messages from Zapier? If you're using Wati and have an approved WhatsApp Business API account, you can easily integrate it with Zapier using Webhooks. This guide walks you through the exact steps to set up the connection so you can automate messages for use cases like sending updates to new leads, confirming orders, and more.
Instructions
What You'll Need
Before getting started, make sure you have the following:
A Zapier account
A Wati account with WhatsApp API access
Your Wati API endpoint and Bearer token
💡 Note: To use the WhatsApp Business API, you must be approved through a provider like Wati.
Steps to Set Up WhatsApp Messaging with Zapier Webhooks
Step 1: Create a New Zap
Log in to your Zapier account.
Go to your Zaps page and click Create Zap.
Step 2: Choose Your Trigger
Select the trigger app (e.g., Google Sheets, Typeform, Shopify).
Choose the event that will trigger the WhatsApp message (e.g., new row added, form submitted, new order placed).
Step 3: Add Webhooks by Zapier as the Action
Under the Do this section, search for Webhooks by Zapier.
Select it and click Continue.
Step 4: Set Action Event to POST
Choose the POST method as your Action Event.
Click Continue.
Step 5: Customize the Webhook Request
You'll now set up the details of the POST request that will send the WhatsApp message.
URL: Get this from the API Docs section in your Wati account. Format the URL like this:
https://your_wati_api_url/api/v1/sendTemplateMessage/####{{phone_number_with_country_code}}
Payload Type:
json
Data: Add the following keys and values:
json { "template_name": "your_template_name", "broadcast_name": "your_broadcast_name", "parameters": [ { "name": "1", "value": "Example Parameter" } ] }
📝 Replace the parameters
values with actual values based on your WhatsApp template configuration.
Step 6: Add Authorization Header
In the Headers section, add the following:
Key: Authorization
Value: Bearer YOUR_API_KEY
🔑 You can find your Bearer token in your Wati account under API Docs.
Step 7: Test and Turn On Your Zap
Click Test & Continue to verify your setup.
Once the test succeeds, click Publish Zap to activate it.
Your automated WhatsApp message will now be sent every time your chosen trigger runs.
Frequently Asked Questions (FAQs)
General Questions
1. Can I send WhatsApp messages using Zapier?
→ Yes, you can send WhatsApp messages using Zapier by integrating it with your Wati account through Webhooks. Zapier does not offer native WhatsApp support, but using Webhooks and Wati's WhatsApp API allows you to set up message automation.
2. Do I need WhatsApp Business API access to use this integration?
→ Yes, you must have an approved WhatsApp Business API account. You can apply for access through a provider like Wati.
3. What do I need to set up this integration?
→ You'll need a Zapier account, a Wati account with WhatsApp API access, and your Wati API endpoint and Bearer token.
4. Where can I find my Wati API URL and Bearer token?
→ Both the API URL and Bearer token can be found in the API Docs section of your Wati dashboard.
Setup and Configuration
5. What should I enter as the URL in the Webhook setup?
→ Use the following format:
https://your_wati_api_url/api/v1/sendTemplateMessage/####{{phone_number_with_country_code}}
Replace your_wati_api_url
with your actual Wati API base URL.
6. What payload format should I choose in the Webhook action?
→ Select json as the payload type when configuring your Webhook in Zapier.
7. What parameters do I need to include in the request body?
→ You should include:
template_name
broadcast_name
parameters
(an array matching your WhatsApp message template)
Example:
json { "template_name": "your_template_name", "broadcast_name": "your_broadcast_name", "parameters": [ { "name": "1", "value": "Example Parameter" } ] }
8. How do I authorize the Webhook request?
→ In the Headers section of the Webhook step, add:
Key: Authorization
Value: Bearer YOUR_API_KEY
Replace YOUR_API_KEY with your Wati Bearer token.