WooCommerce use case

Send a coupon only the buyer can use

Give buyers a reason to come back after their WooCommerce purchase. Set up one offer and let ShopMagic send each recipient a unique code restricted to their email address.

A buyer receives an example 10-percent coupon for filters that can be redeemed using their billing email.

Offer 10% off filters to customers who bought a dripper

After a matching purchase is paid, ShopMagic creates a coupon from your template and adds it to the email. The recipient can redeem it with their billing email.

Subject: A little something for your next brew

Thanks for buying your dripper. Here’s a personal code for 10% off a pack of filters the next time you shop with us.

What you’ll need

  • WooCommerce coupons and ShopMagic’s Personalized Customer Coupons, included in Basic, Plus and Elite.

  • A private WooCommerce coupon template for the offer and an email available for the buyer.

Set up the automation in ShopMagic

  • 1

    Create the private coupon template

    In WooCommerce, create a coupon with the code dripper-filters. Make it private and set 10% off the eligible filters. Add the usage limits and expiration your offer needs.

  • 2

    Choose the purchase and write the message

    Choose Order Paid and add Order – Items for the dripper. Add Send Email addressed to {{ order.billing_email }}. Insert {{ shop.coupon | template: 'dripper-filters' }} where the buyer should see the new code.

  • 3

    Check the generated code and restriction

    Use a paid test order. Verify that the message contains a generated code, then check its email restriction in WooCommerce. Try the code with the test recipient’s billing email and a different address under the same offer conditions.

Make the offer clear and easy to use

  • Mention which products are eligible and how long the coupon is valid.

  • If the offer works better a few days later, add an action delay and verify the timing on a test order.

Questions about this workflow

WooCommerce checks the billing email against the restriction on the generated coupon. Other offer conditions also apply.

Use one private template for the offer. ShopMagic generates the individual code for the recipient.