What this gives you
- Send a “you have received a coupon” notification to each customer after the distribution has finished for everyone, when you display a coupon. Some customers no longer get it early while the distribution is still running
- Set the hours when grant notifications are sent, for example 9:00 to 21:00. Coupons granted outside those hours are notified at the next start time, so push notifications don’t arrive late at night
What the distribution complete trigger covers
Runs for: coupons granted by the distribution when you display a coupon (the initial distribution). This includes “Display on account page” from the coupon list or the coupon detail page, automatic coupon display, and displaying a coupon again after hiding it. Doesn’t run for: syncs of a displayed coupon (such as a change of eligibility), coupons granted to new customers, and joining a segment (including the coupon claim button). Only “Coupon granted (anytime)” runs for those. The trigger runs once per customer. If you distribute a coupon to 10,000 customers, the workflow runs 10,000 times. Finishing all of them takes time depending on the number of customers and your plan.How to set it up
Add a condition to your "Coupon granted (anytime)" workflow (if you already use it)
Grant source is a new variable that tells how the coupon was granted (see the table). With this condition, the initial distribution is notified only by the distribution complete trigger, not by “Coupon granted (anytime)”.Create a "Coupon granted (distribution complete)" workflow
Grant source isn’t available. See Coupon issued notification for the list of variables.To build one from scratch, choose “Coupon granted (distribution complete)” as the trigger and connect your push notification or email action.Turn on the workflow
(Optional) Set the notification hours
Coupon grant notification hours
Under Advanced in the app’s Settings & support, “Coupon grant notification hours” sets the hours when the triggers run. It applies to both “Coupon granted (anytime)” and “Coupon granted (distribution complete)”.
Open Settings & support
Choose the hours

Save
- The start time is included and the end time is not. With 9:00 to 21:00, triggers run between 9:00:00 and 20:59:59
- Coupons granted outside the hours run the trigger at the next start time. A customer who registers at night is notified at the next morning’s start time
- After the end time, no new triggers run. The rest continue from the start time on the next day. If a large distribution crosses the end time, some customers are notified that day and the rest the next day
- Changes to the hours apply right away, including to notifications already waiting
Please note
- If you turn off the distribution complete workflow even temporarily, notifications waiting for the distribution to finish are discarded. Turning it off and on during a distribution means that distribution is not notified
- A customer whose coupon was granted through more than one route, such as someone who registered during a distribution, may be notified twice (rare)
- Coupons that are hidden, deleted, or expired while the distribution complete trigger is waiting are not notified
- If a distribution hasn’t finished after 7 days, the waiting notifications are discarded
- The available plans are the same as for “Coupon granted (anytime)”. Not available on the Free plan
FAQ
I turned on the distribution complete workflow, but no notification arrives
I turned on the distribution complete workflow, but no notification arrives
- It runs only for the distribution when you display a coupon. It doesn’t run for new customers or for joining a segment
- It doesn’t run while the distribution is still in progress. Check in the coupon list that the sync has completed
- If you set notification hours, it waits until the next start time
- Coupons granted before the workflow was turned on don’t run the trigger
A customer got the notification twice
A customer got the notification twice
I set notification hours, but a notification arrived after the end time
I set notification hours, but a notification arrived after the end time
Can I set hours that cross midnight, such as 22:00 to 6:00?
Can I set hours that cross midnight, such as 22:00 to 6:00?