RetainRocket – Automation & Retention for WooCommerce
RetainRocket sends the right message at the right time, automatically. You build workflows from three parts: a trigger (what starts it, such as “basket abandoned” or “order completed”), optional rules (who it’s for), and actions (what happens, such as sending an email). Each workflow can run straight away or after a delay.
Email workflows, abandoned baskets and the reports are free. Text messages, browser notifications, webhooks, the birthday and subscription triggers, and manual runs need RetainRocket Pro.
1. Install and activate
- Go to Plugins → Add New → Upload Plugin, choose the RetainRocket zip and click Install Now, then Activate. WooCommerce must be active.
- If you bought Pro, paste the licence key from your purchase email when asked and click Activate License. You can change it later from the Change License link on the Plugins screen.
- Open WooCommerce → RetainRocket. The tabs across the top are Dashboard, Workflows, Add workflow, Logs, Queue, Carts, Customers, Settings and Tools.
Delayed messages, abandoned-basket checks and daily triggers run in the background through WooCommerce’s built-in scheduler. On a quiet site, ask your host to set up a real cron job so they run on time.
2. Your first workflow
- Open the Add workflow tab and pick a ready-made workflow, or click Start from scratch.
- Ready-made workflows are created switched off, so you can check the wording first. Change the subject and message to suit your shop.
- Click Preview to see the email with real details from your shop, or Send test to email it to yourself.
- Click Save and turn on. Save (off) keeps it switched off. On the Workflows tab, click Active or Off to switch a workflow on or off at any time.
| Ready-made workflow | What it does |
|---|---|
| Abandoned cart: reminder after 1 hour | Shows the items left in the basket with a link that puts them back. |
| Abandoned cart: last chance with a coupon (24 hours) | A personal 10% code valid for 48 hours. Create a coupon called CART10 first (see Personal coupons). |
| Thank you for your first order | A personal-looking thank-you an hour after a first paid order. |
| Ask for a review 7 days after delivery | Review links for each product, a week after the order is completed. |
| Win back customers after 60 days | A personal 15% code for customers who haven’t ordered for 60 days. Needs a WINBACK coupon. |
| Tag VIP customers at £500 spend | Adds a VIP tag and says thank you. |
| Failed payment follow-up | A link to pay again, an hour after a payment fails. |
| Welcome new account holders | A hello with your featured products. |
| Tell me about big orders | Emails you about paid orders over 250. |
| Birthday coupon (Pro) | A code on the customer’s birthday. Needs a BIRTHDAY coupon and the birthday field turned on. |
3. Triggers
| Group | Triggers |
|---|---|
| Orders | Order created · Order status changes (from / to any statuses you choose) · Order pending, processing, on hold, completed, cancelled, refunded or failed · Order paid (once, when payment completes or the order moves to a paid status) · Product purchased (once per matching product in a paid order) · Order note added |
| Customers | Customer account created · Order count reaches (for example 1 for a first order) · Total spend reaches · Win-back (last order exactly X days ago, checked daily) · Opts in · Unsubscribes · Product review posted (with an optional minimum rating) · Birthday (Pro) |
| Carts | Cart abandoned · Cart abandoned (registered customers) · Cart abandoned (guests) |
| Subscriptions (Pro, needs WooCommerce Subscriptions) | Subscription created · Status changes · Renewal paid · Renewal failed · Renews soon (X days before) |
| Manual (Pro) | Existing orders · Existing customers. These never run by themselves: run them from the Tools tab. |
Order events run in the background, so checkout stays fast. A delayed “status changes” workflow checks the status again before it runs, so a reminder isn’t sent if the order has moved on.
4. Rules
Rules decide who a workflow is for. Rules in a group must all match (“and”). Add another group with + Add rule group (or) to allow a second set of conditions. With no rules, the workflow runs every time its trigger fires. Rules are checked when the trigger fires and again just before a delayed run.
| About | Rules |
|---|---|
| The order | Total, item count, status, products, product categories, payment method, delivery method, billing and delivery country, coupon codes, is the customer’s first order, created via (checkout, admin…), is a recovered basket |
| The customer | Order count, total spent, days since last order, role, is a guest, tags, country, email, has bought these products, has opted in, allows browser notifications, accepts marketing texts, times this workflow has run for them |
| The basket | Total, item count, products, product categories, coupon codes |
| Product, review, subscription | Product and its categories · review rating · subscription status and products |
Rules that need something the trigger doesn’t provide (for example a basket rule on an order trigger) are greyed out.
5. Actions
| Action | Notes |
|---|---|
| Send email | To one or more addresses (variables allowed). WooCommerce email style or a plain, personal-looking style. Subject, heading, preview text and an optional reply-to address. |
| Send text message (SMS) (Pro) | See Text messages. |
| Send browser notification (Pro) | See Browser notifications. |
| Add order note | Private, or a note to the customer (which emails them). |
| Change order status · Update order meta · Resend a WooCommerce order email | For order triggers. |
| Add / remove customer tags | Comma-separated. Use tags in other workflows’ rules. |
| Change customer role · Update customer meta | Administrator accounts and roles are protected. |
| Cancel queued workflows for this customer | For example: when someone buys, stop the rest of a win-back series. |
| Send webhook (Pro) | POST, GET or PUT to another app. Write your own JSON with variables, or leave it empty to send the standard customer, order and basket details. |
| Change subscription status (Pro) | Needs WooCommerce Subscriptions. |
Actions run in order. Use the arrows to reorder them.
6. Timing and the queue
- Immediately: as soon as the trigger fires.
- After a delay: minutes, hours, days or weeks later.
- After a delay, at a set time of day: for example 7 days later at 10:00, only on weekdays you tick. Times use your shop’s time zone.
- On a fixed date: a date and time you choose.
Delayed runs wait in the Queue tab, where you can run one now or delete it. Just before a queued run, RetainRocket checks again that the workflow is on, the rules still match and the customer hasn’t unsubscribed.
In the workflow’s Options box you can also limit how many times it runs per customer (0 = no limit), turn open and click tracking on or off, and add a Google Analytics campaign name (UTM tags) to links.
7. Writing emails and variables
Variables fill in details when the email is sent. The Variables box beside the editor lists the ones your trigger supports; click one to copy it. Add a fallback for when a value is empty:
Hi {{ customer.first_name | fallback: 'there' }},
| Group | Examples |
|---|---|
| Customer | {{ customer.first_name }}, last_name, full_name, email, phone, order_count, total_spent, tags, unsubscribe_url, generate_coupon |
| Order | {{ order.number }}, date, total, status, items (a table), item_names, review_links, billing_address, shipping_address, payment_method, view_url, pay_url, billing_country (and other address parts), meta | key: '_my_key' |
| Basket | {{ cart.link }} (puts the basket back), items, total, item_count |
| Product, review | {{ product.title }}, url, price, image, review_url, add_to_cart, sku · {{ review.rating }}, content |
| Subscription | {{ subscription.next_payment_date }}, status, total, view_url, items |
| Shop | {{ shop.title }}, url, shop_url, current_year, and a product grid: {{ shop.products | type: 'best_selling', limit: '4' }} (types: featured, sale, best_selling, recent, category with category: 'slug', ids with ids: '1,2,3') |
RetainRocket uses the same variable format as AutomateWoo, so imported emails keep working.
8. Personal coupons
Create a normal WooCommerce coupon to use as a template (for example CART10, 10% off). Then put this in an email:
{{ customer.generate_coupon | template: 'CART10', expires: '2', prefix: 'BACK' }}
Each email then gets its own code, such as BACK-7KQ4M2XP, copied from the template’s settings. It can be used once, only by that customer’s email address, and expires after the number of days you give. Add restrict: 'no' to let anyone use it, or limit: '3' to allow more uses. Unused generated codes are deleted 30 days after they expire. Previews and test emails show a sample code without creating one.
9. Abandoned baskets
- Baskets are saved for signed-in customers, and for guests as soon as they type their email at checkout (classic and block checkout).
- A basket counts as abandoned when it hasn’t changed for the time set in Settings (15 minutes by default). This fires the “Cart abandoned” triggers.
- If the shopper comes back and changes their basket, any waiting reminders are cancelled and the clock starts again. If they order, reminders are cancelled and the basket is marked recovered.
- The
{{ cart.link }}link puts the items and coupons back and opens the checkout (or the basket, if you prefer, in Settings). - The Carts tab lists active, abandoned, recovered and lost baskets, with a Copy restore link button.
10. Consent and unsubscribes
Every workflow is either Marketing or Transactional (in its Options box).
- Transactional workflows are about an order or account and always send.
- Marketing workflows skip anyone who has unsubscribed. Their emails get an unsubscribe link at the bottom and a one-click unsubscribe header that mail apps such as Gmail use.
In Settings, choose whether marketing goes to customers unless they unsubscribe (the UK “soft opt-in”) or only to people who ticked the opt-in box. You can show an opt-in box at checkout (classic and block) and email preferences in My Account.
The unsubscribe link opens a page with an Unsubscribe button, so email security scanners that open links can’t unsubscribe people by accident. The Customers tab shows each person’s choices and lets you unsubscribe or resubscribe them.
11. Text messages (Pro)
Choose a provider in Settings → Text messages (SMS). Only that provider’s boxes are shown.
| Provider | What you need |
|---|---|
| Twilio | Account SID, auth token, and a Twilio number or a sender name (up to 11 letters). |
| Esendex | Login email, API password (from esendex.com/profile), account reference, and optionally a sender name or number. |
| The SMS Works | The JSON Web Token from the API Key tab, and a sender name or number. |
| Android phone: textbee | The textbee app on a spare Android phone, and its API key (optional device ID). |
| Android phone: SMS Gateway for Android | The app on a spare Android phone, its username and password, and optionally your own server address. |
Phone options suit small numbers of texts. The phone must stay on and online, and mobile networks may block a SIM used for bulk business texting. Use a provider for big campaigns.
In a workflow, add Send text message (SMS). To defaults to {{ customer.phone }}. Local numbers such as 07700 900123 are turned into international format using the order’s billing country. The counter under the message shows the characters and how many texts each message will be billed as. A curly apostrophe or an emoji cuts each text to 70 characters, and the counter tells you which characters are doing it.
Consent for texts
- Marketing texts go to: the same people as marketing emails unless they stop texts, or only customers who ticked the text-message box.
- Turn on the text-message opt-in box for checkout and My Account under the same settings.
- Marketing texts end with “Reply STOP to opt out.” When you send from a sender name (which can’t receive replies), or choose Always a short opt-out link, they end with a short link instead.
- Stopping texts doesn’t unsubscribe someone from emails, and the other way round.
STOP replies
Settings shows a webhook address for your provider, with instructions. Once it’s connected, a customer who replies STOP stops getting marketing texts, and START turns them back on. Twilio, textbee and SMS Gateway for Android sign their messages; the other addresses contain a secret key. For Esendex, ask your account manager to send “inbound” and “stop” events to the address.
12. Browser notifications (Pro)
Turn on Settings → Browser notifications → Offer browser notifications. Shoppers with items in their basket then see a small “Want a reminder if you leave items in your basket?” box. If they say yes, add Send browser notification to a workflow (for example the abandoned cart one): a title, a message and a link ({{ cart.link }} by default).
- There’s no cost per message, and no outside notification service to sign up for.
- It works in Chrome, Edge and Firefox on computers and Android. On iPhone it only works if the shopper has added your site to their home screen.
- Shoppers can allow notifications before giving their email. When they type it at checkout, their notifications and basket move to their customer record.
- Your site must use HTTPS.
13. Dashboard, logs and conversions
The Dashboard shows, for the last 7, 30, 90 or 365 days: conversions and their revenue, baskets recovered, emails sent with open and click rates, workflow runs, abandoned baskets, queued runs and unsubscribed customers.
A conversion is a paid order placed within the conversion window (14 days by default) after the customer clicked a link in a workflow message. Turn this off per workflow in its Options box.
The Logs tab lists every run, with what it was for (order, basket, product), the result and its details, and whether the message was opened, clicked and converted. Filter by workflow or show only problems.
14. Tools and importing from AutomateWoo
Import from AutomateWoo
Tools → Import from AutomateWoo copies your AutomateWoo workflows and its unsubscribes and opt-ins. Workflows arrive switched off, so nothing sends twice. The report lists anything without a match yet (for example AutomateWoo’s “variable date” timing, which runs immediately in RetainRocket). Running the import again skips workflows already imported. Turn the RetainRocket workflows on as you turn the AutomateWoo ones off.
Run on past orders or customers (Pro)
Create a workflow with a Manual trigger and switch it on. In Tools, choose it, then a date range for orders (paid orders only, if you like) or a tag for customers. Up to 1,000 run or are queued at a time, following the workflow’s rules, limits, timing and consent.
Run background jobs now
Buttons to process the queue, check for abandoned baskets and run the daily triggers straight away. Useful when testing.
15. Settings
| Section | Settings |
|---|---|
| Sender | From name and address (empty = your WooCommerce email settings). |
| Consent and unsubscribes | Soft opt-in or strict opt-in, opt-in boxes at checkout and in My Account, the box’s wording and the unsubscribe footer ({{ unsubscribe_link }} becomes the link). |
| Abandoned carts | Minutes before a basket counts as abandoned (15), saving guests’ baskets, where restore links go (checkout or basket), days before abandoned baskets count as lost (30). |
| Tracking | Open and click tracking, the conversion window (14 days) and how long logs are kept (365 days). |
| Birthdays | Ask for a birthday (day and month) at checkout and in My Account. Classic checkout only for now; block-checkout customers can add it in My Account. |
| Text messages (SMS) | Provider and its details, STOP reply webhook, opt-out line, who gets marketing texts, the text opt-in box. |
| Browser notifications | Offer notifications, the question shoppers see and the notification icon. |
16. For developers
Filters to add your own building blocks: retainrocket_triggers, retainrocket_rules, retainrocket_actions, retainrocket_presets, retainrocket_variable_catalog and retainrocket_variable_value (return a value for your own {{ type.field }}). Fire a workflow from your own trigger with:
RetainRocket_Runner::fire( 'my_event', array( 'customer' => $customer, 'order' => $order ) );
Other filters: retainrocket_should_run, retainrocket_rule_result, retainrocket_email_headers, retainrocket_webhook_payload, retainrocket_sms_providers with retainrocket_sms_send and retainrocket_sms_configured (your own text provider), retainrocket_push_hosts and retainrocket_sample_data. Actions: retainrocket_after_workflow_run, retainrocket_cart_recovered, retainrocket_coupon_generated, retainrocket_customer_opted_in, retainrocket_customer_opted_out, retainrocket_customer_sms_opted_in and retainrocket_customer_sms_opted_out.
17. Questions
My delayed emails are late.
The background scheduler runs when people visit your site. On a quiet site, set up a real cron job with your host, or use Tools → Process the queue to send due messages now.
A marketing email didn’t send to a customer.
Check the Logs and the Customers tab. They may have unsubscribed, or (in strict opt-in mode) never opted in. Mark the workflow Transactional only if it’s genuinely about their order or account.
Why didn’t an abandoned basket email go to a guest?
Guests are only known once they type their email at checkout. Before that there’s no address to write to; with Pro, browser notifications can still reach them.
Does it work with HPOS and the block checkout?
Yes. It supports High-Performance Order Storage and the Cart and Checkout blocks, including guest email capture and the opt-in boxes.
Emails aren’t arriving at all.
Send yourself a test from a workflow. If that fails too, your site can’t send email: install an SMTP plugin or use your host’s email service.