Send a WhatsApp template from Klaviyo Flows
Last updated
Last updated
From your Klaviyo Flows, you need to add the “Webhook” block to the desired location in your automation:
Once the block has been added, you need to configure it for Webhook. To do this, follow the instructions in the photo below.
Destination URL In the Destination URL field, enter the following link: https://api.getkanal.com/api/v1/templates
Headers
You need to add an “Authorization” key and, in the value field, put “Bearer” followed by your KANAL API key (note that there must be a space between “Bearer” and the KANAL API key).
To generate your KANAL API key, follow this tutorial: “In progress”.
Once the link has been set up, the values to be passed must be configured as follows:
To enlarge the screen below, click on the “Expand” button as shown below:
For the values to be passed, you can copy the minimum frame from the Kanal interface as shown on the screen below:
Once the frame is copied and pasted into Klaviyo, you need to change the “phone_number” and “variables” to match the Klaviyo properties (see example below).
Be careful not to change the “template_id”, as it carries the message information that will be sent!