Limit a Shopify Promotion to the First 150 Paid Orders
Launch offers like a free gift or an extended warranty for the first 150 customers need a counter that survives between orders and stops cleanly at the cap. This workflow keeps a running total in a MESA data table, checks every paid order against it, tags each qualifying order, and pushes a Klaviyo event so the right confirmation email goes out. Order 151 simply gets nothing.
How it works
8 steps to cap a launch promotion at the first 150 paid orders and tag every winner
When a Shopify order is paid, count it
When a Shopify order is paid, count it
Skip test, early and already-counted orders
Skip test, early and already-counted orders
Read how many promo slots are claimed
Read how many promo slots are claimed
Continue while fewer than 150 slots are claimed
Continue while fewer than 150 slots are claimed
Claim the next slot for this order
Claim the next slot for this order
Tag the winning order in Shopify
Tag the winning order in Shopify
Note the slot number on the Shopify order
Note the slot number on the Shopify order
Klaviyo sends the customer a confirmation
Klaviyo sends the customer a confirmation
Ready to cap a launch promotion at the first 150 paid orders and tag every winner
Get setup in 8 minutes.
FAQs
What happens to order 151?
The counter filter stops the workflow before any tag or event, so order 151 and every order after it goes through normally with no promotion.
Can a replayed order take two slots?
No. The first filter skips any order that already carries the promotion tag, so a retried or replayed webhook never claims a second slot.
Can I change the cap?
Yes. Change 150 in the counter filter to any number, or store the cap in the data table record so you can change it without editing the workflow.
Personalize this template
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
cap a launch promotion at the first 150 paid orders and tag every winner
8 min setup • Fully supported if you need help
