BFCM in 12 days

Free checklist & audit
Shopify Flow/Order Tagging & Segmentation/How to Tag Orders by Online Store vs. Admin Creation Source
Operational EfficiencyMedium Difficulty

How to Tag Orders by Online Store vs. Admin Creation Source

Automatically tags orders based on whether they originated from your online store or were created manually as a draft order by staff, enabling precise segmentation.

The Problem

Manually identifying the source of each order for reporting, customer segmentation, or fulfillment can be incredibly time-consuming and prone to human error. Without clear tags, merchants risk inaccurate sales analytics, misdirected marketing efforts, and inconsistent order processing, leading to wasted staff hours and potentially flawed business insights.

What This Automation Solves

This Shopify Flow automation eliminates manual effort by automatically tagging orders at the moment of creation. It uses an 'Order created' trigger, then conditions to check the 'App name' property. If the order originated from 'Draft Orders' or 'Online Store,' it applies a specific tag (e.g., 'admin_draft' or 'online_created') to the order.

When to Use This Automation

  • You need to quickly differentiate self-serve customer purchases from orders created by your team (e.g., phone orders, manual adjustments).
  • Your marketing or analytics tools require order source data to segment customers for targeted campaigns or accurate performance measurement.
  • Your fulfillment process or third-party logistics (3PL) partner requires specific handling instructions based on where an order originated.

Workflow

  1. Trigger

    Step 1

    Starts when a new order is created.

  2. Condition

    Step 2

    Checks if the order came from Draft Orders.

  3. Action

    Step 3

    Tags the order (True branch).

  4. Condition

    Step 4

    Checks if the order came from Online Store (False branch).

  5. Action

    Step 5

    Adds the online_created tag.

Step-by-Step Setup

  1. 1

    Start a new workflow with the 'Order created' trigger.

  2. 2

    Add a 'Condition' block and set it to 'Order > App name' 'is equal to' 'Draft Orders'.

  3. 3

    In the TRUE branch, add an 'Action' block: 'Order > Add order tags', and enter a tag like `admin_draft`.

  4. 4

    In the FALSE branch of the first condition, add another 'Condition' block: 'Order > App name' 'is equal to' 'Online Store'.

  5. 5

    In the TRUE branch of this second condition, add an 'Action' block: 'Order > Add order tags', and enter a tag like `online_created`.

Related Questions

How do I differentiate orders made by customers from those made by staff?
This Flow specifically addresses that by checking the 'App name' field upon order creation. Orders from 'Online Store' are customer-initiated, while those from 'Draft Orders' are staff-created.
Can this flow tag orders from other sales channels like POS or Facebook?
Yes, you can extend this Flow by adding more 'App name' conditions for other channels. For example, add a condition for 'Point of Sale' to tag `pos_created` orders.
What happens if an order is duplicated from an existing order?
If an order is duplicated, its 'App name' origin will reflect the app where the *duplicate* was created, not necessarily the original. For example, duplicating an old order in the Shopify Admin will likely register as a 'Draft Order' if done manually.
Why is it important to know if an order came from the online store or a draft?
Knowing the origin allows you to analyze customer behavior, measure marketing campaign effectiveness more accurately, segment customers for targeted communication, and streamline internal processes like fulfillment or accounting by differentiating order types.

Recommended Tools & Apps

Launch this automation

Open Shopify Flow and use this page as your setup blueprint.

Open Shopify Flow

Merchant Insight

Always use distinct, clear tags like `origin_online_store` and `origin_admin_draft` rather than generic ones. This level of granularity improves reporting accuracy, prevents confusion if you expand to more order sources, and ensures future

Related Automations