This guide shows you how to automatically send a welcome email to new WooCommerce customers.
You can use this email to thank them for their first purchase and maybe send them a unique coupon code that they can use when making their next purchase.
We’ll use an automation rule to set up the email.
An automation rule consists of a trigger and an action. The action will automatically run every time the trigger is fired.
Examples of triggers include someone purchasing a given product, creating an account on your site, or renewing a license.
Actions include; sending them an email, syncing them with your CRM, or sending a webhook.
Make sure you’ve installed the latest version of Noptin in order to follow along with this tutorial.
First, click on Noptin > Automation Rules to open the automation rules overview page then click on the Add New button to create a new automation rule.
Next, set the trigger as WooCommerce Order > Completed and the action as Send Email then click on the Continue button.
Noptin will create the automation rule and then open a page where you can customize the trigger and action.
By default, the email will always send to any customer whenever they complete an order. We, however, only want to send emails to new customers.
We can do this by checking the New Customers checkbox as shown below.
Noptin also allows you to define conditional logic for whether or not to run the trigger. These conditions include (but are not limited to) :-
- The current date, day, week, month, or weekday.
- The billing or shipping address.
- The order total or number of items in the order.
You can combine several conditions to set up highly targeted emails as shown in the example below.
The last step of creating an automation rule is to customize the action. In our case, we’ll have to specify the:-
An optional preview text…
And finally the email heading and body.
That’s all. Do not forget to save your changes after you’re done.