There is currently no workflow action that can create a coupon code on the fly.
If you want to send a customer a unique one-time-use discount code as part of a referral program, loyalty reward, or win-back campaign, you have to manually create the coupon in Payments → Coupons first and then hardcode it into your messages.
What we need:
A new workflow action called "Create Coupon" (or "Generate Coupon Code") that lets you define the discount type (fixed or percentage), discount amount, usage limit (one-time per customer), validity window, and eligible products/services — then outputs a unique auto-generated code that can be inserted into SMS and email messages using a merge tag like {{coupon.code}}.
Use case: A referred customer enters your system through an affiliate link.
A workflow fires and generates a unique one-time-use code (e.g., "REF-7X9K2") for $25 off their first booking.
That code is sent to them in a welcome SMS.
They use it once at checkout and it's done — no one else can use it, and it can't be shared online.
This would eliminate the need for shared codes that can be abused, allow true personalized promotions at scale, and make referral programs, birthday discounts, and loyalty rewards work the way every business owner expects them to.
Upvote if you need unique per-customer coupon codes generated automatically in workflows.