Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Collect WhatsApp Inquiry Details into a Lead Spreadsheet

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

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.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, WhatsApp Business Cloud, Google Sheets.
  3. 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.
  4. Gather your detailsCollect what the prompt asks for: Business name, Who follows up, What people usually ask about.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. 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].

Preview
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.

Visit Website (opens in a new tab)n8n.io

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. 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.
  2. 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.
  3. 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.
  4. 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.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Reported by source

Build a self-hosted AI agent workflow with human approval

Use n8n's visual canvas to wire an LLM agent to your apps, add tools and memory, and pause for human approval before it acts.

github.comn8n-io/n8n

View all: n8n