Why tag orders automatically
Tags are how most stores sort their work in Shopify. You can filter the Orders list by tag and save the filter as a view, check tags in Shopify Flow conditions, and build customer segments from customer tags and automated collections from product tags. Many shipping, fulfillment and email apps read them too.
Tagging by hand doesn't keep up. Tags get missed on busy days, spelled two ways, and left on after they stop being true. Rules fix all three, because every order is checked the same way, every time.
Tags that save time every day:
- High value: orders at or above an amount, to check before they ship.
- First order: a customer's first order, to add a thank-you card.
- Express shipping: orders with an express, next day or overnight shipping method, to pack first.
- High risk: orders that Shopify's fraud analysis rates as high risk, to check before fulfilling.
- Pre-order or Backorder: orders with items you can't ship yet.
- Late to ship: orders still not shipped some days after they were placed. To email those customers as well, see how to email customers when their order is delayed.
- VIP: customers whose lifetime spend has reached an amount.
Your options
| Option | What it does | The catch |
|---|---|---|
| Tag by hand | Select orders in the Orders list and choose Add tags | Fine for a one-off clean-up; new orders aren't tagged |
| Shopify Flow | Adds tags to each new order that matches a workflow's conditions | One workflow per rule; the orders you already have, and tags that should come off, need more workflows |
| An app such as iTags | Tags orders, customers and products from rules, new ones and the ones you already have | Needs an app; iTags is free |
How to tag orders with Shopify Flow
Shopify Flow is Shopify's free automation app. A tagging workflow takes four steps:
- Install Shopify Flow from the Shopify App Store and create a workflow.
- Choose the Order created trigger.
- Add a condition, such as the order's total being 200 or more.
- Add the Add order tags action, enter the tag and turn the workflow on.
From then on, Flow tags each new order that matches. Before you rely on it, know its limits:
- It doesn't tag the orders you already have. A workflow runs when its trigger happens. For older orders, select them in the Orders list and choose Add tags, or build a scheduled workflow with Get order data, which returns at most 100 orders each time it runs.
- A tag stays on when the order stops matching. Taking it off needs another workflow, with the Remove order tags action and a trigger for the change, such as Order fulfilled.
- Other apps can overwrite a new tag when they edit the same order right after Flow does. Shopify suggests adding a Wait step before the tagging action if that happens.
How to tag orders automatically with iTags
iTags checks each order, product and customer against your rules, and adds or removes tags as they match. To set up a rule:
- Install iTags and open Rules. Choose Browse templates to start from one of 75 ready-made rules, such as High value, First order, Express shipping or High risk, or choose Create rule.
- Under Applies to, choose orders, products or customers.
- Add conditions, and choose whether a record has to match all of them or any of them. Order rules can check the total, discounts and discount codes, the shipping method and country, payment and fulfillment status, fraud risk, the customer's order count and spend, and each line item's product, SKU, vendor, tags or stock.
- Enter the tags to add or remove. Tag with a value makes a tag from the order itself, such as Country: CA from the shipping country, or Code: WELCOME10 from a discount code.
- Choose what else the rule does. Remove added tags when an order stops matching takes off only the tags the rule added, so a tag someone added by hand stays. You can also Add tags to the order's customer, Add a line to the order's note, or have the added tags expire a set time later.
- Under Test this rule, pick an order to see whether the rule matches it: each condition shows its result as you edit. Then turn on Rule is on and save.
The rule checks an order when it's created and each time it changes. Product rules also run when a product's stock changes, so a tag such as Low stock comes off once the product is restocked.
Tag the orders you already have
Go to Past records and choose Run rules. Pick orders, products or customers, the dates and the rules to run, then choose Preview: you see how many records the run covers and what it would change on the latest few. Nothing is tagged until you choose Apply rules. iTags can read your orders of the last 60 days, so older orders aren't checked; every product and customer is.
Undo changes and clean up old tags
Activity lists every tag change iTags makes, and keeps it for 90 days. You can undo a whole run, or the changes one rule made, between two dates if you like. If the rule is still on, turn it off first, or it tags the records again the next time it checks them, if they still match.
The Tag manager renames, merges or deletes tags in bulk on orders, products or customers, so a tag spelled two ways becomes one. On orders, it reaches the last 60 days.
Use iTags with Shopify Flow
iTags adds two triggers to Shopify Flow, Order tagged and Product tagged, which start a workflow when iTags rules add tags. It also adds three actions, Run order rules, Run product rules and Run customer rules, which check a record against your rules from inside a workflow.
