Shopify Flow Templates and Examples: 12 Workflows That Automate Your Store

AI agent creating

⏱ 13 min read

In our agency we have set up Shopify Flow for most of our clients, including Olique. Those workflows belong to the clients, so I am not going to publish them here. What I can show is the reasoning behind them, one Flow I designed for Alkoholfrei vom Winzer and have not built yet, and the places where I deliberately chose Klaviyo or a script instead. This article lists 12 Flow workflows worth knowing and gives my verdict on each: switch it on, leave it to Klaviyo, or skip it.

Where our automations actually live

On every job the same question comes up: Flow, Klaviyo, a script, or a person? I am Vlad, I founded Skalum, and I make this call at the start of a project, not at the end. Here is how it fell out across the stores I can talk about.

JobWhere it livesStatus
Store automations on most client stores, Olique among themShopify FlowSet up; the workflow details belong to the clients, so I do not list them
Hold multi-recipient gift orders (Alkoholfrei vom Winzer)Shopify Flow plus a scriptDesigned, not built
Welcome, abandoned checkout, cart, browse, post-purchase, delivered follow-up emails (US print-on-demand home décor store we built)Klaviyo, six flowsLive since 14 October 2026
Forwarding orders to the print supplier, which has no webhooksScheduled script with limitsBuilt, live mode locked until the owner switches it
PO Box and APO/FPO address checkWritten manual checkIn use

The pattern is boring but reliable. Flow handles things that happen inside Shopify and end in a tag, a hold or an internal message. Anything that sends a customer an email goes to Klaviyo. Anything that touches a system Flow cannot see goes to a script.

The Flow I designed and have not built: gift orders for several recipients

Alkoholfrei vom Winzer, a German shop for alcohol-free wine, wanted gift sets that can go to several recipients in one order. When I looked at the store with Claude Code, reading it through the Admin API without writing anything, there was no gifting or multi-address app, no Shopify Functions and no bundle app. The shop is on the standard Shopify plan, not Plus, so Flow is available and checkout.liquid is not. Flow plus a small script was the lightest option. The need is real: about one in seven recent orders already shipped to an address different from the billing address, while gift messages and order notes were never used.

  1. Each gift line item carries a hidden property (_gift_id).
  2. Trigger Order created, condition: a line item has that property.
  3. Actions: Add order tags (multi-recipient) and Hold fulfillment order.
  4. A script then creates one shipment per recipient and releases the hold.

The hold is the whole point. Without it the warehouse sees one order with one shipping address and sends every set to the buyer. A hold is cheap to undo; a wrongly shipped parcel of wine is not. In the admin mockup we built for the client, the order shows as held by Shopify Flow.

What I would do differently: I designed the workflow first and asked where the shop creates its DHL labels second. That is the wrong order. The workflow is the easy part; the script has to plug into the label step, and until I know where that is, I do not call the design finished. On the next job like this I ask for the shipping process before I draw a single trigger.

12 Flow workflows, with my verdict

Rows marked Template match a template on Shopify’s workflow examples page. Rows marked Pattern you assemble yourself from triggers and actions in the reference. The library changes, so search it by keyword. The last column is my judgement from client work. It is an opinion, not a measured result, and I do not publish client numbers for it.

WorkflowTrigger → condition → actionTypeMy judgement (opinion, not a measured result)
1. Low-stock alertInventory quantity changed → below threshold and prior quantity was not → internal email or SlackTemplateYes, for stock-held products. Never on print-on-demand: nothing runs out there.
2. Hide sold-out productsOut of stock / back in stock → optional tag → update product statusTemplateYes, with a tag you control, so it does not touch products you hid on purpose.
3. High-risk order reviewOrder risk analyzed → risk high → tag, hold fulfilment, emailPatternYes. Hold, do not cancel.
4. Capture payment only if safeOrder risk analyzed → not high-risk → capture paymentTemplateOnly if you capture manually; check with the payment setup first.
5. VIP and spend tiersOrder paid → lifetime spend above tier → customer tagTemplateTag, yes. Email from the tag, no: that belongs in Klaviyo.
6. Flag big quantitiesOrder created → quantity above normal → internal emailTemplateYes, cheap. Fits the address check too (workflow 11).
7. Review requestOrder fulfilled → wait → Klaviyo “Track an event”PatternKlaviyo does the sending; Flow only passes the event on.
8. Abandoned checkout recoveryCustomer abandons checkout → value minimum → wait, emailTemplateSkip. Our Klaviyo checkout flow already does this.
9. Tag B2B ordersOrder created → belongs to a company → tag, emailTemplateYes if you sell B2B; irrelevant otherwise.
10. B2B payment remindersPayment schedule due → unpaid → reminderTemplateYes if you sell on payment terms.
11. Address check (PO Box, APO/FPO)Order created → address contains “PO Box” or similar → tag and holdPatternThe one we would build first. We still do it by hand.
12. Flow error alertsWorkflow error occurred → none → emailTemplateYes, before anything else.

If you build three: the error alert (12), the high-risk hold (3) and whichever tag-and-hold check your store needs (11 or the gift flow above). Together they protect orders and tell you when the rest breaks.

Workflow 11 in our own words

On the Basic plan Shopify does not stop PO Boxes at checkout. Our rule on the store we built: before an order goes to production, check address lines 1 and 2 for “PO Box”, “P.O. Box”, “POB”, “APO”, “FPO” or “DPO”; on a match, cancel, refund in full and send a template email. Today that is a written manual check. It is a textbook Flow candidate, and we would automate the tag and hold, but leave the cancel and refund to a person.

Flow or Klaviyo: the rule that saved us double emails

On 11 October 2026 we wrote a setup guide for six Shopify Messaging automations for a US print-on-demand home décor store we built, Fifty Rooms. Three days later we replaced it with Klaviyo flows. The same exercise produced a “duplicates” list: every Shopify feature to switch off so that nobody gets two emails, including any Shopify Flow templates with emails (win-back, VIP): do not enable.

The six Klaviyo flows were created through the API as drafts, and I set them live on 14 October. They use the same trigger, condition, action logic as Flow, just in an email tool. The store was new, so I have no results to report, only the setup.

FlowTriggerTimingExit rule
WelcomeAdded to email listDay 0, +2, +2, +3Leaves after a first order
Abandoned checkoutCheckout started+1 h, +23 h, +2 dLeaves after an order; re-entry after 7 days
Abandoned cartAdded to cart+4 h, +1 dLeaves at checkout or order
BrowseViewed product+4 h, +2 dLeaves at cart, checkout or order; second email only for products from $129
Post-purchasePlaced order+1 hNone
Delivered follow-upFulfilled order+7 d, +7 dSecond email only without a new order

Three rules came out of this, and they apply to Flow just as much:

  • Priority between automations. Checkout beats cart beats browse. A shopper who takes the next step leaves the lower flow.
  • Write the worst case for one customer before switching anything on: how many messages can one person receive in 14 days if every automation fires? We capped sending with a 16-hour smart-sending window.
  • Some automations stay off on purpose. We never built back-in-stock or low-inventory emails for that store: nothing runs out in print-on-demand, so “only 3 left” would be false scarcity. Win-back and list-cleanup flows have written switch-on conditions (for example a minimum number of lapsed customers), not a date.

Emails with discount codes stayed on manual send, because coupons for Klaviyo can only be created in its interface.

The same split on client stores

At Olique, the olive-wood gift shop, six Klaviyo flows are live: welcome, abandoned checkout, abandoned cart, browse abandonment, win-back and post-purchase. In October we drafted v2 versions of post-purchase and browse abandonment next to them. The rule from Fifty Rooms is the one I carry to every store: customer email lives in Klaviyo, and a Flow template that would send the same message stays off.

For a German personalised-embroidery shop we have five draft Klaviyo flows waiting for the client’s approval: abandoned cart and browse flows that respect consent, and two post-purchase flows, “thanks and production” and “after delivery”. Made-to-order products need exactly that split, because the customer waits for production before anything ships. I leave drafts as drafts until the client says yes. More on what to send in our guides to the post-purchase flow in Klaviyo and the Klaviyo replenishment flow.

When a script beats Flow

The print supplier of the store we built has no webhooks, only polling, so there is no trigger for Flow to listen to. I run a scheduled script every 10 to 15 minutes instead, with guardrails: state plus order tags so the same order is never sent twice, a limit per order and per day, a “held” queue for anything odd, and a PO Box check. Live sending stays switched off until the store owner turns it on. Later we decided orders go through the supplier’s own app and the script stays as a watchdog.

That decision came from a real risk: the supplier app imports paid orders while my script forwards them too, and one order gets produced twice. The rule is simple: never run both paths at once. Before you build a workflow, check that no app or automation already does the same job.

The second rule is that every automation must be safe to run twice. On Valeaf, a German seed brand we moved from Amazon to Shopify, every script that wrote to the store ran as a dry run first. Even so, our FAQ publishing script created entries from scratch on each run instead of updating them, so a second run would have duplicated the collection FAQs. We now run a read-only audit before any re-run. A Flow workflow that sends emails or creates records has the same trap if two triggers fire for one event.

The third constraint I hit on 11 October: Flow workflows cannot be created or switched on through the Admin API. The API only has flowTriggerReceive, which sends an event into an existing workflow from an app with a Flow extension. It also does not show me the workflows a store already has, and the list of installed apps was closed to our token. So Flow is a merchant-admin tool: someone has to build it in the admin and own it, and I cannot ship it to a client as code.

How we use Claude Code around Flow

This is practice, not a product pitch. Because Flow cannot be deployed as code, the useful work happens around it.

  • Recon before design. The gift-order design above started with a read-only look at the store: plan, theme, apps, Functions, address statistics. It decided that Flow plus a script was enough.
  • Scripts do the writing, and they are boring on purpose. Between 5 and 25 October 2026 our scripts logged 8,418 runs across client work: 7,589 ok, 708 dry runs before a write, 67 errors. The logged API spend was $5.70, not counting model time. Dry-run first is a rule written into the repo, not a habit.
  • Hidden first, then live. For Olique we publish blog articles hidden and a person reviews them before they go live. I treat a Flow hold the same way: automation stops the risky thing, a human releases it.
  • Diff, backup, read-back. Our menu script for a German embroidery shop creates only new development menus, shows a diff before writing, backs up the previous version and re-reads after every write. The live navigation stayed untouched while the client reviewed. Flow has no such safety net, so I borrow the idea: test with one passing and one failing event, then watch the first real runs.

What I do not do: let an agent build or change a live Flow workflow on its own. Nothing in the API lets it, and I would not want it to.

Limits to check before you plan

These come from Shopify’s help pages (October 2026) and decided several of my verdicts.

TopicWhat Shopify documents
AvailabilityFree app on Basic, Grow, Advanced and Plus
Send HTTP requestGrow, Advanced and Plus; waits 30 seconds for a response
Custom partner-app tasksPlus only
Wait stepUp to 90 days per workflow
Run codeJavaScript, 5 seconds, 10 MB memory
Run historyKept for 14 days
Tag conditionsMay fail above 250 tags on an order, product or customer

The Klaviyo connector offers Track an event; the old “Create a campaign” action was retired on 16 October 2025 (Klaviyo Help Center). Shopify also warns of a delay between trigger and action, so do not rely on second-level timing.

Building and testing safely

Install the free app from the Shopify App Store and open Apps > Flow (Shopify Help Center). Every workflow is one trigger, optional conditions and actions, described in the Flow documentation and the create-workflow guide. Sidekick can draft one from a sentence; the result arrives switched off and tagged “sidekick” (changelog). Treat it as a first draft. More in our article on Shopify Sidekick and Magic.

Use Test your workflow with one passing and one failing event (Testing a workflow). A test changes nothing in your store, and it stops at the first action that would, so also watch the first live runs under Recent runs.

If you take over a store, check what already runs before you add anything. Open the Flow list in the admin, then look at the tags on customers and orders: a lifecycle or clean-up tag that nobody on the team remembers creating usually comes from a workflow or an app that is still running. Find its source before you build a second automation on top of it.

✅ Before you switch on any automation

No other app, Klaviyo flow or script already does this job
Worst case for one customer written down
Tested with one passing and one failing event
Safe to run twice: a second run updates, it does not duplicate
Owner named in the workflow note; hold has a human release step
“Workflow error occurred” alert active; monthly review, as runs are kept 14 days

When Flow is not enough

SituationWhy Flow strugglesBetter fit
No trigger exists (supplier without webhooks)Flow only reacts to eventsScheduled script with guardrails
Data in ERP, 3PL, helpdesk and ShopifyShort connector list; HTTP request is outbound and plan-gatedAn integration platform such as n8n
Custom triggers or actionsPartner-app tasks are Plus onlyA Shopify app built for your store
Reading free text: reviews, ticketsConditions compare fields, not languageAn AI agent with human review

Our agents are pilots or in development. What we automate today, a person still checks before anything goes live; see our guide to how to build AI agents, Shopify AI agents and the team page. For the wider picture, see our ecommerce automation services, ecommerce marketing automation and inventory automation. As a Shopify agency we review a client’s workflow list every quarter, and I would do the same for yours.

Need more than a template?

✉️

Email Marketing

Email flows built on your store data.

See email marketing →
📦

Product Feeds

Keep product data accurate across Google and Meta.

Fix my feed →
🛠️

Custom Shopify Apps

When Flow hits its limits, build exactly what your store needs.

Talk to us →
AI Agents FAQ

Frequently Asked Questions

Open Apps > Flow in the admin and read the list, including switched-off drafts. The Admin API does not list workflows, so you cannot script this. Cross-check with the tags on orders and customers: a tag nobody remembers creating often comes from a workflow.

The merchant, with a named person in the workflow note. The workflow lives in the merchant’s admin, runs history is kept for only 14 days and nothing can be deployed as code. We build and document; the shop owner decides what stays on.

Not through the API: workflows cannot be created or enabled there. An agent can read the store, draft the trigger-condition-action design, list the test events and write the scripts around it. A person builds the workflow in the admin and switches it on.

The workflow error alert, then a hold for high-risk orders. Both are cheap, both protect orders, and the alert tells you when anything else breaks. Tag-and-hold checks for your own risks, such as unusual addresses, come after that.

A hold is easy to undo, a wrong shipment is not. If the release is automatic too, a bad condition quietly ships everything it was meant to stop. In the gift-order design, a script releases the hold only after it has created one shipment per recipient.

It is enough for the stopping part: tag the order and hold fulfilment. Splitting the shipments needs a script, and the script has to plug into wherever you create shipping labels. Clarify that before you design the workflow.