Shopify logo icon Shopify logo icon

Add a Free Product to Shopify Orders with Specific Discount Codes

Use this template
  • 100% fully customizable
  • Includes 7-day free trial
  • Live chat, email support
  • Setup services available

Enhance your customer’s shopping experience by including a free product whenever a specific discount code is applied at checkout. This MESA workflow template automatically adds a complimentary item to the order for fulfillment, delighting customers with a special surprise. Encourage conversions and foster loyalty by offering a little extra for those who use your promotional codes.

Frequently asked questions:

What is a template?

Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.

Can I personalize a template?

Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.

Can MESA handle the setup for me?

Yes, check out our Expert Workflow Setup. We'll collaborate with you to craft the perfect workflow so you're up and running with confidence.

How this template works:

Step 1.

A Shopify order is created

Triggers the workflow when a new order is created in Shopify.

New order created
Step 2.

Loop through discount codes

This step iterates over the discount codes applied to the order to evaluate each one.

Loop through discount codes
Step 3.

Filter for specific discount code

Checks if a specific discount code matches the criteria for adding a free product.

Filter for specific discount code
Step 4.

Add a free product to the order

Adds a complimentary line item to the order if the specified discount code is applied.

Add a free product to the order

Add a Free Product to Shopify Orders with Specific Discount Codes

100% customizable. No code required.

Rated 4.8 out of 5 stars on the Shopify App Store

Use this template

Loved by 3k+ businesses worldwide

  • Logo: GLDN
  • Logo: MUD/WTR
  • Logo: Bartesian
  • Logo: Allure
  • Logo: Made In Cookware
  • Logo: Rothy's
  • Logo: Jackie Smith
  • Logo: Full Focus
  • Logo: Car Living
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange

Fully supported by automation experts.

Get help from our team of experts and industry partners, who are dedicated to ensuring your MESA experience is smooth, efficient, and tailored to your exact business needs.

icon support docs

Knowledge Base

Training guides, tutorials, and platform documentation.

icon partners

Service Partners

Consult on automation strategy to build your workflow.

icon support team

Contact us

5-star customer support and live chat for automations.

MESA is the most customizable automation platform.