You will learn
Learn how to create a metric-triggered, also called event-triggered, flow that is used to email subscribers when they take a certain action. These actions correspond with "metrics," or events, in Klaviyo. Available metrics are found under Metrics in the Analytics tab in your account and are typically synced through your ecommerce integration or as custom events. However, it's important to note that clicks, opens, and received email metrics are not available for selection to trigger a flow.
Some common examples of metric-triggered flows include:
- Abandoned cart (triggered by the Started Checkout metric)
- Post-purchase (triggered by the Placed Order metric)
- Browse abandonment (triggered by the Viewed Product metric)
- Product review (triggered by the Placed Order metric)
Contacts will receive a metric-triggered flow every time they complete the corresponding action unless you add filters to the flow that specify otherwise. For example, if someone places an order and receives your post-purchase flow, and then places another order a month later, they will re-trigger the flow and receive the same emails again.
Configure a metric-triggered flowConfigure a metric-triggered flow
To create a metric-triggered flow:
- Create a new flow.
- Select Metric in the sidebar.
Next, you will be prompted to select the metric that will trigger the flow. Available metrics will vary from account to account and depend primarily on the integrations you are using and any custom metrics you have set up. Most integrations come with their own metrics. Below, you can find the metrics that are synced with popular ecommerce integrations:
If you'd like to create custom metrics, visit our developer portal.
For more information on which metrics are synced with your integration, how often those metrics are synced, and what metric data is available, you can find the corresponding help documentation in the Klaviyo Help Center or in the integration's help center.
Performance metrics such as Opened Email and Clicked Email cannot be used to trigger flows.
Optionally, you can add trigger and flow filters to further refine who is added to the flow — for example, restrict your post-purchase series to:
- People who bought a specific product
- People who are first-time customers (have never placed an order before)
- People who bought a certain number of items
- People who bought from a specific category/collection
- People who spent a specific amount of money
Once you set a particular metric to trigger the flow, you will not be able to change it to a different one. In order to do this, you will need to clone the flow and change the metric that triggers the flow.
How a metric-triggered flow worksHow a metric-triggered flow works
Whenever someone takes the action (metric) that triggers the flow, they will be queued up to receive the email sequence. For a post-purchase, for example, you would select the Placed Order metric, and then everyone who places an order will be queued up.
Contacts will receive a metric-triggered flow every time they take the associated action. If someone takes an action and later repeats this action, they will re-trigger the flow. If you would like to narrow the scope of your flow, you can set up flow and trigger filters.
If you are relying on an integration for a metric — e.g., the Placed Order event from Magento 2, which syncs with the integration every half-hour — you will want to pay attention to how often the integration syncs when configuring the timing of your flow. If you have a metric-triggered flow that is set to send immediately, recipients may not actually receive the email immediately, depending on the frequency of the sync. Shopify and BigCommerce metrics sync in real time.
Additional resourcesAdditional resources
See how to create metric-triggered flows: