Think of a world where your company is always awake, customers get their questions answered right away, accurately, and 24/7. This is not an outlandish future; this is a strong reality that you can build today, automating your sales process with WhatsApp using AI. Imagine a customer messaging you about your product, and nearly instantly receiving accurate answers from an AI that has fully “read” your actual product brochure. We’re going to walk you through how to build this intelligent WhatsApp chatbot using n8n and OpenAI models, transforming your customer service and sales experience.
Not in the mood to read? Watch this YouTube video for a succinct visual guide:
n8n is an open-source agent-building and workflow automation tool that simplifies the integration of various applications and automates agent workflows with ease. Unlike other automation tools, n8n offers flexibility with self-hosting, eliminating vendor lock-in. As a no-code/low-code platform, it empowers even non-developers to build powerful automation pipelines effortlessly.
You can read my complete guide to n8n here, or watch my full video explaining it here.
The following requirements must be met for a 24/7 response automation on WhatsApp Business using n8n.
n8n Platform: A running instance of the n8n workflow automation tool, the solution will utilize this platform with actions to create workflow automations.

OpenAI account + Credential: Access to OpenAI is required through the use of an OpenAI account. The solution uses OpenAI models to generate text embeddings and to fulfill the conversational aspects of the AI agent capabilities. You will have to use valid API credentials to authenticate with and interact with the OpenAI models.

WhatsApp Business account + Credential: To exchange messages in real-time, a verified WhatsApp Business Cloud account is essential. You will need to acquire the API keys to integrate components effectively.

The workflow for creating this automated WhatsApp sales assistant has two key parts: first, creating your product catalog vector store, and second, creating the WhatsApp AI agent itself, all of this using basic n8n no/zero-code automation. Here is how:

This initial phase focuses on preparing your product information so your AI can understand and retrieve it efficiently:
Begin your workflow by adding a manual trigger.

Next, add an HTTP node to retrieve your product brochure from the web. Set the method to “get” and authentication to “none.” You’ll provide the URL where your catalog is hosted; for example, a link to a PDF containing loudspeaker information.

Once the PDF is fetched, you need to extract the information from it. Use an extract file node, specifically choosing “extract from PDF node” if your catalog link consists of a PDF.

With the information extracted, you’ll start creating a vector store using a simple vector store node.
Add an OpenAI embeddings node to create numerical representations (embeddings) of your brochure’s content.

At this point, the first part of the workflow is complete. When triggered, it fetches your PDF, extracts its information, creates embeddings using OpenAI, and stores them in your simple vector store.
Now, let’s build the interactive part: your AI agent for WhatsApp queries, using n8n automation:
To initiate your agent when a message is received, add a WhatsApp Business Cloud trigger node. Select “on message” and enter your WhatsApp credentials.

Since this workflow focuses on text-based questions, use a switch node to differentiate between text and non-text messages.

For the “not supported” route, simply reply to the user.

This is where the magic happens for supported (text) questions.

Finally, once your Agentic RAG (Retrieval-Augmented Generation) is ready with an answer, send it directly to the user.
With these steps, your workflow is complete! You now have a powerful, automated WhatsApp sales assistant, thoroughly trained on your product brochure and fully capable of handling real customer questions with instant, accurate responses, all made through n8n, OpenAI, and WhatsApp integration.

This agentic RAG WhatsApp chatbot naturally combines your specific product information from a vector store with the generative capabilities of an AI agent, such that every customer interaction is actionable, accurate, and effective. You are now prepared to handle real customer inquiries at any time of day, making your sales process and customer experience more robust.