Add a Free Product to First-Time Customer Orders in Shopify
Encourage repeat purchases and build brand loyalty by adding a free product to first-time customer orders. This MESA workflow template checks if an order is a customer’s first purchase on Shopify, then automatically adds a complimentary product for fulfillment. Delight new customers with a special gesture that enhances their experience and encourages future orders.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
4 steps to start adding free products to first-time customer orders automatically
Order Created
Order Created
Retrieve Customer
Retrieve Customer
Filter (First Order Check)
Filter (First Order Check)
Add Free Line Item to Order
Add Free Line Item to Order
Ready to start adding free products to first-time customer orders automatically
Get setup in 6 minutes.
Frequently asked questions
What if the free product is out of stock?
The line item addition will fail if the product variant has zero inventory or is unavailable. Consider enabling "Continue selling when out of stock" for your free gift products, or create a workflow that monitors inventory and sends alerts when your welcome gift stock is low.
Will this work for orders placed before activating the workflow?
No, this workflow only triggers for orders created after you turn it on. It won't retroactively add free products to historical first orders. To reward existing first-time customers, you'd need to identify them through a customer export and manually send gifts or create a one-time promotional workflow.
Can I exclude certain products or collections from eligibility?
Yes, add a filter after the customer check that examines {{shopify_order.line_items}} and checks if the order contains specific products, tags, or collections. If certain items are present (like already-discounted products), you can stop the workflow from adding the free gift.
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 to first-time customer orders automatically?
7-day free trial • 6 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support