Add a Free Product to Orders When a Specific Product is Purchased
Increase sales and reward customers by automatically adding a free product to orders containing a specific item. This MESA workflow template checks each order for the designated product and, if it’s present, adds a free product to the order for fulfillment. Perfect for running promotions and building customer loyalty, this automation provides a seamless experience for customers and simplifies order management.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
4 steps to start adding free products when customers purchase specific items
Order Created
Order Created
Loop: Number of matches
Loop: Number of matches
Filter
Filter
Add Line Item to Order
Add Line Item to Order
Ready to start adding free products when customers purchase specific items
Get setup in 5 minutes.
Frequently asked questions
Will this add a free product to orders that already contain the qualifying item from before I set up this workflow?
No, this workflow only affects new orders created after you activate it. Existing orders won't be modified, even if they contain the qualifying product.
What happens if a customer buys multiple quantities of the qualifying product?
The workflow adds exactly one free item regardless of how many qualifying products the customer purchases. If you want to give multiple free items based on quantity, you'll need to modify the "Add Line Item" step to use a variable quantity.
Can I set this up to work with product variants instead of just product names?
Yes, you can modify the filter in step 2 to check for specific variant SKUs or variant titles instead of the broad product name, giving you more precise control over which purchases trigger the free product.
Make this template your own!
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!"
Ready to start adding free products when customers purchase specific items?
7-day free trial • 5 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support