WhatsApp follow-ups that stop themselves: n8n, Google Sheets and an AI reply reader
Most leads don't answer the first message. The follow-up is where the sale is, and it is also the job everyone forgets. I built an n8n workflow that does the chasing on WhatsApp, reads the replies with AI, and tells the
Most leads don't answer the first message. The follow-up is where the sale is, and it is also the job everyone forgets.
I built an n8n workflow that does the chasing on WhatsApp, reads the replies with AI, and tells the team exactly who to call. It is published in n8n's template library (workflow 23631), so you can import it and read every node. This post walks through how it is put together and the decisions that made it reliable.
What it does
Two triggers, one Google Sheet.
Every hour, 9 am to 6 pm, Monday to Saturday:
- Read the enquiries sheet.
- Work out each open lead's next step.
- Send a first WhatsApp nudge, a final nudge, or mark the lead cold.
- Save every step back to the sheet and email the team one digest.
The moment a lead replies on WhatsApp:
- Find their enquiry by mobile number.
- Let an AI model read the reply: do they want a call, an appointment, have a question, or not interested? When do they want the call?
- Update the sheet (which stops further nudges), email the team, and send a short thank-you.
Decision 1: the sheet is the state machine
There is no database. A Follow-up stage column holds the state:
(empty) โ Nudge 1 sent โ Nudge 2 sent โ Cold
and Replied, Opted out, Call only or WhatsApp failed end the sequence.
The planning step is a single Code node that reads each row and returns only the leads that need an action right now:
if (!stage) {
const waited = hoursSince(received);
if (waited < firstAfter || waited > maxAge) return; // too soon, or too old to start
action = reason ? 'call_only' : 'first_nudge';
} else if (stage === 'Nudge 1 sent') {
if (!last || hoursSince(last) < finalAfter) return;
action = reason ? 'call_only' : 'final_nudge';
} else if (stage === 'Nudge 2 sent') {
if (!last || hoursSince(last) < coldAfter) return;
action = 'mark_cold';
} else {
return; // replied, opted out, etc.
}
The timings live in a Settings node: first nudge after 24 hours, final nudge 48 hours later, cold 48 hours after that. Leads older than 96 hours are never started, so switching the workflow on doesn't suddenly message last month's enquiries. If you copy only one idea from this post, copy that guard.
Because a person can change the Status column to anything other than "New" and the workflow leaves that lead alone, the team stays in control without touching n8n.
Decision 2: no consent, no WhatsApp
If the lead didn't agree to WhatsApp, or the number doesn't look like a real mobile, the action becomes call_only instead of a message. It shows up in the team's digest as someone to phone.
For Indian numbers, the number check needs its own rules (10 digits starting 6-9, with or without 0, +91, 0091). I wrote that up with tested code in a separate post.
Decision 3: approved templates, and a clear way out
Both nudges are WhatsApp utility templates, because business-initiated messages outside the 24-hour window need one. The final nudge always offers an exit:
Hi [first name], this is a final check-in from [business] about your enquiry. If you'd still like our help, reply with a good day and time to call. If not, reply STOP and we won't message you again.
Two messages, then stop. Chasing harder than that annoys people and risks your number's quality rating with Meta.
Decision 4: let the AI extract, not decide
When a reply comes in, n8n's Information Extractor node (with an OpenAI chat model) turns free text into three fields:
{
"intent": "wants_call | wants_appointment | question | not_interested | other",
"preferred_call_time": "in the person's own words, or empty",
"summary": "one short sentence for the team"
}
The system prompt tells it to extract only what the person actually says and never invent a call time. If someone writes "kal shaam ko call karna" or "after 6 works", that text goes into the sheet as-is. A person reads it and books the call. The AI sorts; it doesn't promise anything on the business's behalf.
not_interested sets the stage to Opted out and the status to Not interested, which ends the sequence for good. Everything else becomes Replied, which also stops the nudges.
Decision 5: match replies carefully
The WhatsApp trigger gives you the sender's number. The workflow normalises the numbers in the sheet the same way and looks for a match. If one person has several enquiries, it prefers the one currently being nudged, then the newest. Messages from numbers that aren't in the sheet are ignored by the workflow and left in WhatsApp for a person to handle.
Watch it run
I recorded a 2-minute walkthrough of the whole workflow on the canvas, node by node. It's on the WhatsApp follow-up automation page. It pairs with the instant-reply workflow, which answers new enquiries and logs them into the same sheet this one reads.
If you build your own
- Keep state in one visible place your team already opens.
- Put every timing in one Settings node.
- Add an age limit before you switch anything on.
- Route "can't message" to a human, never to nowhere.
- Use AI to read and summarise, and keep the decisions with people.
Questions about any node, ask in the comments.
Chandan Kumar builds CRM, WhatsApp API and n8n automations for Indian businesses at Workflow Decoded.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.