# Stop Losing Customers: See Who's Leaving & Win Them Back

> Your AI agent cleans your orders CSV, segments every customer (RFM) and finds who is slipping away, with ranked win-back lists.

Stop Losing Customers: See Who's Leaving & Win Them Back is a paid AI agent skill on Agensi by Vincent, in E-commerce. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19.99 (one-time purchase)
- Creator: [Vincent](https://www.agensi.io/creators/votien)
- Category: [E-commerce](https://www.agensi.io/skills/ecommerce)
- Version: 1.5
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/stop-losing-customers-see-who-s-leaving-win-them-back
- Tags: ecommerce, churn, customer-retention, data-cleaning, win-back, small-business, csv, pandas

## About this skill

Most customer analysis goes wrong before it starts: duplicate orders, amounts stored as text, dates read the wrong way round. This skill fixes the data first, then runs every analysis on the cleaned file, in one guided run.

**Data Health Check + RFM Segmentation + Churn Risk Finder** combines Data Health Check, RFM Customer Segmentation and Churn Risk Finder. Hand your AI agent a CSV of orders or sales with a customer and a date on each row. It will:

1. **Check and clean the file.** A Health Score from 0 to 100, every problem by severity, and a numbered list of fixes. Formatting fixes (like `KSh 1,200` stored as text or mixed date formats) are applied only with your OK; judgement calls such as refunds, outliers and future dates stay yours. You get a cleaned CSV, a log of every change and a one-page health report.
2. **Segment every customer** with RFM: scores 1-5 for recency, frequency and spend, and 11 named segments from Champions to Lost, with a customer list and suggested actions per segment.
3. **Find who is slipping away.** Each customer's own buying rhythm, who is overdue (**Active**, **Watch**, **At Risk**, **Likely Lost**), ranked by money at stake, with an honest backtest on your own history, a top-25 win-back list and `watch_list.csv`, `at_risk.csv` and `likely_lost.csv` ready for your email or WhatsApp tool.

You get: `health_report.html` + cleaned CSV + cleaning log; `rfm_report.html` + `rfm_customers.csv`; `churn_report.html` + `customer_risk.csv` + three win-back lists.

**Why together:** RFM shows every customer's place in your business, from Champions to Lost, compared with all your other customers. Churn risk compares each customer with their own rhythm, so it catches a weekly buyer who has gone quiet for three weeks. Together they tell you who matters and who to contact now.

Bought separately, these skills cost **$54.98/month**; together **$39.99/month** (save 27%).

### How it decides who is slipping
- **Each customer's own rhythm.** For repeat customers, the median number of days between their purchases, blended toward your store's typical gap when they have only a few orders (one gap counts 25% their own, nine gaps 75%).
- **Overdue ratio** = days since their last order ÷ their typical gap. **Active** under 1×, **Watch** 1-1.5×, **At Risk** 1.5-3×, **Likely Lost** 3× or more.
- **One-time buyers** are compared with how quickly your returning customers usually place a second order (the 80th percentile), and shown as their own group.
- **Priority** = risk × value at stake (average annual spend), so the list puts high-value slipping customers first.
- **Analysis date** = the last order date in your file, not today, so an old export still gives sensible results.
- No black-box machine learning: every step is a simple rule you can check in the customer CSV.

### Built to be trusted
- Nothing is cleaned without your approval, and your original file is never modified.
- All detection, cleaning and calculations run in bundled Python scripts, not in the AI's head, so the same file gives the same results every time. The scripts are the same as in the standalone VOTIEN skills.
- The agent asks as few questions as possible: one after the diagnosis, one short confirmation before the analysis.
- **An honest churn backtest** on your own history. If the tiers don't separate leavers from stayers well on your data, the report says so.
- Refunds are handled explicitly and rows that can't be used are counted with the reason, not hidden.

### Handles real-world files
Comma, semicolon, tab or pipe delimited; UTF-8, UTF-8 with BOM or Latin-1; amounts like `KSh 1,200`, `1,200/=`, `$45.00` or `€1.234,56`; mixed date formats; line items (several rows per order); about 200,000 rows.

### Try it on the included examples
| Example file | Health | Churn risk |
|---|---|---|
| E-commerce orders, messy (KSh): blank rows, duplicates, text amounts, mixed dates | Health Score 49 → 98, rows 1,464 → 1,389 | 102 of 242 customers At Risk/Likely Lost; backtest: tiers did not separate well here (45% vs 36%), and the report says so |
| Online store, 18 months (planted churners) | already clean | 928 of 2,000 customers At Risk/Likely Lost, $219,097 a year at stake; backtest: 95% of flagged customers didn't return vs 14% of Active |

All example data is synthetic.

### Requirements
- An AI agent that supports SKILL.md skills
- Python 3.9+ with pandas 2.2+ (`pip install pandas`). No other packages. The scripts need no internet; your AI agent uses its usual connection to its AI model.

### What it doesn't do
It doesn't forecast sales, send messages or connect to any system. It doesn't build a sales dashboard.

### Part of the VOTIEN analytics suite
- **Fix Your Messy Sales Data Free**: diagnose and clean a messy CSV. Free.
- **See How Your Business Is Really Doing**: a one-page dashboard from any business CSV. Free.
- **Stop Losing Customers** (this skill): every customer in a named segment, plus who is slipping away and who to win back first
- **Know Who Buys, Who's Leaving & What Next Month Brings**: everything above plus a sales forecast with an honest range, in one run

### Privacy
Your file is processed on your own computer by the bundled Python scripts, which make no network connections, and the reports and lists are saved to your disk. Your AI agent's model sees what the scripts print (column names, totals, summaries and data-quality notes, with names, emails, phone numbers and customer IDs masked). The skill tells the agent to work from that output, not to open your data files and never to quote personal details. Your agent's own data settings apply to that conversation.

## Requires

- Python 3.9+
- pandas 2.2+

## Known limitations

Doesn't forecast sales, send messages or connect to any system. Doesn't build a sales dashboard. Churn risk needs a customer and an order date on each row and works best with 6+ months of history and 30%+ repeat customers; with less it warns, and under 2 months it stops and explains why.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Stop Losing Customers: See Who's Leaving & Win Them Back skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How is this different from buying the skills separately?

It's the same scripts and methods, run as one guided workflow: the file is cleaned once, the agent asks you once, and every report uses the same cleaned rows. It also costs less than the skills separately ($54.98/month).

### Do I have to clean the file first?

The health check always runs first and tells you what it found. If your file is already clean, it says so (the included online store file scores 97/100) and you can go straight to the analysis.

### Why can RFM 'At risk' and the churn tiers disagree?

RFM compares each customer's recency with all your other customers. Churn risk compares each customer with their own buying rhythm. A weekly buyer who's been quiet for three weeks is At Risk for churn but may still look recent in RFM. Both are right for what they measure.

### Why compare each customer with their own rhythm?

A customer who buys every week is overdue much sooner than one who buys every three months. A single cut-off like "90 days without an order" flags the wrong people in both directions.

### What does the backtest prove?

It replays the method at a past date using only the orders up to then, and checks who ordered again afterwards. It shows how often At Risk and Likely Lost customers really didn't come back, compared with Active ones. It is a check on your own history, not a guarantee.

### What do I need in my file?

One row per order or order line with a customer (ID, phone or email) and an order date. The amount is strongly recommended, so customers can be ranked by money at stake. An order number is optional. About 6 months or more of history works best.

### Can I send the win-back messages straight from the lists?

The lists are ready to import into an email or WhatsApp tool, with your contact columns and an editable message idea on each row. Only message customers who agreed to hear from you, include an opt-out, and follow your local marketing and data protection rules.

### Does my data leave my computer?

Your full file stays on your computer: the bundled scripts process it there and make no network connections. Your AI agent does send its conversation to its AI model, and that includes what the scripts print: totals, summaries and data-quality notes, with names, emails, phone numbers and customer IDs masked. The skill tells the agent not to open your data files or quote personal details, and your agent's own data settings apply.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
