Marketing Easy ~10 min to build
Tag orders by influencer or promo code
Tag orders that used a specific creator or campaign code, so you can filter orders and pay commissions without spreadsheets.
Trigger: An order is created.
What it does
- Catch new orders
- Check the discount codes used
- Add a matching tag
Tools involved: Shopify Flow · Make · n8n · Zapier
Starting a store? Every recipe here runs on Shopify, and Shopify Flow is a free app on most plans.
Try ShopifyAffiliate link: we may earn a commission if you sign up.
How to build it
Shopify Flow Recommended
Trigger: Order created
Conditions
- order.discountCodes includes "SARAH15"
Actions
- Add order tags: creator-sarah
Use one condition branch per creator, or a single tag built with Liquid: creator-{{order.discountCodes | first | downcase}}.
Get it: Shopify Flow
Make
- Shopify > Watch events (advanced), Event topic ORDERS_CREATE
- Filter: discount code = SARAH15
- Shopify > Update an order (tags)
Build it in Make
n8n
- Shopify Trigger, topic orders/create
- IF: discount_codes contains SARAH15
- Shopify: Order > Update (tags)
Build it in n8n
Zapier
- Shopify: New Order
- Filter by Zapier: discount codes contain SARAH15
- Shopify: Update Order (tags)
Build it in Zapier
Stuck?
Get this built for you by a vetted automation expert. Hire an expert →
Checked against:
The Weekly Special
One email a week: which apps raised prices, one new automation recipe, and one cheaper alternative worth a look.
Free. Unsubscribe anytime.
Starting a store? Try Shopify (affiliate link).