Intelligent WhatsApp Chatbot with AI-Powered Responses
Workflow Description
Automates incoming WhatsApp messages using an AI agent powered by OpenAI, contextual memory, and semantic search over a knowledge base to deliver personalized, relevant replies at scale without manual intervention.
How it works
- 1.Receive incoming WhatsApp message and trigger the workflow
- 2.Process text by splitting documents and extracting relevant data
- 3.Perform vector search against knowledge base to retrieve matching information
- 4.Route request through AI agent using OpenAI with conversation memory
- 5.Send intelligent response back to user via WhatsApp
Use cases
- Automated customer support: answer FAQs and common inquiries based on company knowledge base
- Lead qualification: gather information and provide product details to prospective customers
- Appointment scheduling: confirm and process booking requests directly within WhatsApp
Requirements
- WhatsApp Business account connected to n8n with active webhook
- OpenAI API key with access to GPT models
- Knowledge base documents (PDF, text, or web content) containing accurate information
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (28)
WhatsApp Trigger
Whats App Trigger
OpenAI Chat Model
OpenAI
Window Buffer Memory
Memory Buffer Window
Vector Store Tool
Tool Vector Store
Embeddings OpenAI
OpenAI
OpenAI Chat Model1
OpenAI
When clicking ‘Test workflow’
Manual Trigger
Embeddings OpenAI1
OpenAI
Default Data Loader
Document Default Data Loader
Recursive Character Text Splitter
Text Splitter Recursive Character Text Splitter
Extract from File
Extract From File
get Product Brochure
HTTP Request
Reply To User
Whats App
Reply To User1
Whats App
Product Catalogue
Vector Store In Memory
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Create Product Catalogue
Vector Store In Memory
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Handle Message Types
Switch
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
AI Sales Agent
Agent