Customer Win-Back Campaign
Example prompt: "Find customers in Shopify who haven't ordered in the last 60 days and send each one a personalised email highlighting products similar to what they bought before."
How to automate customer win-back campaigns with GloriaMundo
The Problem
Repeat customers are the backbone of most e-commerce businesses, yet keeping track of who has gone quiet is surprisingly hard. Shopify shows you order history, but it does not proactively flag lapsed customers or prompt you to reach out. Most shop owners know they should be running win-back campaigns, but identifying the right customers, writing personalised messages, and sending them out manually takes hours — so it rarely happens. Meanwhile, re-engaging a lapsed customer costs a fraction of acquiring a new one.
How GloriaMundo Solves It
We build a scheduled workflow that identifies customers who have not placed an order within a defined window — say, 60 days. An integration step queries Shopify for customers whose last order is older than the cutoff, covering the full customer history rather than a rolling recent window. A code step filters out customers who have opted out of marketing email or already received a win-back message in this cycle (tracked via a state step). For each remaining customer, an LLM step writes a personalised email that references their previous purchases, suggests related products, and includes a clear call to action. An integration step sends the email via Gmail with a standard unsubscribe link and the List-Unsubscribe header, so recipients can opt out and future runs respect their choice. Glass Box preview shows you the list of lapsed customers, the draft emails, and the personalisation details before anything is sent.
Example Workflow Steps
- Trigger (scheduled): Runs weekly on Monday morning.
- Step 1 (integration): Query Shopify for customers whose most recent order is older than 60 days, pulling from the full customer history (not a fixed recent window).
- Step 2 (state): Check which customers have already received a win-back email this month via the state store, so duplicate outreach can be avoided.
- Step 3 (code): Filter out unsubscribed, marketing-opt-out, or already-contacted customers by cross-referencing Shopify's marketing consent flags and the state store.
- Step 4 (llm): For each lapsed customer, write a personalised re-engagement email referencing their past purchases and suggesting similar products.
- Step 5 (integration): Send the win-back emails via Gmail, including an unsubscribe link and the List-Unsubscribe header.
- Step 6 (state): Record which customers were contacted and persist any new opt-outs received since the last run.
Integrations Used
- Shopify — source of customer profiles and order history used to identify lapsed buyers
- Gmail — delivers the personalised win-back emails
Who This Is For
E-commerce store owners and retention marketers running Shopify shops who want to systematically re-engage lapsed customers without paying for a dedicated email marketing platform. Especially valuable for shops with a loyal customer base where a gentle nudge can reactivate buyers who simply forgot.
Time & Cost Saved
Manually reviewing customer order history, identifying lapsed buyers, and writing individual emails could take 3-4 hours per week for a shop with a few hundred active customers. This workflow does it automatically. Industry benchmarks suggest win-back emails achieve a 5-12% conversion rate. For a shop where 50 customers lapse per month with an average order value of 40 pounds, even a 10% win-back rate recovers 200 pounds in monthly revenue. The workflow uses integration, code, state, and LLM steps, costing a few credits per weekly run.