Complete business WhatsApp AI-powered RAG chatbot using OpenAI
The provided workflow in n8n is designed to create a Business WhatsApp AI RAG (Retrieval-Augmented Generation) Chatbot. --- How it works: 1. Webhook Setup: The workflow begins by setting up webhooks for verification and response. The Verify webhook receives GET requests and sends back a verification code, while the Respond webhook handles incoming POST requests from Meta regarding WhatsApp messages. 2. Message Handling: Once a message is received, the workflow checks if the inc
At a glance
Complete business WhatsApp AI-powered RAG chatbot using OpenAI is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects WhatsApp, OpenAI, Google Drive, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- WhatsApp, OpenAI, Google Drive, LinkedIn
- Modules
- 22
- Price
- Free
- Version
- v1.0

About this workflow
The provided workflow in n8n is designed to create a Business WhatsApp AI RAG (Retrieval-Augmented Generation) Chatbot. --- How it works: 1. Webhook Setup: The workflow begins by setting up webhooks for verification and response. The Verify webhook receives GET requests and sends back a verification code, while the Respond webhook handles incoming POST requests from Meta regarding WhatsApp messages. 2. Message Handling: Once a message is received, the workflow checks if the incoming JSON contains a user message. If it does, the message is processed further; otherwise, a generic response is sent. 3. AI Agent Interaction: The user's message is passed to the AI Agent node, which uses a conversational agent with a predefined system message tailored for an electronics store. This ensures that the AI provides accurate and professional responses based on the knowledge base. 4. Knowledge Base Utilization: The AI Agent references a knowledge base stored in Qdrant, a vector database. Documents from Google Drive are downloaded, vectorized using OpenAI embeddings, and stored in Qdrant for retrieval during conversations. 5. Response Generation: The AI Agent generates a response using the OpenAI chat model (gpt-4o-mini) and sends it back to the user via WhatsApp. --- Set up steps: 1. Create Qdrant Collection: - Update the QDRANTURL and COLLECTION variables in the workflow. - Use the Create collection HTTP request node to initialize the collection in Qdrant. 2. Vectorize Documents: - Configure the Get folder and Download Files nodes to fetch documents from a specified Google Drive folder. - Use the Embeddings OpenAI node to generate embeddings for the downloaded files. - Store the vectorized documents in Qdrant using the Qdrant Vector Store node. 3. Configure Webhooks: - Ensure both Verify and Respond webhooks have the same URL. - Set the Verify webhook to use the GET HTTP method and the Respond webhook to use the POST HTTP method. 4. Set Up AI Agent: - Define the system prompt for the AI Agent, specifying guidelines for product information, technical support, customer service, and knowledge base usage. - Link the AI Agent to the OpenAI chat model and configure any additional tools as needed. 5. Test Workflow: - Trigger the workflow manually using the When clicking ‘Test workflow’ node to ensure all components are functioning correctly. - Monitor the flow of data through the nodes and verify that responses are being generated and sent accurately. By following these steps, the workflow will be fully operational, enabling a robust AI-powered chatbot capable of handling customer inquiries via WhatsApp. --- Need help customizing? Contact me for consulting and support or add me on Linkedin.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Send Conversion Events to LinkedIn Conversions API from Salesforce
Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress
Automate bank statement and invoice reconciliation with GPT and Google Sheets
AI recruiter – analyze multiple CVs vs job description using OpenAI GPT
Transcribe audio file and analyze sentiment with Eden AI PART 1
Upload a new user into LinkedIn Matched Audiences from a new deal in Pipedrive CRM
🛠️ Transform JSON to XML for Enhanced AI Prompt Formatting
💥🛠️Build a web search chatbot with GPT-4o and MCP Brave Search
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you