Choose orders for a Klaviyo cross-sell flow

Filter the current Shopify order before offering a spare cap to bottle buyers.

Creative operations2 min read

A customer who buys an insulated bottle may need a spare cap. If the cap is already in that order, the offer adds nothing. Use the order that starts the flow to decide whether to send the offer.

Compare three orders

In this fictional Shopify store, the flow starts on Shopify's Placed Order metric. Its trigger filter requires the order's Collections to include Bottles and exclude Spare caps.

Current orderEarlier purchaseTrigger filter
Bottle onlyNonePasses
Bottle and spare capNoneFails
Mug onlyBottleFails

The bottle in an earlier order has no effect on the mug order's trigger filter. Klaviyo evaluates the triggering event at entry for a metric-triggered flow. Klaviyo flow triggers and filters.

Check the event and configure the filter

  1. Open Shopify's Placed Order metric and inspect the details of an order in its activity feed. Check the top-level Collections values. Use the exact names from your own event. Klaviyo's Shopify data reference.
  2. Select that Placed Order metric in the flow. Open Trigger Filters and set both Collections conditions to type List. Set one to contains Bottles and the other to doesn't contain Spare caps. Join them with AND. The doesn't equal operator can let a mixed order through because its list contains other collections too. Klaviyo's trigger filter troubleshooting guide.
  3. Compare the condition with a bottle-only order and a bottle-and-cap order. If the cap's collection is missing from the event, check the product's Shopify collection and the event data before relying on the filter.

If the offer should also skip customers who bought a cap earlier, use a separate profile filter for purchase history. Klaviyo checks profile filters at entry and again before actions such as sending a message.

Developer tools
All guides
Choose orders for a Klaviyo cross-sell flow | Formatry Media — Formatry