Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Send a Coupon After a WooCommerce Product Review

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to send your customers a coupon when they leave a product review in your WooCommerce store?

Rewarding shoppers after they leave a product review can show them you appreciate their feedback, which can build loyalty and increase sales. Plus, doing so can encourage them to review more products in the future

In this article, we will show you how to send a coupon after a WooCommerce product review.

How to Send a Coupon After a WooCommerce Product Review

Why Send a Coupon After a Customer Leaves a WooCommerce Product Review?

Sending a coupon is one way to encourage customers to leave a product review in your WooCommerce store.

Many online shoppers read reviews before making a purchase, including the people who visit your online store. Positive reviews help build trust and confidence in your business, and customers tend to spend more when a store has good reviews.

However, many customers don’t leave reviews even when they are happy with their purchase. One way online businesses get people to review their products is by giving rewards, like a coupon.

WooCommerce lets you create simple coupons using their built-in feature. However, it doesn’t allow automatically sending coupons to specific customers who review your products.

Since sending coupon codes one by one can be a lot of work, we will show you how to automate the process.

We’ve broken this guide into several steps, and you can navigate through them using these quick links:

Step 1: Set Up the Uncanny Automator Plugin

The best way to automatically send a coupon after the customer reviews a product is by using Uncanny Automator. It is the best WordPress automation plugin on the market and lets you create powerful workflows without writing any code.

Uncanny Automator website

Uncanny Automator seamlessly integrates with a ton of WordPress plugins and third-party tools. Think of it like Zapier but for WordPress websites.

Note: There is a free Uncanny Automator plugin that lets you automate many common tasks. However, we will be using Uncanny Automator Pro because it integrates with WooCommerce.

The first step is to install the Uncanny Automator plugin. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, go to Automator » Settings and enter your license key into the ‘Uncanny Automator Pro license key’ field. You can find this information in your account on the Uncanny Automator website.

With that done, click on ‘Activate license.’

Activating the Uncanny Automator Pro license key

Step 2: Create an Automated Recipe to Send Coupon Codes After a Product Review

At this point, you are ready to create an automated workflow that will send a coupon code every time a customer reviews one of your products.

Simply go to Automator » Add new to create your first workflow, which Uncanny Automator calls a ‘recipe’.

You will be asked whether you want to create a recipe for logged-in users or everyone. We want customers to be logged into their accounts, so select ‘Logged-in users’ and then click on the ‘Confirm’ button.

Select 'Logged-in users' and Then Click the Confirm Button

Next, you can give the recipe a name by typing it into the ‘Title’ field. This is just for your reference, so you can use anything you want.

Uncanny Automator looks at all the WordPress plugins and services set up on your WordPress website and shows the available integrations.

Under ‘Select an integration,’ go ahead and click on ‘WooCommerce.’

Add a Recipe Title in Uncanny Automator

Now, you can choose your trigger, which is anything that kickstarts the recipe on your WordPress blog or website.

In the dropdown menu, start typing the following ‘A user reviews a product’ and then select the right option when it appears.

Next, you need to choose the condition that will trigger the action. You should start by clicking the WooCommerce icon under ‘Select an integration’.

In ‘Select a trigger,’ type in ‘Review.’ As you can see, you have two options.

If you choose ‘A user reviews a product,’ then Uncanny Automator will immediately email a coupon code to any user who posts a review.

On the other hand, if you want to manually approve the review before sending the coupon code, select the following trigger: ‘A user’s review on a product is approved.’

WooCommerce Automation Trigger - A User Reviews a Product

Next, you need to choose whether the workflow should run when a customer reviews any product in your online marketplace or a specific product only.

For this guide, we will use the default setting, which is ‘Any product’.

Add WooCommerce Coupon to Any Product or Only Certain Products

After that, click on the ‘Save’ button to store your changes.

It’s time to set up the action. This will be a bit more work because there are a lot of different ways to configure a coupon.

To get started, click on the ‘Add action’ button.

Add WooCommerce Coupon Action

You will now see all of Uncanny Automator’s integrations. For example, there’s a Twilio integration that lets you send SMS notifications from WooCommerce.

Since we want to send a WooCommerce coupon code every time a customer posts a review, select ‘WooCommerce.’

Selecting WooCommerce as your integration

In the search bar, start typing ‘Generate and email a coupon code to the user’ and then select the right option when it appears.

This will add some new settings where you can create the coupon code.

Sending a coupon code automatically

If you have created a coupon using a plugin like Advanced Coupons, then simply type the code into the ‘Coupon code’ field.

If you don’t already have a coupon, then you can leave the field blank. This will create a coupon code automatically, so it’s what we will be doing in this guide.

Creating an automatic WooCommerce coupon code

Next, you need to type a description for the coupon into the ‘Description field.

In the ‘Discount type’ field, you can choose the kind of coupon you want to create, such as a fixed cart discount or percentage discount.

For this guide, we will select ‘Percentage discount’.

Choose the Type of WooCommerce Discount You Wish to Offer

Next, you can type the percentage discount into the ‘Coupon amount’ field.

In the following image, we are offering customers a 30% discount on their purchase.

WooCommerce - Type in the Percentage Amount

You can also offer free shipping by checking the ‘Allow free shipping’ box.

Scheduling coupons in WooCommerce can save you a ton of time. With that said, you may want to set an expiry date for the coupon, either by using the YYY-MM-DD format or typing in the number of days until the coupon expires.

For example, in the following image, the coupon will expire after 14 days.

Set an Expiry Date for the WooCommerce Coupon

You can also set a minimum and maximum spend for the coupon. We will leave these fields blank so that the customer can use the code with any purchase.

There are a number of other restrictions that you can apply to the coupon. ‘For individual use only’ prevents the customer from using this coupon in combination with other coupon codes in the same purchase.

There is also an ‘Exclude sale items’ box that you can check if you don’t want shoppers to use this coupon on sale items.

WooCommerce Coupon For Individual Use Only

There are a lot of other settings you can change for the coupon. For example, you can limit this coupon to certain products.

These settings are fairly straightforward, so it’s worth looking through them to see whether you want to make any changes.

Once you have done that, scroll to the ‘Usage limit per coupon’ section. The shopper should only be able to use this coupon once, so type in ‘1.’

WooCommerce Usage Limit Per Coupon in Uncanny Automator

You can also limit the number of items the shopper can purchase in the transaction. For this guide, we will leave the field blank so the customer can use this coupon no matter how many items they have in their WooCommerce cart.

Next, you can create an email that will be sent to customers whenever they post a review.

First, make sure that the From field has the ‘Admin email’ token and the To field has the ‘User email’ token. To add them, you can use the ‘*’ button on the right.

Inserting the From and To fields in Uncanny Automator

Next, in the ‘Subject’ field, simply type in the email subject.

After that, you can type the email into the small text editor.

To encourage shoppers to open the message, it’s a good idea to type in an email subject that’s clear and descriptive.

Sending an automatic WooCommerce coupon via email

After that, you can customize the message in the ‘Body’ box.

You can type plain text, but you can also create a more personal message by adding placeholder tokens from the shopper’s order. To do this, simply click on the ‘*’ and then search for the information you want to add.

Clicking the asterisk button in Uncanny Automator for coupon code email

When you are happy with the email, click on the ‘Save’ button to store your recipe.

Step 3: Activate the Uncanny Automator Coupon Code Email Recipe

After that, you can go ahead and make the recipe active.

In the ‘Recipe’ box, click the ‘Draft’ switch so that it shows ‘Live’ instead.

Switch the Toggle Button from Draft to Live in Uncanny Automator

Now, the next time someone posts a review, they will get a coupon code in their inbox as a thank you.

Bonus Tip: Use SMTP to Make Sure the Customer Receives the Email

One of the issues that WordPress and WooCommerce users often face is emails that fail to deliver. These emails may end up in the spam folder rather than users’ inboxes.

Usually, this problem is caused by your WordPress hosting server not being properly set up to use the PHP mail() function, which is the function responsible for email delivery.

Another cause is that email service providers like Gmail often use tools to reduce spam. Unfortunately, emails sent by WordPress websites often get considered spam even when the sources are legitimate.

Because of this, we recommend you use SMTP for sending emails in WordPress, which is the industry standard way to send emails. That way, your chances of getting your email delivered will be much higher.

If you want to use SMTP, then check out WP Mail SMTP. This is a trusted and reputable plugin that can set up your WordPress site to send emails with SMTP.

WP Mail SMTP

For more information about SMTP, you can read our article on how to fix WooCommerce not sending emails issue and our WP Mail SMTP review.

We hope this tutorial has helped you learn how to send a coupon after a WooCommerce product review. You may also want to learn how to create an email newsletter the right way or check out our list of the best WooCommerce plugins for your store.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

1 CommentLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.