The integration between Klaviyo and Kanal lets you trigger a WhatsApp template send directly from a Klaviyo flow. There are two methods:
Method 1: a Kanal "Incoming Webhook" automation, called by a Webhook block in your Klaviyo flow. You can chain other actions after the template.
Method 2: the "Send from Klaviyo Flows" button on a template page, which sends the template directly, without an automation.
Example used in this guide: a visitor fills out the Klaviyo pop-up on your site (email + phone number) and gets added to a Klaviyo list, which triggers a flow. That flow calls Kanal, which automatically sends a VIP club welcome WhatsApp template with a promo code.
On Kanal: create an automation with the Incoming Webhook trigger and add the template to send.
On Kanal: copy the connection details (destination URL, authorization header, JSON body).
On Klaviyo: add a Webhook block to your flow and paste these details into it.
On Kanal: activate the automation.
Go to the Automations section.
Click Create Automation at the top right, then start from scratch.
In Trigger Type, select Incoming Webhook.
Give your automation a name (for example Flow Klaviyo), then confirm with Create Automation.

In the editor, you see the Trigger Element (Incoming Webhook) node. Click Add an Action, choose Send Template and create the WhatsApp template to send when Klaviyo calls the webhook.
In our example, the template thanks the customer for joining the VIP club and shares a 10% promo code. You can include variables (like the contact's first name) that are filled with the data sent from Klaviyo.
Click the Incoming Webhook node: a side panel opens on the right with the data to copy over to Klaviyo. Each field has a copy icon.

Destination URL: your automation's unique URL, in the format https://api.getkanal.com/api/v1/automations/....
Headers: the Authorization key and its value, your token in the format Bearer xxxxx. This token is confidential, do not share it.
JSON Body example: the request body to send. Enable Format JSON for Klaviyo to get Klaviyo's syntax directly.
Go to Klaviyo, in the relevant flow (in our example, a flow triggered when a contact is added to a list after filling out the site pop-up).
Add a Webhook block where you want it in your flow, then open its Webhook details.
In Destination URL, paste the URL copied from Kanal.
In Headers, click Add header and enter the key Authorization.
In the matching Value field, paste your Bearer xxxxx token.
In JSON body, paste the JSON body copied from Kanal.

The JSON contains the contact's phone number and your template variables, filled with data from the Klaviyo profile:
{
"phone_number": "{{ person.phone_number|default:'' }}",
"variables": {
"name": "{{ person.first_name|default:'' }}"
}
}Click Save, then switch the block to Live to activate it.
Besides phone_number and variables, Kanal accepts the name, first_name, last_name, email and shopify_customer_id fields at the root of the JSON. They are used to identify or complete the contact. If the number is unknown, Kanal creates the contact. The email is only added if the contact does not already have one.
Activate the automation in Kanal. If it is inactive, Klaviyo's call is rejected with the error "Automation is not active" and no message is sent.
If you want to fill one of your template variables with a specific piece of Klaviyo data:
Click "View profile & event properties".
Click the name of the property you want (it will be copied automatically).
Paste it between the quotation marks of the matching variable in the JSON body.
Check that the Kanal automation is active.
Check the automation's re-entry settings. If the contact already went through the flow and re-entry does not allow it, they are blocked with no error on the Klaviyo side.
Check that the template is approved by Meta.
Check that the Klaviyo profile's phone number is valid, in international format.
When Klaviyo is connected to Kanal (see Klaviyo integration with Kanal), each template page shows the Send from Klaviyo Flows button. It opens a wizard that gives you the Webhook block setup to paste into your Klaviyo flow. This block calls the Kanal API with the Klaviyo contact's email, the template, the phone number, the name and the variables.
The template page then shows the log of received calls, with a link to the original Klaviyo flow. This method sends the template directly, without going through an automation.
If your template has quick reply buttons, you can trigger an automatic follow-up when the customer clicks. See How to handle replies to a template sent from Klaviyo.