Tag customers automatically
Northwind Coffee wants buyers who spend $5,000 within 60 days to move into the group "Wholesale Tier A" without anyone clicking. An Auto tags rule adds the tag wholesale-a for you.
Before you start
- A group that uses the tag you will add: How to create a customer group.
- Know that tags move customers between groups, which changes their prices and rules at their next cart update.
Create the rule
-
Open Auto Tags and click Create rule
Go to Customers › Auto Tags and click Create rule. Enter a Rule name such as
Spent $5,000 in 60 days.
-
Choose when (1. When)
Pick the Event:
Event When the rule runs Customer created An application from the Sol sign-up form is approved (by you or automatically) and Shopify creates a new customer for it. Buyers who already had an account, and customers created any other way, don't trigger it. Order created A customer places an order. Order paid An order is paid. Order fulfilled An order is fulfilled. Order canceled An order is canceled. Choose Order paid.

-
Add the condition (2. If)
Set Match to All conditions match, add a condition with Field Total spent in last N days, Operator ≥, Value
5000and Days60. Order conditions can only look back 1 to 60 days.
-
Choose the action (3. Then)
Add the action Add customer tag with the tag
wholesale-a. Adding a tag a customer already has does nothing, so repeated runs are safe.
-
Save as Active
Set Status to Active (or Draft to keep it switched off) and click Save in the bar at the top. Rules run within a minute of each event. You can have up to 20 rules.
[!WARNING] Rules run on new events only. They do not go back through past orders, and there is no option to apply a rule to existing customers.
Check it works
- Place a test order that meets the condition, then pay it.
- Open History (on the list) after a minute. The Result column reads, for example, "Tag wholesale-a added" or "Skipped · already has wholesale-a".
- Open the customer in Shopify to confirm the tag.
A rule's page also shows a Last 30 days box with how many times it Ran, Changed and had Errors.

Check that its status is Active, that the event is right, and look in History for Skipped or Failed. For Customer created, the rule runs only when an approved application from the Sol sign-up form creates a new customer. Buyers who already had an account don't trigger it.
Related articles
- How to create an auto tag rule
- Auto tag history and how rules run
- What happens when you change a group's tag
← Review and approve wholesale applications Offer Net 30 terms with Pay later →