Summary
Looking to connect Wati with Klaviyo? This guide walks you through how to do it. This integration can be used for two main use cases:
Sending WhatsApp messages from Klaviyo – Automate WhatsApp messages using Klaviyo flows and Wati APIs.
Sending Wati Chatbot data to Klaviyo – Store user responses from Wati Chatbots in Klaviyo for better segmentation and automation.
Note: This integration requires active Wati and Klaviyo subscriptions.
Instructions
Use Case 1: Send WhatsApp Messages from Klaviyo
Automated marketing flows in Klaviyo can trigger WhatsApp messages via Wati APIs.
Steps to Set Up WhatsApp Messaging
Go to Klaviyo Flows.
Click Create Flow.
Select Start from Scratch and name your flow.
Set the Trigger – this is the event that will start the flow.
Example: To send a confirmation message when someone subscribes to a newsletter, set the trigger to "When someone is added to Newsletter".
Drag and drop a Webhook action into the flow from the left sidebar.
Name the Webhook. You will need to retrieve data from Wati next.
Configure Wati API
Log in to your Wati Dashboard.
Navigate to API Docs.
Scroll down to find the
/api/v1/sendTemplateMessages
endpoint.Click Try it Out.
Update the Request Body:
Replace
template_name
with the name of your WhatsApp template message.Replace
broadcast_name
with a name to identify messages sent from Klaviyo (e.g.,Klaviyo registration confirmation
).Replace
whatsappNumber
with##{{ person.phone_number|default:'' }}
.If using template variables, format them as JSON. Example:
NoneBashCSSCC#ElixirErlangGoGraphQLGroovyHaskellHTMLINIJavaJavaScriptJSONJSXKotlinLispLuaMermaid DiagramNixObjective-COCamlPerlPHPPowershellPythonRubyRustScalaSQLSoliditySwiftTOMLTSXTypeScriptVisual BasicYAMLZigCopy
{ "template_name": "registration_confirmation", "broadcast_name": "This can be anything", "receivers": [ { "whatsappNumber": "##{{ person.phone_number|default:'' }}", "customParams": [ { "name": "name", "value": "##{{ person.first_name|default:'' }}" }, { "name": "number", "value": "##{{ person.phone_number|default:'' }}" } ] } ] }
Click Execute – this execution will return a failure which is expected due to the invalid phone number.
Copy the Request URL and paste it into the Destination URL field in Klaviyo.
Copy the request body and paste it into the JSON Body field in Klaviyo.
In Klaviyo, click View profile & event properties to find additional variable values like
##{{ person.first_name|default:'' }}
.In Klaviyo, under Headers, enter:
Key:
Authorization
Value: (Your Wati Access Token)
Save the Webhook and change its status from Draft to Live.
Click Update action statuses (top-right) to activate the flow.
Use Case 2: Send Wati Chatbot Data to Klaviyo
InfoWarningTip
This feature is available for Pro or Business plan users on Wati.
You can collect user responses via Wati Chatbots and push them to Klaviyo for better automation and segmentation.
How It Works
Create a chatbot in Wati Chatbot Builder.
Add a Webhook node in the chatbot flow.
Set up an API call to Klaviyo’s Update Profile or Create Event API to store collected data.
The chatbot can ask users for details such as:
Email
Address
Customer Satisfaction (CSAT) feedback
Once collected, the data is sent to Klaviyo and stored for future automation.
Additional Integration Options
You can also connect Wati and Klaviyo using third-party automation tools:
Zapier – Automate workflows between Wati and Klaviyo.
Pabbly Connect – Another automation tool to sync data between both platforms.
By following these steps, you can seamlessly integrate Wati with Klaviyo and enhance your WhatsApp marketing automation!
Frequently Asked Questions (FAQs)
General Questions
1. Do I need a paid Wati and Klaviyo subscription for this integration?
→ Yes, both Wati and Klaviyo require active subscriptions to use this integration.
2. Can I send WhatsApp messages from Klaviyo without Wati?
→ No, Wati is required to send WhatsApp messages as it provides the necessary API access.
Setup & Configuration
3. How do I find my Wati Access Token?
→ You can find your Wati Access Token by logging into your Wati dashboard and navigating to the API Docs section.
4. What if my webhook execution fails in Klaviyo?
→ A failure is expected during testing due to the invalid phone number placeholder. Ensure that the request body is correctly formatted and that real data is used in a live environment.
5. How do I add more variables to my WhatsApp template message?
→ In Klaviyo, click View profile & event properties to find additional variable values like ##{{ person.first_name|default:'' }} and include them in the request body.