Skip to content
House of Marka
AppsServicesMarketplacesWorkInsightsCompanyStart a project
D2C & Growth5 min readBy

Shopify Flow Automations Triggered from the Cart: Four Ideas

Four Shopify Flow automations that start from cart events such as a reward unlocked or a deal accepted: tags, team alerts, email segments and gift stock.

Shopify Flow can act on what happens in the cart when a cart app sends it an event, such as a reward being unlocked or a deal being accepted. From there a workflow can tag the customer, alert your team to a high-value cart, feed an email segment, or warn you when gift stock is running low. This guide explains how cart triggers work in general terms, walks through those four ideas, and lists what to check before switching any of them on.

How does Flow connect to the cart?

Flow is Shopify's automation tool. Each workflow has three parts: a trigger that starts it, optional conditions that decide whether to continue, and actions that do something.

Shopify supplies its own triggers, for events such as an order being created. Apps can add more. A cart app that supports Flow can send a trigger when something specific happens in the cart, and those are moments Shopify would not otherwise report, because nothing has been ordered yet.

Which events are available depends on the app. Marka Cart Drawer provides Shopify Flow triggers when a reward unlocks or a deal is accepted, as part of its paid plans. The ideas below are written around those two moments; with another app, check which triggers it offers.

Before building anything, open the trigger in Flow and look at the information it passes along. What you can do in a condition or an action is limited to what the trigger tells you. Check as well that Flow is available on your Shopify plan.

Idea 1: tag customers by the offers they respond to

Tag a customer when they accept a deal or reach a reward, so you know later what moved them.

  • Trigger: deal accepted, or reward unlocked.
  • Condition: the customer is known.
  • Action: add a customer tag, such as 'accepted-cart-deal' or 'reached-gift-tier'.

The value comes later. Customers who take cart deals respond to a small extra at the right moment, and customers who reach your top reward tier place your larger baskets. Both are audiences you can treat differently next time; our guide to personalised cart offers for new and returning customers suggests how.

Idea 2: tell the team about high-value carts

Send an internal alert when a cart reaches your highest reward tier, so someone can give the order extra care.

  • Trigger: reward unlocked.
  • Condition: the reward is your top tier, if the trigger passes that detail.
  • Action: send an internal email or a message to your team's chat tool.

What the team does with the alert is the point: check stock for the items if you sell limited runs, prioritise packing, or add a handwritten note.

Set the bar high enough that alerts are rare. An alert that fires fifty times a day is ignored by the second day.

Do not use this to contact shoppers who have not finished buying. An unprompted message about a cart someone is still filling is intrusive, and marketing should go only to people who have agreed to receive it.

Idea 3: add customers to an email segment

Use the cart event to place a customer in a segment your email tool can act on.

  • Trigger: deal accepted, or reward unlocked.
  • Condition: the customer is known and has agreed to marketing.
  • Action: add a tag or property that your email platform uses to build a segment.

Many email platforms can build segments from Shopify customer tags, so a tag is often all the workflow needs to set.

Segments worth having:

  • Gift-tier customers: people who reached a free gift. A later email about the next gift is relevant to them.
  • Deal takers: people who accepted a cart-only deal on a product. A follow-up about that product's full-size version or refill makes sense.

A tag records behaviour; it does not give permission to email. Keep the consent condition in the workflow, and check the marketing rules for the countries you sell to.

Idea 4: watch gift stock

Get a warning before a free gift runs out, since a reward you cannot fulfil is worse than no reward.

There are two ways to build it:

  • From the cart event: when the gift reward is unlocked, check the gift product's inventory, and if it is below a level you choose, notify whoever manages stock.
  • From inventory: use Shopify's own inventory trigger for the gift product and alert at the same level. This is simpler, and it catches stock leaving for any reason.

Decide in advance what the alert leads to: reorder, switch the tier to a second gift, or replace it with a discount. Our guide to offering a free gift with purchase covers choosing a fallback.

What should you check before switching a workflow on?

Four things cause most of the trouble.

The shopper may be anonymous. A cart event can fire before Shopify knows who the visitor is. Actions that need a customer, such as tagging, only work when one is attached. Include a condition for it, and consider a matching workflow on the order-created trigger to catch customers who identify themselves at checkout.

Unlocking is not buying. A reward can be unlocked and the cart abandoned, or an item removed so the reward is lost again. If a tag should mean 'bought with the gift', base it on the order and not on the cart event.

The same event can fire more than once. A shopper who adds, removes and adds again may unlock the same reward twice. Make sure a repeat does no harm.

Test with a real cart. Run through the cart yourself on a test customer, then open the workflow's run history in Flow and confirm each step did what you expected.

A short checklist

  1. Confirm which cart triggers your cart app offers and what information each passes.
  2. Pick one idea and write it out as trigger, condition, action.
  3. Add a condition for the customer being known, and for marketing consent where email is involved.
  4. Decide whether the outcome should depend on the cart event or on the completed order.
  5. Test on your own cart and read the workflow's run history.
  6. Review tags and alerts after two weeks and remove what nobody uses.

Automations are only as good as the offers that set them off, so settle those first with our guide to what a Shopify cart drawer should contain. The Flow triggers mentioned here are listed with the other features on the Marka Cart Drawer page.

Work with us

House of Marka is the applied-AI and commerce engineering studio of Marka Modern Retail Private Limited. We research, advise and then build — for merchants and enterprises in the US, UK and Europe.