Skip to content
agents/en vrai

Automatically win back clients who haven't returned in a long time

Every Monday, the agent finds clients in your Google Sheets file who haven't come back for several months and agreed to receive your emails. It writes each one a personalised message, sends it from Gmail, then sorts their replies.

L3 autonomousVerified sourceBased on official documentation we checked; not tested by us yet.Updated
Difficulty
Intermediate
Setup time
≈ 2 h (estimate, not counting preparing your client file)
Estimated cost
n8n: €0 self-hosted or from €20/month (Starter, billed annually) + OpenAI API calls; Google Sheets and Gmail: existing Google accounts
Category
Marketing

⏱ Trigger

Every Monday at 9 am (cron) + client replies in Gmail (event)

✋ Human approval

Test mode is on at first: every email goes to your own address and the sheet isn't changed. Once test mode is off, the agent sends on its own within the limits you set (client consent, cooldown between emails, weekly maximum).

→ Output

Win-back emails sent from Gmail + updated client sheet + summaries and replies forwarded by email

Autonomy level 3 — Autonomous: Runs end to end on its own; only low-risk actions (read, notify, archive).

01Connected tools

02What the agent does on its own

  1. step 01

    Every Monday, reads the Clients tab in Google Sheets (name, email, last service, last visit date, number of visits, marketing consent) and stops if a column is missing.

  2. step 02

    Picks clients who opted in, have been away for over 90 days and weren't contacted in the last 180 days, most loyal first, with at most 25 emails a week (all adjustable).

  3. step 03

    Has OpenAI write a short personalised email based on the last service, with no prices, links or offers: the agent adds your offer and booking link afterwards.

  4. step 04

    Checks the draft (length, no links or leftover placeholders, greeting), adds your postal address and unsubscribe instructions, then sends the email from Gmail and logs it in the sheet.

  5. step 05

    Reads client replies, has OpenAI classify them (unsubscribe, booking request, question, other), removes unsubscribed clients and forwards the rest to you.

  6. step 06

    Emails you a summary of each campaign, a list of rows to fix and a report on clients who came back.

03Agent instructions

$ instructions.txt · replace the {VARIABLES}
> Write a short win-back email for {BUSINESS}, a local appointment-based business. Tone: {TONE}. First name: {FIRST_NAME}; last service: {SERVICE}; days since last visit: {DAYS}; visits so far: {VISITS}. Line 1: the subject. Body under 100 words, starting with "Hi {FIRST_NAME},". No emoji, no links, no prices, no discounts or deadlines. Don't make up anything about the client or the business.

04Limits and legal points

Your client file must be clean and use exactly the required columns, with dates as YYYY-MM-DD. Only email clients who agreed to receive your emails and keep the unsubscribe notice (email marketing rules such as the French CNIL's). Gmail caps daily sending: keep volumes modest. The template is written in English: translate the instructions and greeting if your clients speak another language. First names and visit history are sent to OpenAI: say so in your privacy policy (GDPR).

05In short

When does the agent run, and what does it produce?
Trigger: Every Monday at 9 am (cron) + client replies in Gmail (event). Output: Win-back emails sent from Gmail + updated client sheet + summaries and replies forwarded by email.
What stays under your control?
Test mode is on at first: every email goes to your own address and the sheet isn't changed. Once test mode is off, the agent sends on its own within the limits you set (client consent, cooldown between emails, weekly maximum). Autonomy level 3 — Autonomous: Runs end to end on its own; only low-risk actions (read, notify, archive).
How much does it cost and how long does setup take?
Estimated cost: n8n: €0 self-hosted or from €20/month (Starter, billed annually) + OpenAI API calls; Google Sheets and Gmail: existing Google accounts. Setup time: ≈ 2 h (estimate, not counting preparing your client file), difficulty "intermediate". Tools: n8n – Schedule Trigger, n8n – Google Sheets, n8n – Basic LLM Chain, n8n – OpenAI Chat Model, n8n – Gmail.

Answers taken from this recipe · updated 26 October 2026

06Source

https://n8n.io/workflows/21433-win-back-lapsed-clients-with-openai-google-sheets-and-gmail/

07Related recipes

Same category or same connected tools.

All recipes in "Marketing" →

→ monthly newsletter

3 agents en vrai.
Every month.

Three reproducible, sourced autonomous agents. No hype, no "top 100 tools". One-click unsubscribe.