Skip to main content
The setup below lets you notify customers when they receive a coupon.

What this gives you

You can tell customers:
  • You have received a coupon
If you send email through Shopify Messaging, note that Shopify Messaging only delivers to customers subscribed to marketing email.

Shopify Flow

Use the “Coupon granted (anytime)” trigger we provide, and send the notification from it. In Shopify Flow it is shown as “Coupon granted (anytime) / クーポン付与(随時)”.
Until November 9, 2026, this trigger was named “クーポンが付与された”. Only the name changed. Workflows you already created keep running.To send notifications for a coupon given to many customers all at once after the distribution finishes, or to set the hours when notifications are sent, see Send coupon notifications after the distribution finishes.

Template (import and go)

Business requirement

As soon as a coupon is issued, send an email through Shopify Messaging saying the customer has received a coupon.

[Discount Deck] Coupon issued notification action.flow

Download (1.1 KB)
Please adjust the email body to suit your store.

Variables the app provides

If you send through an email service such as Klaviyo or Omnisend, pass these variables to that service as a Shopify Flow event and you can include live values in the email body. To use dates or discount amounts as dates or numbers in your email service, or to branch on the discount percentage in a Shopify Flow condition, use the values from startsAtIso to currencyCode. Use grantSource in a condition when you combine this trigger with “Coupon granted (distribution complete)”, so that customers in a distribution aren’t notified twice. See Send coupon notifications after the distribution finishes.

How the trigger fires

Discount Deck writes coupon information to a customer metafield, and the account page reads it from there. The Shopify Flow trigger fires at the moment Discount Deck writes that metafield, which is the moment the customer can see the coupon on their account page.

When the trigger fires

The trigger fires when the coupon is issued, whether or not the customer is able to use it (for a coupon with a scheduled start date, it fires on the start date).However, it doesn’t fire for coupons you set up in Shopify for specific markets (Markets). Market coupons are also given to customers outside the market who can’t use them. For details, see Coupons for specific markets.
If you set “Coupon grant notification hours” under Advanced in Settings & support, coupons granted outside those hours run the trigger at the next start time. For a coupon with a scheduled start date, the trigger doesn’t run until the start date, even after the coupon is granted (this also applies to customers who receive it by signing up or joining a segment). See Notifications for coupons with a scheduled start date.