Skip to content
WooCommerce WooCommerce

Order Completed → Create Coupon

Automatically generate thank-you discount coupons when orders are fulfilled. Ideal for encouraging repeat purchases, building loyalty, and increasing customer lifetime value.

beginner 5 minutes |
#orders #coupons #loyalty #woocommerce #retention

Use Case

When an order is completed and delivered, you want to reward the customer with a discount coupon for their next purchase. This encourages repeat business and shows appreciation.

Common scenarios:

  • Thank-you discount after successful delivery
  • Repeat purchase incentive
  • Loyalty program rewards
  • Review incentive (leave review, get discount)
  • Win-back campaigns for one-time buyers

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 “Post-Purchase Thank You Coupon” or similar.

2. Configure the Trigger

Select Order Completed as your trigger.

Useful filters:

  • First-time customers: Target only their first completed order
  • Order Total: Generate bigger discounts for larger orders
  • Product Categories: Different coupons for different product lines

3. Set Up the Create Coupon Action

Configure your coupon:

SettingRecommended ValueDescription
Coupon CodeTHANKS-{order_id}Unique per order
Discount TypePercentageScales with cart size
Discount Amount1515% off next order
Usage Limit1Single use per customer
Expiry60 daysCreates urgency without pressure
Email Restriction{billing_email}Only this customer can use

4. Deliver the Coupon via Email

Chain a Send Email action:

Subject: Thanks for your order! Here's 15% off your next purchase

Hi {billing_first_name},

Your order #{order_id} has been delivered! We hope you love it.

As a thank you, here's an exclusive discount for your next order:

Use code: {coupon_code} at checkout for 15% off

This code expires in 60 days and is just for you.

We'd love to hear about your experience—feel free to reply
to this email or leave a review on our site.

Thanks for being a customer!

5. Test Your Workflow

  1. Enable the workflow
  2. Create and complete a test order
  3. Verify coupon was created in WooCommerce → Coupons
  4. Check the thank-you email was sent
  5. Test that the coupon works at checkout

Pro Tips

Scale discounts with loyalty: Create tiered workflows—first order gets 10%, third order gets 15%, tenth order gets 20%.

Add minimum order requirements: Prevent abuse by requiring a minimum purchase amount (e.g., $25 minimum to use coupon).

Track redemption rates: Monitor which coupons are being used to measure campaign effectiveness and customer retention.

Combine with reviews: Create a follow-up workflow that sends the coupon only after a review is submitted for even better engagement.

Coupon Strategy Examples

Value-Based Thank You

Order TotalCoupon ValueExpiry
Under $5010% off30 days
$50-$10015% off45 days
Over $10020% off60 days

Repeat Purchase Rewards

Order #CouponMessage
1st10% offThanks for trying us!
3rd15% offYou’re becoming a regular!
5th20% offYou’re a VIP now!
10th25% offLoyalty milestone!

Troubleshooting

Coupon not created?

  • Verify WooCommerce is active
  • Check workflow is enabled
  • Review coupon settings for validation errors

Customer didn’t receive email?

  • Check spam folders
  • Verify email action is configured correctly
  • Test site email delivery

Coupon not working at checkout?

  • Check expiry date hasn’t passed
  • Verify email restriction matches customer
  • Confirm usage limit not exceeded