Shopify logo Shopify logo

Add a free product to an order when a specific discount code is applied

Encourage your customers to complete their purchase or make a repeat purchase by offering a discount code that will add a free gift to their order. After your customer completes their checkout, check if the order has a specific discount code applied, then add a free product to the order for fulfillment.

Start Free on

“Not only did they create customized workflows that saved us from using a developer, but the support team is amazing.”


Tea Drops

“Simple and easy to use. Great staff to help support and accomplish goals. Lots of integrations and tons of ways to customize.”


Knowing Labs

“MESA automated our tasks. Their support team has been great and they've helped setup a number of workflows for us quickly.”



Here's how this template works:

Step 1. Every time this happens:

Shopify logo
A Shopify order is created

Step 2. Then do this:

Loop over the order's discount codes

Step 3. Then do this:

Check for a specific discount code

Step 4. Then do this:

Add a free product to the order


Start Free on

Related Apps & Tutorials