Articles on: Integrations

How to trigger WhatsApp Messages inside of Klaviyo

How can I trigger WhatsApp Messages from a Klaviyo flow?

It's easy to connect Coco Webhooks to Klaviyo to trigger a WhatsApp Message from an existing Klaviyo flow without any devs.

Step 1: Configure the Webhook in Coco

Navigate to the Webhook section of the Coco dashboard in the Left hand menu and click on Webhooks. Within the Webhooks page Click the "Create Webhooks" button.

Step 2: Enter the Webhook information

  1. Create a name for the webhook. (Best practice is to name the webhook after what you are using it for (ie. Klaviyo Browse Abandon Flow Recovery #3)
  2. Select or Create a Template.
  3. The Topic and Whitelisted integration will be preselected for the types of messages and integrations you can select.
  4. Once you have selected a template click Create Webhook.


If you have already created an Automation or Campaign Template you can Select it from the Dropdown.

If you need to create a template you can do so with the "Create new template" button. It will open up the template editor.


Step 3: Add a Webhook to your Klaviyo flow

When you create the webhook in Coco this screen will appear with all of the information you need. Leave this page open so it's easy to copy and paste the information into Klaviyo. The key information to copy into Klaviyo will be on this pop up.

Create a webhook action

Just click this link to log into your Klaviyo account and head over to the flows page.  From there, find the flow you want to integrate and click to edit it.

On the left pane of the flow editor, find "Webhooks" from the list of available Actions in the left menu, and click+drag to your flow:



Configure the webhook

Copy each field from the Coco pop up and place them in the same named field inside of Klaviyo webhook. Everything is a perfect pair so there should be a field to copy and field to paste in each system.

  1. Copy and paste the Destination URL.

[](https://storage.crisp.chat/users/helpdesk/website/-/4/4/6/8/446866ebdb59bc00/klaviyo-webhook-destination-ur_18x5ly8.png)


  1. You will need to create a 2nd Header. (THERE SHOULD BE 2 TOTAL).

  1. Add x-coco-id into Header 1. AND add x-coco-secret into Header 2.
  2. Then add the Values for each into the corresponding Value Section.



  1. Next Copy and paste the JSON payload into the JSON Payload section


Remove the content that was added to the "JSON body" input and copy and paste the below content exactly as-is into the "JSON body" field:

{
"phone_number": "{{ person.phone_number }}",
"email": "{{ person.email }}"
}


This is what it should look like fully filled in.



After you name and save your Webhook you will see dashboard.my-coco.ai in the field.

And Confirm the webhook is live in Coco.

Your webhooks is live!

Don't Forget to turn on the Block in Klaviyo!

If you haven't already, don't forget to turn on the send block to start sending messages between Klaviyo and Coco! Be careful when testing the webhook you may have added customers to the flow in Coco that will be sent postcards when the send block is enabled. To prevent this, make sure you clear any pending events in the flow prior to enabling the send block.

Updated on: 11/07/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!