# Find the regulars who stopped coming back, and draft a text to each: the prompt

A prompt file from MediaMentorAI's Daily AI Move series.
Tutorial, video and live demo: https://mediamentorai.com/ai-tutorials/win-back-regulars-with-chatgpt

Works in Claude, ChatGPT and Codex. We tested this prompt on 7 models.

## How to use it

1. Open a new chat in Claude, ChatGPT or Codex.
2. Attach a year of visits as a CSV, one row per visit: date, customer, service and amount. To try it first, attach the practice file instead: https://mediamentorai.com/ai-tutorials/win-back-regulars-with-chatgpt/barbershop-visits-sample.csv
3. Copy the prompt below and paste it in. For your own log, change the file name, the business and the date in the first line, and the sign-off.
4. Send it as one message.

This is the prompt we tested, so leave the rest of it as it is. You don't need to know how to code.

## The prompt

```text
This is my barbershop's visit log for the last 12 months (barbershop-visits-sample.csv: sample data for a barbershop in New Jersey, one row per visit). Count everything as of October 31, 2026.
Build me a tool that sorts every customer by how recently and how often they come, and adds up what they spend:
VIP = 4+ visits, last visit 45 days ago or less. At risk = 4+ visits, last visit 46–120 days ago. Lost = last visit more than 120 days ago. Everyone else = New / occasional.
Show each group with how many customers it has and what they spent in the last 12 months, the money at stake (At risk plus Lost), and each group's customers.
List the At risk customers, biggest spenders first, with a short, personal win-back text for each (first name, their usual service, how long it's been; no discounts; signed "– Nick") and a Copy button.
Let me change the as-of date, the day cut-offs and the visit count.
Add a "Load sample data" button that loads this visit log (build it into the page), and let me paste or upload my own CSV.
Use click handlers, not a form. No AI or internet, all in one file.
```

---

Made by MediaMentorAI, which builds AI that takes the busywork off service businesses. https://mediamentorai.com
