Data Processing & Analysisintermediate
October 9, 2025
5 min read
40 minutes
WhatsApp Automated Sales Agent Workflow
Automate product inquiries with a smart WhatsApp chatbot that turns your brochures into a 24/7 AI-powered sales agent using n8n and OpenAI.
By Nayma Sultana

Imagine a customer browsing your products late at night, genuinely interested but full of questions. They fire off a WhatsApp message asking about specifications, pricing, or compatibility. In most businesses, that message sits unanswered until morning, and by then, the customer has moved on to a competitor who was ready with instant answers.
That's exactly what this n8n workflow delivers. It transforms any product brochure into a smart WhatsApp sales agent that never sleeps, never gets tired, and always has the right answer ready.
Prerequisites: What You'll Need to Get Started
Before diving into the workflow, make sure you have access to these essential APIs and accounts:
- WhatsApp Business API - For receiving and sending messages to customers
- OpenAI API - Powers both the AI agent and text embedding capabilities
- Product Documentation - A PDF brochure or catalog of your products
- n8n Instance - Either cloud or self-hosted version
Key Components: The Building Blocks
This workflow leverages several powerful n8n nodes working in harmony:
- WhatsApp Trigger & Node - Handles incoming messages and sends responses
- HTTP Request - Downloads your product brochure
- Extract from File - Pulls text content from PDF documents
- Vector Store & Embeddings - Creates searchable knowledge base
- AI Agent - The brain that processes customer questions
- Memory Buffer - Remembers conversation context for each customer
Step 1: Import Your Product Knowledge
The workflow starts by fetching your product brochure using an HTTP Request node. In this example, it grabs a Samsung washing machine catalog directly from their website. The Extract from File node then pulls all the text content, creating a foundation of product knowledge.

img_1.png
This approach works with any PDF document, whether it's hosted online or uploaded locally. The key is having structured product information that customers typically ask about.
Step 2: Create an Intelligent Knowledge Base
Here's where the real magic begins. The Recursive Character Text Splitter breaks your product information into digestible 2000-character chunks with smart overlap to maintain context. Then, OpenAI's embedding model transforms this text into vectors that capture semantic meaning.
The In-Memory Vector Store organizes everything into a searchable knowledge base. When customers ask questions later, the system can instantly find the most relevant product information, even if they don't use exact keyword matches.
Step 3: Set Up WhatsApp Integration
The WhatsApp Trigger node listens for incoming customer messages. A smart Switch node filters message types, ensuring only text messages reach the AI agent while politely handling voice messages, images, or other media types with a standard response.

img_2.png
This filtering prevents confusion and keeps the conversation focused on text-based product inquiries where the AI performs best.
Step 4: Deploy Your AI Sales Agent
The AI Sales Agent node is the workflow's brain, powered by GPT-4.1-mini. It's configured with a specific persona as a Samsung washing machine specialist whose goal is helping customers navigate the product catalog rather than aggressively pushing sales.

img_3.png
The Window Buffer Memory ensures each customer gets personalized service by remembering their conversation history. This means follow-up questions and clarifications work naturally, just like talking to a human agent.
Step 5: Connect Everything and Go Live
The Vector Store Tool connects your knowledge base to the AI agent, allowing it to search through product information intelligently. When customers ask specific questions, the agent queries the vector store, finds relevant information, and crafts helpful responses using that factual data.

img_4.png
Finally, the WhatsApp node sends responses back to customers, completing the conversation loop. The entire process happens in seconds, providing instant, accurate customer service.
Real-World Benefits That Transform Your Business
This workflow delivers immediate value across multiple areas:
- 24/7 Customer Service - Never miss a sales inquiry, regardless of time zones or business hours
- Consistent Information - Every customer gets the same accurate product details drawn directly from your official documentation
- Scalable Support - Handle hundreds of simultaneous conversations without adding staff
- Cost Reduction - Reduce support ticket volume by resolving common product questions automatically
- Lead Qualification - Engage prospects immediately while they're interested, increasing conversion rates
- Multilingual Potential - Easy to adapt for different markets and languages
Perfect Use Cases
This workflow shines in several business scenarios. E-commerce companies can provide instant product comparisons and specifications. Manufacturers can help distributors and customers understand technical features. Service providers can explain different package options and pricing.
The beauty lies in its adaptability. Swap out the Samsung brochure for your own product documentation, adjust the system prompt to match your brand voice, and you've got a custom sales agent ready to serve your customers.
Taking Your Customer Service to the Next Level
Building intelligent customer service doesn't require a team of developers or months of development time. With n8n's visual workflow builder and this proven template, you can have a smart WhatsApp sales agent running in hours, not months.
The workflow represents a perfect blend of accessibility and sophistication. It harnesses cutting-edge AI technology while remaining simple enough for non-technical team members to understand and maintain.
Ready to transform your customer service experience? This n8n workflow gives you everything needed to build an AI sales agent that actually knows your products and can help customers make informed decisions. Your customers get instant answers, your team gets fewer repetitive questions, and your business gets more satisfied customers and higher conversion rates.
The future of customer service isn't about replacing humans entirely. It's about using intelligent automation to handle routine inquiries so your human agents can focus on complex issues that truly require personal attention.
Share this article
Help others discover this content
Tap and hold the link button above to access your device's native sharing options
More in Data Processing & Analysis
Continue exploring workflows in this category

Data Processing & Analysisintermediate
1 min read
Generate Creative Solutions with Dual AI Agents, Randomization & Redis - Workflow
Kazi Sakib
Oct 21
Est: 35 minutes

Data Processing & Analysisadvanced
1 min read
Fully Automated Tech News Publishing Pipeline with n8n, OpenAI, Google Workspace & Slack
Nayma Sultana
Oct 20
Est: 1 hour

Data Processing & Analysisintermediate
1 min read
Build an AI-Powered Data Analytics Department with n8n and OpenAI: A Multi-Agent Workflow Guide
Kazi Sakib
Oct 20
Est: 45 minutes