Overview
An n8n workflow answers new WhatsApp Business messages, has an AI Agent node ask the sender for a name and email address, and adds the details as a row in Google Sheets for a person to follow up.
Problem or Objective
- Which agents enrich, clean and update CRM records from research and conversations?
- Which agents run multi-step workflows across your apps?
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- n8n · WhatsApp Business Cloud · Google Sheets
- Prerequisites
- An n8n instance reachable from the internet, a Meta app with WhatsApp Business Cloud access, Google Sheets credentials and a chat model API key.
How It Works
Connect a WhatsApp Business Cloud account to n8n and start the workflow with the WhatsApp Trigger node listening for message events. Pass each message to an AI Agent node with a chat model, conversation memory and a short script: greet the person, say it is an automated assistant, ask for their name and email address, and explain they are only used to reply. Send the answers back with n8n's WhatsApp app node. Once both details are known, write a row to a Google Sheet with name, email, phone number, first message and time, using Append or Update Row so a returning contact updates their row. A team member reviews new rows each day and follows up personally. The workflow only replies to people who wrote first.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, WhatsApp Business Cloud, Google Sheets.
- Check the prerequisitesAn n8n instance reachable from the internet, a Meta app with WhatsApp Business Cloud access, Google Sheets credentials and a chat model API key.
- Gather your detailsCollect what the prompt asks for: Business name, Who follows up, What people usually ask about.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Greet and collect contact details
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You answer new WhatsApp messages for [Business name]. Greet the person, say you are an automated assistant, and ask for their name and email address so [Who follows up] can follow up about [What people usually ask about]. Explain that the details are only used to reply to their enquiry. Ask once for anything missing; if they decline, thank them and stop. Never send links, prices or promises. When you have both details, confirm them back and pass them to the sheet step; a team member will review each new row before any follow-up is sent.Test with your own phone before publishing. A person reviews every new row and writes the follow-up; the workflow never starts a conversation.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. n8n's docs describe a WhatsApp Trigger that responds to message events using WhatsApp Business Cloud credentials, an app node for WhatsApp, an AI Agent node that calls tools, AI workflows with memory, and a Google Sheets node that can append or update rows. They do not show this exact conversation, so test it with your own number first.
Limitations and Considerations
WhatsApp allows one webhook per app, so switching between the test and production URLs overwrites the registered one, and if your Meta app is not subscribed to your WhatsApp Business Account, messages never reach n8n and no failed run is shown. Names, emails and phone numbers are personal data: say why you collect them, keep the sheet private and honour deletion requests. Check WhatsApp's business messaging policies before going live. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- WhatsApp Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- The WhatsApp Trigger node responds to WhatsApp events, including messages, using WhatsApp Business Cloud credentials, and n8n also provides an app node for WhatsApp.
- WhatsApp allows a single webhook per app, so switching between the testing and production URLs overwrites the registered webhook.
- If the Meta app is not subscribed to the WhatsApp Business Account, messages never reach n8n and n8n shows no failed execution.
- Google Sheets | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- The Google Sheets node can append a new row, or update the current one if it already exists.
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The AI Agent node connects a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- Integrate AI | Build | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- n8n AI workflows connect LLM providers such as OpenAI, Anthropic and Google and can add tools and memory.

