Shopify Flow/Notifications & Internal Alerts/Get Instant Email Alerts When New Discount Codes Are Created
Team VisibilityLow Difficulty

Get Instant Email Alerts When New Discount Codes Are Created

Receive an immediate internal email notification whenever a new discount code is generated in your Shopify store, ensuring full oversight.

The Problem

Without clear visibility, new discount codes can be created without proper authorization or oversight, leading to unintentional profit loss or security risks. Manually checking for new codes is time-consuming and prone to human error, potentially leaving valuable promotions unmonitored or expiring unnoticed.

What This Automation Solves

This Shopify Flow automation proactively solves this by triggering an immediate email notification whenever a 'Discount code created' event occurs. It ensures that designated team members receive a real-time alert via the 'Send internal email' action, improving transparency and accountability for all new promotions.

When to Use This Automation

  • Ensure all marketing or management team members are aware of new promotions instantly.
  • Monitor for unauthorized discount code creation, enhancing store security and preventing fraud.
  • Keep a consistent log of all active and upcoming promotions, preventing conflicts or expiry issues.

Workflow

  1. Trigger

    Step 1

    This workflow starts when a new discount code is created

  2. Action

    Step 2

    Send email with the following subject: Discount code created

Step-by-Step Setup

  1. 1

    Create a new Flow and select the 'Discount code created' trigger.

  2. 2

    Add an 'Send internal email' action directly after the trigger.

  3. 3

    Set the email subject to something like: 'New Discount Code Created: {{ discountCode.code }}'.

  4. 4

    Specify the recipient email address(es) (e.g., marketing@yourstore.com) in the 'To' field.

  5. 5

    Customize the email body to include details like the discount code, value, and usage limits.

Related Questions

How can I include specific discount details in the email alert?
You can use Liquid variables like `{{ discountCode.code }}`, `{{ discountCode.value }}` or `{{ discountCode.usageLimit }}` in your email subject and body to provide instant context about the new discount.
Can this notification be sent to multiple team members?
Yes, in the 'Send internal email' action, simply enter multiple email addresses separated by commas in the 'To' field to notify several team members at once.
What if I only want to be notified for specific types of discounts, like fixed amount or free shipping?
To filter notifications, add a 'Condition' block after the 'Discount code created' trigger. You can then check `discountCode.discountType` for values like 'fixed_amount', 'percentage', or 'free_shipping'.
Does this Flow notify me if a discount code is created by an app, or only manually?
This 'Discount code created' trigger activates for any discount code created within Shopify, whether it's done manually by an admin or programmatically by a third-party app.

Recommended Tools & Apps

Launch this automation

Open Shopify Flow and use this page as your setup blueprint.

Open Shopify Flow

Merchant Insight

Go beyond a simple 'Discount code created' subject. Customize your email body with Liquid variables such as `{{ discountCode.code }}`, `{{ discountCode.value }}`, and `{{ discountCode.usageLimit }}`. This way, you get all critical informati

Related Automations