---
title: "Send a WhatsApp template from a Klaviyo flow"
description: "Trigger a Kanal WhatsApp template send from a Klaviyo flow, with an Incoming Webhook automation or the Send from Klaviyo Flows button."
url: https://help.getkanal.com/en/articles/21-send-a-whatsapp-template-from-a-klaviyo-flow
collection: "Integrations"
updated: 2026-11-14
language: en
alternates: [fr-fr]
---

# Send a WhatsApp template from a Klaviyo flow

Trigger a Kanal WhatsApp template send from a Klaviyo flow, with an Incoming Webhook automation or the Send from Klaviyo Flows button.

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.

## Method 1: Incoming Webhook automation

1.  **On Kanal**: create an automation with the _Incoming Webhook_ trigger and add the template to send.
    
2.  **On Kanal**: copy the connection details (destination URL, authorization header, JSON body).
    
3.  **On Klaviyo**: add a Webhook block to your flow and paste these details into it.
    
4.  **On Kanal**: activate the automation.
    

### Step 1: create the automation in Kanal

1.  Go to the **Automations** section.
    
2.  Click **Create Automation** at the top right, then start from scratch.
    
3.  In **Trigger Type**, select **Incoming Webhook**.
    
4.  Give your automation a name (for example _Flow Klaviyo_), then confirm with **Create Automation**.
    

![](https://staticfiles.gleap.io/ghelparticle/SKhVCIsfHyMbhiLE3vZB9nuzX5FVgl0Bn2zRJtQQyhQiJG7M8lq7xPUOMiKOpNT5SEazGdPnv6K.webp)

### Step 2: add the template to send

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.

> **Warning:** Your template must be approved by Meta before it can be sent. If the alert "Template not approved. Please edit and submit" appears, submit the template for review first.

### Step 3: get the connection details from Kanal

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.

![](https://staticfiles.gleap.io/ghelparticle/hFSzuErydAQ2yEsm83RChJouTIRG6h2IeBM5B1EBgC8a6UYAY8y3GztSF40AcL8nYVqwn78E1Xm.webp)

1.  **Destination URL**: your automation's unique URL, in the format `https://api.getkanal.com/api/v1/automations/...`.
    
2.  **Headers**: the `Authorization` key and its value, your token in the format `Bearer xxxxx`. This token is confidential, do not share it.
    
3.  **JSON Body example**: the request body to send. Enable **Format JSON for Klaviyo** to get Klaviyo's syntax directly.
    

> **Info:** The "Format JSON for Klaviyo" toggle is not remembered: it switches back off every time you open the panel. Turn it on again before copying the JSON. If your template contains variables (first name, promo code...), declare them in the Variables section of the panel: they automatically appear in the JSON.

### Step 4: set up the webhook in your Klaviyo flow

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).

1.  Add a **Webhook** block where you want it in your flow, then open its **Webhook details**.
    
2.  In **Destination URL**, paste the URL copied from Kanal.
    
3.  In **Headers**, click **Add header** and enter the key `Authorization`.
    
4.  In the matching **Value** field, paste your `Bearer xxxxx` token.
    
5.  In **JSON body**, paste the JSON body copied from Kanal.
    

![](https://staticfiles.gleap.io/ghelparticle/IDxXIudWzWg4rYOglkKCbqo5OiNzhb0QFlVVftVuFdOPY0okwMkQSCSmxrU4080r38Zjb3O2cKE.png)

The JSON contains the contact's phone number and your template variables, filled with data from the Klaviyo profile:

```json
{
  "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.

### Step 5: activate the Kanal automation

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.

### (Optional) Use a custom Klaviyo property

If you want to fill one of your template variables with a specific piece of Klaviyo data:

1.  Click "**View profile & event properties**".
    
2.  Click the name of the property you want (**it will be copied automatically**).
    
3.  Paste it between the quotation marks of the matching variable in the JSON body.
    

### If a contact does not receive the message

-   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.
    

## Method 2: Send from Klaviyo Flows button

When Klaviyo is connected to Kanal (see [Klaviyo integration with Kanal](https://help.getkanal.com/en/articles/12-klaviyo-integration-with-kanal.md)), 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.

## Handle button replies

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](https://help.getkanal.com/en/articles/43-how-to-handle-replies-to-a-template-sent-from-klaviyo.md).
