- AIOD applies the discount only when the customer does not have a promotion-specific tag.
- Shopify Flow adds that tag after the customer places an order that used the promotion.
Example: one-time 15% automatic discount
For a one-time 15% welcome promotion, give the AIOD discount a unique, stable title such asAIOD Welcome 15. Create a customer tag such as:
AIOD_USED_WELCOME15
Your eligibility logic is:
Customer does not have AIOD_USED_WELCOME15 → apply 15% discount
The customer does not enter a discount code. AIOD applies the automatic discount when the customer is eligible. After the customer places a qualifying order, Shopify Flow matches the recorded discount title and adds AIOD_USED_WELCOME15. On the customer’s next order, the AIOD condition fails and the discount does not apply.
Step 1: Create the automatic discount in AIOD
- In Shopify admin, open Apps > AIOD Discount & Gift > Discount Templates.
- Choose the template that fits the promotion. Use Advanced Rules > Custom Rule Builder when you need a customer-tag condition. See Custom Rule Builder for its available conditions.
- Configure the discount as an automatic discount, such as 15% off.
- In the customer condition or eligibility area, add a Customer Tags condition.
- Choose the negative tag operator, such as does not match any of.
- Enter
AIOD_USED_WELCOME15. - Save and activate the discount.
AIOD_USED_WELCOME15 with a unique tag for your promotion.
Step 2: Create the Shopify Flow workflow
In Shopify Flow, create a workflow with this structure:Order created → check whether the discount title is AIOD Welcome 15 → add AIOD_USED_WELCOME15 customer tag
- Choose Order created as the trigger.
- Add a condition that checks the order’s recorded discount title for your promotion identifier. For this example, use
AIOD Welcome 15. - Add the Add customer tags action.
- Add the tag
AIOD_USED_WELCOME15. - Turn on the workflow.
AIOD Printer + Spectrajet Paper. Shopify Flow can then match that title and add the promotion tag after the order.
What happens after setup
For a customer’s first eligible order:No tag → AIOD discount applies → Order placed → Flow adds tag
For future orders:
Tag exists → AIOD condition fails → Discount does not apply
Important limitations
The customer must be identifiable
This approach works best when Shopify can identify the customer, such as when the customer is logged in. A guest customer may not have a customer record available when AIOD evaluates the discount.Shopify Flow adds the tag after the order
Shopify Flow runs after the order is created. This is not a real-time usage counter. The customer becomes ineligible after the workflow adds the tag.Keep the discount title stable
Shopify Flow checks the discount title recorded on the order, not an internal AIOD discount ID. If you rename the AIOD discount, update the matching title in Shopify Flow before the renamed promotion goes live. Otherwise, Flow will not add the customer tag for orders using the new title.Use a unique tag for each promotion
Use a separate tag for every one-time promotion. For example:AIOD_USED_WELCOME15AIOD_USED_VIP20AIOD_USED_FIRSTGIFT

