Shopify Flow is the most underutilised tool in the Shopify ecosystem. Available on Shopify, Advanced, and Plus plans, it provides visual workflow automation that can replace hours of manual operations work — tagging customers, managing inventory, flagging fraud, routing orders, and triggering notifications based on store events.

Most stores that have Flow enabled use it for one or two basic workflows: tagging high-value customers or sending a Slack notification when inventory is low. That scratches the surface. Flow can handle complex multi-step automations with conditional branching, time delays, API calls to external services, and cross-object data manipulation.

This guide covers practical Flow workflows we build and deploy through our Shopify development work — not theoretical examples, but real automations running on live stores. We also cover the limitations, debugging approaches, and scaling patterns that documentation rarely mentions. If you are already using basic Shopify Flow automations, this takes you to the next level.

What Shopify Flow does and does not do

Flow is an event-driven automation engine built into the Shopify admin. It works on a trigger-condition-action model: when something happens in your store (trigger), Flow evaluates whether certain criteria are met (condition), and if they are, executes one or more actions.

What Flow handles well:

  • Internal Shopify automations — anything involving orders, customers, products, inventory, and fulfilment within Shopify.
  • App integrations — many Shopify apps expose Flow triggers and actions, allowing cross-app automation.
  • Simple notifications — email, Slack, and in-app notifications based on store events.
  • Data transformation — tagging, metafield updates, and property changes on Shopify objects.

What Flow does not handle well:

  • Real-time processing — Flow executes asynchronously with a delay of seconds to minutes. Do not use it for anything that must happen instantly.
  • Complex data aggregation — Flow cannot query historical data, calculate running totals, or perform analytics.
  • UI/frontend automation — Flow operates on the backend only. It cannot change what customers see on the storefront directly.

The best Flow automations are invisible. They remove repetitive manual tasks from your operations without anyone noticing they are running — until you turn them off and the manual workload suddenly reappears.

Shopify Flow visual workflow builder showing trigger, condition, and action blocks
Flow’s visual builder uses a trigger-condition-action model. Complex workflows chain multiple conditions and actions in sequence.

Trigger types and event architecture

Flow triggers are events in your Shopify store that start a workflow. Understanding which triggers are available and what data they carry is fundamental to building effective automations.

Order triggers

// Key order triggers and their use cases:

// Order created — fires when a new order is placed
// Use: fraud scoring, customer tagging, inventory alerts, notification routing

// Order fulfilled — fires when an order is marked as fulfilled
// Use: post-purchase email triggers, review request scheduling, loyalty points

// Order cancelled — fires when an order is cancelled
// Use: inventory restocking, customer win-back tagging, refund alerts

// Order risk analysed — fires after Shopify's fraud analysis completes
// Use: high-risk order flagging, manual review queue, auto-cancellation

Customer triggers

Customer triggers fire when customer records are created or updated. These are essential for segmentation automations that feed into your Shopify Plus customisation strategy and marketing stack.

Product and inventory triggers

Product triggers fire on product creation, update, and deletion. Inventory triggers fire when stock levels change. These power the inventory management workflows that are often the most valuable Flow automations for growing brands.

Building conditional logic

Conditions are the intelligence layer in Flow. They evaluate whether the trigger data meets specific criteria before executing actions.

Simple conditions

// Example: Tag VIP customers
// Trigger: Order created
// Condition: Order total > £500
// Action: Add tag "VIP" to customer

// Example: Flag international orders
// Trigger: Order created
// Condition: Shipping country is not "United Kingdom"
// Action: Add tag "international" to order, send Slack notification

Compound conditions

Flow supports AND/OR logic for combining multiple conditions. This is where workflows become genuinely powerful:

// Example: Identify wholesale-ready customers
// Trigger: Order created
// Conditions (ALL must be true):
//   - Customer total orders > 5
//   - Customer total spent > £2,000
//   - Order contains products tagged "wholesale-eligible"
// Actions:
//   - Add customer tag "wholesale-prospect"
//   - Send email to sales team
//   - Create task in project management tool (via HTTP action)
Shopify Flow conditional logic builder showing compound AND/OR conditions
Compound conditions combine multiple criteria with AND/OR logic, enabling nuanced automation that would be impractical to do manually.

Inventory management workflows

Inventory automation is where Flow delivers the most immediate operational value. These workflows prevent stockouts, automate reordering alerts, and manage product visibility based on stock levels.

Low stock alert with supplier notification

// Trigger: Inventory quantity changed
// Condition: Inventory quantity <= reorder threshold (stored in product metafield)
// Actions:
//   1. Send email to purchasing team with product details and current stock
//   2. Add product tag "low-stock"
//   3. Update product metafield "last_low_stock_alert" with current date
//   4. (Plus) HTTP POST to supplier API with reorder request

Automatic product hiding on zero stock

// Trigger: Inventory quantity changed
// Condition: Total inventory across all locations = 0
// Actions:
//   1. Set product status to "Draft" (hides from storefront)
//   2. Add tag "auto-hidden-no-stock"
//   3. Send notification to merchandising team

// Complementary workflow to republish:
// Trigger: Inventory quantity changed
// Condition: Product has tag "auto-hidden-no-stock" AND inventory > 0
// Actions:
//   1. Set product status to "Active"
//   2. Remove tag "auto-hidden-no-stock"
//   3. Send notification confirming republication

Dead stock identification

// Trigger: Scheduled (daily) — requires a scheduled trigger app connector
// Condition: Product last ordered date > 90 days ago AND inventory > 10
// Actions:
//   1. Add product tag "dead-stock"
//   2. Send merchandising report email with affected products
//   3. Create a collection "Clearance Candidates" from tagged products

Customer segmentation and tagging

Automated customer tagging powers personalised marketing, targeted promotions, and intelligent workflow routing. The tags Flow applies can be used in Shopify Segments, Klaviyo integrations, and Liquid template logic.

Lifecycle stage tagging

// New customer identification
// Trigger: Order created
// Condition: Customer order count = 1
// Action: Add tag "first-time-buyer"

// Repeat customer upgrade
// Trigger: Order created
// Condition: Customer order count = 2
// Action: Remove tag "first-time-buyer", add tag "repeat-customer"

// Loyal customer recognition
// Trigger: Order created
// Condition: Customer order count >= 5 AND total spent >= £500
// Action: Add tag "loyal", remove tag "repeat-customer"

Product affinity tagging

// Trigger: Order created
// Condition: Order contains product with type "Supplements"
// Action: Add customer tag "category:supplements"

// Trigger: Order created
// Condition: Order contains product with tag "vegan"
// Action: Add customer tag "interest:vegan"

These tags become powerful when combined with basic Flow automations and your email marketing platform for targeted campaign sends.

Fraud detection automation

Flow can act on Shopify’s built-in risk analysis to automate fraud handling, reducing the manual review burden and speeding up order processing.

// Auto-cancel high-risk orders with specific signals
// Trigger: Order risk analysed
// Conditions (ANY):
//   - Risk level = "High"
//   - Billing country != Shipping country AND order total > £200
//   - Customer has tag "previously-fraudulent"
// Actions:
//   1. Cancel order
//   2. Restock inventory
//   3. Add tag "auto-cancelled-fraud" to order
//   4. Send notification to fraud review team
//   5. Add tag "fraud-flag" to customer

// Medium-risk review queue
// Trigger: Order risk analysed
// Condition: Risk level = "Medium" AND order total > £100
// Actions:
//   1. Add order tag "needs-review"
//   2. Send Slack message to operations channel with order details
//   3. Hold fulfilment (add fulfilment hold via API action)
Shopify Flow fraud detection workflow with conditional branching for risk levels
Automated fraud detection workflows handle high-risk orders instantly while routing medium-risk orders to a manual review queue.

Order processing workflows

Order routing and processing automations are particularly valuable for brands with multiple fulfilment locations, dropshipping relationships, or complex order types.

// Route orders by product type to different fulfilment teams
// Trigger: Order created
// Condition: Order contains product with tag "made-to-order"
// Actions:
//   1. Add order tag "production-queue"
//   2. Send email to production team with order details
//   3. Set order note: "MADE TO ORDER - Est. 5-7 working days"

// Gift order handling
// Trigger: Order created
// Condition: Order note contains "gift" OR shipping address != billing address
// Actions:
//   1. Add tag "gift-order"
//   2. Add order note: "GIFT ORDER - Do not include invoice in package"

// Subscription order flagging
// Trigger: Order created
// Condition: Order has selling plan attached
// Actions:
//   1. Add tag "subscription"
//   2. Add customer tag "subscriber"
//   3. Update customer metafield with subscription start date

API connectors and external integrations

On Shopify Plus, Flow’s HTTP request action enables integration with virtually any external API. This bridges the gap between Shopify and your other business systems.

// Example: Send new high-value orders to a CRM
// Trigger: Order created
// Condition: Order total > £1,000
// Action: HTTP POST request

// URL: https://api.your-crm.com/v1/deals
// Headers: Authorization: Bearer {{api_token}}
// Body:
{
  "deal_name": "Order {{order.name}} - {{customer.email}}",
  "amount": "{{order.total_price}}",
  "contact_email": "{{customer.email}}",
  "contact_name": "{{customer.first_name}} {{customer.last_name}}",
  "source": "shopify-flow",
  "stage": "new"
}

Common external integrations via HTTP actions include CRM systems (HubSpot, Salesforce), project management tools (Asana, Monday.com), warehouse management systems, accounting software (Xero, QuickBooks), and custom internal tools.

App connector ecosystem

Many Shopify apps provide native Flow connectors, adding triggers and actions without needing HTTP requests. Check whether your installed apps offer Flow integration before building custom HTTP calls — the native connectors are typically more reliable and easier to maintain.

Testing and debugging flows

Flow workflows cannot be tested in isolation — there is no “test run” button. You need to trigger them with real events. Here are the practical approaches:

  • Use a development store — create test orders, customers, and products to trigger workflows without affecting live data.
  • Add notification actions — during development, add a “Send internal email” action at each step so you can see which path the workflow took.
  • Check the activity feed — Flow’s activity log shows every execution with timestamps, conditions evaluated, and actions taken or skipped.
  • Start simple — build the trigger and one condition first. Verify it works. Then add complexity incrementally.
  • Document edge cases — what happens when the condition data is null? When the customer has no tags? When the order has zero line items after a partial refund?

Common debugging scenarios

// Issue: Workflow fires but action does not execute
// Check: Condition logic — does AND/OR match your intent?

// Issue: Workflow fires multiple times for the same event
// Check: Are multiple triggers firing? Order created + order paid can both fire for a single order.

// Issue: Tag already exists, action seems to do nothing
// Check: Adding a tag that already exists is a no-op. Use "has tag" condition to prevent redundant executions.

// Issue: HTTP action returns 4xx error
// Check: Authentication headers, JSON body formatting, API endpoint URL. Check the activity log for the response body.
Shopify Flow activity log showing workflow execution history with success and failure states
The Flow activity log is your primary debugging tool. Every execution shows which conditions passed, which actions ran, and any errors encountered.

Scaling automation patterns

As your automation library grows, organisation becomes critical. Follow these patterns from our B2B ecommerce and DTC client work:

  • Naming convention — prefix workflows with their category: [INVENTORY] Low stock alert, [CUSTOMER] VIP tagging, [ORDER] Fraud review, [NOTIFY] Slack ops alerts.
  • Document in the description — every workflow should have a description explaining what it does, why it exists, and when it was last updated.
  • Avoid circular triggers — a workflow that adds a tag triggers a “customer updated” workflow, which modifies the customer, which triggers another update. Use specific conditions to break loops.
  • Monitor execution volume — if a workflow fires thousands of times per day, consider whether the trigger is too broad.
  • Version your logic — keep a changelog (even a simple text file) of what workflows exist, when they were created, and what changes have been made.
  • Review quarterly — disable or remove workflows that no longer serve a purpose. Stale automations create confusion and can cause unexpected behaviour.

Automation maturity stages

  1. Stage 1: Notifications — Flow sends alerts for important events (low stock, high-risk orders, large orders). Human still takes action.
  2. Stage 2: Tagging and segmentation — Flow automatically categorises customers, orders, and products. Marketing and operations use these tags for targeting.
  3. Stage 3: Automated actions — Flow takes direct action (cancelling fraud, hiding out-of-stock products, routing orders). Human oversight is monitoring, not doing.
  4. Stage 4: Cross-system integration — Flow bridges Shopify with external systems via API connectors. Data flows between platforms without manual intervention.

Shopify Flow automation is a force multiplier for ecommerce operations. The workflows in this guide represent patterns we have built and refined across dozens of Shopify stores. Start with the workflows that address your biggest operational pain points — usually inventory management and customer tagging — and expand from there.

The compounding value of automation is significant. Each workflow you build saves minutes per day. Across 20+ workflows, that is hours of manual work eliminated every week. More importantly, automated workflows execute consistently, without human error, and without requiring staff availability.

If you need help building advanced Flow automations or integrating Flow with your external business systems, get in touch. Automation is a core part of our Shopify development services.