If you're offering free items (like samples or gifts) to specific customers — for example, tagged B2B buyers or VIPs — you may want to cancel any $0 orders placed by unauthorized users automatically.
With the Shopify Flow app from the Shopify App Store, you can create an automation to catch and cancel these unintended free orders. This helps prevent abuse and ensures that only the right customers receive your promotional items.
Watch this walkthrough on Loom:
Use Case Example
You're offering a free sample that shows up as a $0 order in the checkout. You want to make sure:
-
Only customers with a specific tag(s) can claim a Free Gift.
-
If an unauthorized customer (no tags or wrong tags) places the free order, it gets automatically cancelled.
Step-by-Step: Set Up the Order Cancel Automation in Shopify Flow (tag-based)
- Install the Shopify Flow app from the Shopify App Store.
-
Open Shopify Admin → Go to Apps → Open Shopify Flow
-
Click Create Workflow
-
Select a trigger as:
👉Order Created
- Click on Condition
- Now, click on the "Add variables" button under the "IF" condition > And choose Order option
- Search for customer tags and select tags
String[]
- Select Not equal to condition from the dropdown
Now enter:
b2b
,vip
,wholesale
, or your preferred tags. Here we addedfree_gift_customer
-
In the
Then
branch of the condition, add an Action: 👉Cancel Order
(Optional: Add a description, like “Unauthorized Free Order”) -
Check Restock items
Note: You can also add another Action to send an internal email or Slack alert so your team knows when this happens. -
And finally, click the Turn on workflow button to activate the workflow.
To configure this with our Wholesale Lock Manager app, please check the above video.
Need help? We’re always here!
As a customer-centric company, we aim to make the app configuration as effortless as possible for our valued clients. If you face any difficulties, simply reach out to us at themes@wholesalehelper.io. Our dedicated team will gladly handle it for you.
Thank you for choosing us!