When to use the Klaviyo metric trigger versus the Klaviyo webhook trigger
You can use the Klaviyo metric trigger, when you want to start a charles flow right after an event occurs in Klaviyo. It does not require any configuration in Klaviyo.
If you want to trigger charles flow from a Klaviyo flow, then use the Klaviyo webhook trigger instead.
Example use cases
Send a back-in-stock notification via WhatsApp
Send a WhatsApp message when an email landed in spam
Setup
Create a flow with Klaviyo metric trigger
Make sure the Klaviyo app is installed. If you haven't installed it yet, check Getting started: Install the Klaviyo v2 integration
Go to Journeys
Create new flow
Select "Klaviyo metric trigger"
Select the event you want to trigger the flow with
Using variables from the trigger in the flow
In the Define Variable node
You can access variables by using KLAVIYO_METRICS_TRIGGER
, for example
{{ KLAVIYO_METRICS_TRIGGER.cart_value | append: " β¬" }}
In the Condition node
You can find all properties that are available in the event under Flow variables
In the variable picker
You can access the event properties under "Klaviyo Metrics Trigger"