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

Power WhatsApp Replies From a Company's Public Knowledge Base

Overview

Build an n8n workflow that indexes your company's public web pages into a vector store and lets an AI agent answer incoming WhatsApp questions from them, passing call requests and anything it cannot answer to staff.

Problem or Objective

More in Sales, Marketing and Support

AI Agents and Models

Tools and Integrations

Tools
n8n · WhatsApp Business
Prerequisites
An n8n instance (self-hosted or cloud), WhatsApp Business Cloud credentials, a chat model and an embedding model. Check Meta's WhatsApp Business requirements and fees.

How It Works

In n8n, build an indexing workflow first: fetch the public pages you want the assistant to use (check which n8n node suits fetching them; the cited RAG page covers inserting documents) (services, prices, opening hours, FAQs), split them into chunks with a Default Data Loader and insert them into a vector store with an embedding model. Then build the reply workflow: a WhatsApp Trigger node listening for message events, an AI Agent node with the vector store attached as a tool, and the WhatsApp Business Cloud node to send the answer (n8n's trigger page points to this app node; check its documentation for the send operation). In the agent's instructions, tell it to answer only from the retrieved pages, to say it is an automated assistant, and, when a question is not covered or the person asks for a call, to reply that a member of staff will follow up and write the name, number and question to a review sheet instead of promising anything. Test with your own number until a person has read the test conversations and approved them, then publish the workflow. Rerun the indexing workflow whenever the website changes, and have staff work through the review sheet every day.

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.
  3. Check the prerequisitesAn n8n instance (self-hosted or cloud), WhatsApp Business Cloud credentials, a chat model and an embedding model. Check Meta's WhatsApp Business requirements and fees.
  4. Gather your detailsCollect what the prompt asks for: Your business name, What the assistant may answer, When staff will follow up.
  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: Answer WhatsApp questions from our pages

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You are the automated WhatsApp assistant for [Your business name]. Say in your first reply that you are an automated assistant. Answer only from what the knowledge base tool returns about [What the assistant may answer], in short plain sentences. If the answer is not in the knowledge base, or the person asks for a call, do not guess or promise anything: reply that a member of staff will follow up within [When staff will follow up], and save their name, number and question to the review sheet. Never quote prices or terms that the knowledge base does not contain.

A person reads and approves the test conversations before the workflow is published. Staff work through the review sheet daily and make every call themselves.

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 documentation describes a WhatsApp Trigger node that responds to message events, a separate WhatsApp Business Cloud app node, and RAG workflows that insert documents into a vector store and query it from an AI agent. No cited page reports answer accuracy or sales results, and WhatsApp's own account rules were not checked here.

Limitations and Considerations

Check WhatsApp Business account requirements, messaging rules and any per-message fees with Meta before going live, and only reply to people who wrote to you first. A person approves the test conversations before publishing, and staff handle every call request and unanswered question. WhatsApp allows only one registered webhook per app, so testing and the published workflow cannot both receive messages at once. Answers are only as current as the last indexing run. Model, embedding and hosting costs depend on your provider. 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
    • Use the WhatsApp Trigger node to respond to events in WhatsApp and integrate WhatsApp with other applications.
    • n8n provides an app node for WhatsApp. Refer to the WhatsApp Business Cloud node documentation for more information.
    • WhatsApp only allows you to register a single webhook per app.
  2. Retrieve relevant context | Build | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 11:21 UTC

    What this source supports
    • RAG (Retrieval-Augmented Generation) in n8n grounds AI answers in your own data: you insert documents into a vector store, then query it from an AI agent or directly.
    • Add a Default Data Loader node, which splits your content into chunks.
    • Add the vector store as a tool and give it a description to help the agent understand when to use it.
Report a problem

More with 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
Planned, not done

Prepare Cross-Channel Social Posts From Telegram Requests

Build an n8n workflow where a Telegram message starts an AI agent that picks an image from your shared folder, drafts a caption per network and sends the drafts back to you for approval before posting.

docs.n8n.ion8n-io/n8n

View all: n8n