Use Case
When payment is confirmed, you want to immediately generate a personalized coupon for the customer. This rewards their purchase and encourages immediate repeat buying behavior.
Common scenarios:
- Instant thank-you discount
- Referral code for sharing
- Time-sensitive flash discount
- Product-specific upsell offers
- Loyalty point conversion to coupon
Step-by-Step Setup
1. Create a New Workflow
Navigate to Sequensy → Workflows in your WordPress admin and click Add New Workflow.
Name your workflow “Instant Payment Reward” or “Thank You Coupon Generation”.
2. Configure the Trigger
Select Payment Complete as your trigger.
Useful filters:
- Order Total: Bigger rewards for bigger purchases
- Products: Specific upsell coupons for certain items
- Customer Type: First-time vs returning customer offers
- Payment Method: Rewards for preferred payment methods
3. Set Up the Create Coupon Action
Configure your instant reward coupon:
| Setting | Recommended Value | Description |
|---|---|---|
| Coupon Code | THANKYOU-{order_id} | Unique per order |
| Discount Type | Percentage | Scales with cart |
| Discount Amount | 10 | 10% off next order |
| Usage Limit | 1 | Single use |
| Expiry | 14 days | Creates urgency |
| Email Restriction | {billing_email} | Customer-specific |
4. Deliver Coupon Immediately
Chain a Send Email action to deliver the coupon right after payment:
Subject: Thanks! Here's 10% off your next order
Hi {billing_first_name},
Your payment of {order_total} has been received—thank you!
As an instant thank you, here's 10% off your next purchase:
Code: {coupon_code}
Expires: 14 days
Shop now while this offer is fresh: {shop_url}
Your order #{order_id} is being processed and we'll update you
when it ships.
Thanks for choosing us!
5. Test Your Workflow
- Enable the workflow
- Complete a test purchase
- Verify coupon is created immediately
- Check email with coupon arrives
- Test coupon works at checkout
Pro Tips
Strike while the iron is hot: Delivering a coupon immediately after payment capitalizes on the customer’s positive buying mood.
Short expiry drives action: A 14-day expiry creates urgency without being too restrictive.
Tiered rewards: Create different workflows for different order totals—bigger spenders get bigger discounts.
Stack with loyalty programs: Use these coupons as part of a broader loyalty strategy.
Tiered Reward Strategy
| Order Total | Coupon Value | Expiry | Message |
|---|---|---|---|
| Under $50 | 5% off | 7 days | Quick thank you |
| $50-$100 | 10% off | 14 days | Valued customer |
| $100-$250 | 15% off | 21 days | VIP treatment |
| Over $250 | 20% off | 30 days | Our best customer |
Coupon Types for Different Goals
Immediate Repeat Purchase
Code: COMEBACK-{order_id}
Discount: 15% off
Expiry: 7 days
Message: "Use within a week for maximum savings!"
Referral Incentive
Code: SHARE-{customer_id}
Discount: $10 off (for friend)
Expiry: 30 days
Message: "Share with friends—they get $10, you get $10 when they buy!"
Product-Specific Upsell
Code: UPGRADE-{order_id}
Discount: 20% off accessories
Expiry: 14 days
Message: "Complete your purchase with matching accessories!"
Troubleshooting
Coupon not created?
- Verify payment actually completed
- Check WooCommerce is active
- Review coupon settings for errors
Email not received?
- Check spam folders
- Verify email action configuration
- Test email delivery system
Coupon not working?
- Check expiry hasn’t passed
- Verify email restriction matches
- Confirm usage limit not exceeded