Customers

Tag customer after N orders

Automatically adds a tag to a customer when they reach a specified number of orders.

Setup guide

Before you start

This template listens for new orders and adds a customer tag once the customer's Shopify order count reaches your configured threshold.

How it works

  • Trigger: orders/create
  • The workflow skips guest checkouts with no attached customer
  • It waits briefly, loads the customer's current Shopify order count, and applies the tag once the threshold is reached
  • If the customer already has the tag, nothing else happens

Configure in setup

  • Order count threshold: minimum Shopify order count required before the tag is added
  • Customer tag: the exact tag to add, such as vip, repeat-buyer, or wholesale-lead

Notes

  • Shopify order count comes from the customer record, so historical orders are included
  • The workflow is safe to re-run because it checks whether the tag already exists before trying to add it

Setup fields

Order count threshold
numberRequiredconfig

Minimum number of Shopify orders required before the customer tag is added.

Customer tag
textRequiredconfig

Exact Shopify customer tag to add when the threshold is reached.