Send an Email When a Specific Discount is Used
Get notified the instant someone uses a specific discount code on your store. This workflow sends you an email alert whenever a customer applies a chosen promo code at checkout. It's perfect for tracking exclusive or influencer codes, monitoring VIP offers, and seeing which deals drive the most sales. Stay on top of your marketing campaigns without constantly refreshing your dashboard.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
4 steps to start receiving email notifications when customers use your specific discount codes
Order Created
Order Created
Retrieve Shop
Retrieve Shop
Loop Over Discount Codes
Loop Over Discount Codes
Send Email
Send Email
Ready to start receiving email notifications when customers use your specific discount codes
Get setup in 4 minutes.
Frequently asked questions
Can I monitor multiple different discount codes with one workflow?
No, each workflow instance tracks one specific discount code. To monitor multiple codes, you'll need to create separate workflow instances - one for each discount code you want to track. This gives you better control over notifications and allows different team members to receive alerts for their specific campaigns.
Will this workflow catch discount codes that are applied automatically by other apps?
Yes, the workflow detects any discount code present in the order data, regardless of how it was applied - whether manually entered by customers, automatically applied by apps, or added through other promotional tools.
What happens if a customer uses multiple discount codes in one order?
The loop will process each discount code individually, so if your target code is among them, you'll receive the notification. However, if multiple discount codes you're monitoring are used in the same order, you may receive multiple email notifications for that single purchase.
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 receiving email notifications when customers use your specific discount codes?
7-day free trial • 4 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support