Karla optimises the post-purchase experience for online shops and sends shipping triggers to Klaviyo. Through Chatarmin you use these triggers for WhatsApp. Chatarmin is the channel, Klaviyo is the connection in between.
You need Karla's "Notify" package, which provides the shipping triggers to Klaviyo and therefore to Chatarmin. Your Chatarmin account also has to be connected to your Klaviyo account.
- Karla sends a shipping event such as out for delivery, parcelshop or damaged to Klaviyo.
- In the Klaviyo flow, this trigger is followed by a webhook action with the destination URL, key and value from your Chatarmin flow.
- The Chatarmin flow starts with "Klaviyo Webhooks" as its starting point.
- The "Send campaign" action sends your WhatsApp template.
The JSON payload in the Klaviyo webhook and the payload body in the Chatarmin flow have to be identical. The guide provides these fields:
| Field | Content |
|---|
email | Email address from the Klaviyo profile |
phone | Phone number from the Klaviyo profile |
firstname | First name from the Klaviyo profile |
carrier | Carrier from the Karla event |
order_number | Order number |
tracking_number | Tracking number |
carrier_url | Tracking URL from the Karla event |
zip_code | Postcode |
karla_trackpage_url | Link to your shop's tracking page with order number and postcode |
You adapt the first part of karla_trackpage_url to the address of your tracking page. Depending on the Karla trigger, you can add further event properties to the payload, for example for the parcel shop, parcel locker or neighbour's address.
You create a template of the type Utility, because these are transactional messages, for example delivered_to_parcelshop as a reminder to collect a parcel from the parcel shop. The template gets an "Open website" button. The URL in the template is only a placeholder: in the flow you select "API: karlatrackpageurl" for the button. You can also use payload values such as the first name or order number as variables in the template's message text.
You'll find the step-by-step guide in our Help Center.