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

  1. Catch new orders
  2. Check the discount codes used
  3. 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 Shopify

Affiliate 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

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

  1. Shopify > Watch events (advanced), Event topic ORDERS_CREATE
  2. Filter: discount code = SARAH15
  3. Shopify > Update an order (tags)

Build it in Make

n8n

  1. Shopify Trigger, topic orders/create
  2. IF: discount_codes contains SARAH15
  3. Shopify: Order > Update (tags)

Build it in n8n

Zapier

  1. Shopify: New Order
  2. Filter by Zapier: discount codes contain SARAH15
  3. Shopify: Update Order (tags)

Build it in Zapier

Stuck?

Get this built for you by a vetted automation expert. Hire an expert →

Checked against: