Skip to content
WooCommerce WooCommerce

Payment Complete → Create Coupon

Generate instant reward coupons when WooCommerce payments are confirmed. Perfect for immediate thank-you discounts, referral incentives, and encouraging repeat purchases.

beginner 5 minutes |
#payment #coupons #rewards #woocommerce #loyalty

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:

SettingRecommended ValueDescription
Coupon CodeTHANKYOU-{order_id}Unique per order
Discount TypePercentageScales with cart
Discount Amount1010% off next order
Usage Limit1Single use
Expiry14 daysCreates 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

  1. Enable the workflow
  2. Complete a test purchase
  3. Verify coupon is created immediately
  4. Check email with coupon arrives
  5. 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 TotalCoupon ValueExpiryMessage
Under $505% off7 daysQuick thank you
$50-$10010% off14 daysValued customer
$100-$25015% off21 daysVIP treatment
Over $25020% off30 daysOur 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