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

Create the rule

  1. 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.

    Auto Tags list

  2. 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.

    When section

  3. Add the condition (2. If)

    Set Match to All conditions match, add a condition with Field Total spent in last N days, Operator ≥, Value 5000 and Days 60. Order conditions can only look back 1 to 60 days.

    If section

  4. 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.

    Then section

  5. 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

  1. Place a test order that meets the condition, then pay it.
  2. Open History (on the list) after a minute. The Result column reads, for example, "Tag wholesale-a added" or "Skipped · already has wholesale-a".
  3. 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.

Auto tag history

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

← Review and approve wholesale applications Offer Net 30 terms with Pay later →