AutomationMart
Home/Browse/Complete business WhatsApp AI-powered RAG chatbot using OpenAI
n8n

Complete business WhatsApp AI-powered RAG chatbot using OpenAI

n8nn8n22 modulesv1.0
WhatsAppOpenAIGoogle DriveLinkedIn

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
Complete business WhatsApp AI-powered RAG chatbot using OpenAI workflow diagram

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.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

Use this template to send offline conversion events from Salesforce to LinkedIn Ads. To properly configure the template, watch the how-to video [here](https://youtu.be/a3RWHu4xht4).

Free

Auto-generate SEO blog posts with Perplexity, GPT, Leonardo & WordPress

SEO Blog Post Automation with Perplexity, GPT, Leonardo AI & WordPress This workflow automates the creation and publishing of weekly SEO-optimized blog posts using AI and publishes them directly to WordPress — with featured images and tracking in Google Sheets. --- 🧠 Who is this for This automation is ideal for: - Startup platforms and tech blogs - Content creators and marketers - Solopreneurs who want consistent blog output - Spanish-speaking audiences focused on startup tren

Free

Automate bank statement and invoice reconciliation with GPT and Google Sheets

Manual Trigger Workflow starts manually to initiate the reconciliation process on demand. 📄 Fetch Invoices & Bank Statements Retrieves invoice data and bank statement data from Google Sheets for comparison. 🔀 Merge Data Combines both datasets into a single structured dataset for processing. 🧩 Format Payload for AI Function node prepares and structures the merged data into a clean JSON payload for AI analysis. 🤖 AI Reconciliation AI Agent analyzes the invoice and bank statement data to identify m

Free

AI recruiter – analyze multiple CVs vs job description using OpenAI GPT

An AI Recruiter that screens, scores, and ranks candidates in minutes — directly inside n8n. --- 🧠 Overview An AI-powered recruiter workflow that compares multiple candidate CVs with a single Job Description (JD). It analyzes text content, calculates fit scores, identifies strengths and weaknesses, and provides automated recommendations. --- ⚙️ How it works 🔹 Webhook Trigger – Upload one Job Description (JD) and multiple CVs (PDF or text) 🔹 File Detector – Auto-identifies JD vs CV 🔹 Extract &

Free

Transcribe audio file and analyze sentiment with Eden AI PART 1

Use this template to transcript audio data from Google Drive into Eden AI Speech-to-text module. Then extract sentiment from text transcripted. Datastore module is used to wait until the transcription is finished. Please see Speech-to-text + Sentiment Analysis PART 2 template. Created by tech@edenai.co

Free

Upload a new user into LinkedIn Matched Audiences from a new deal in Pipedrive CRM

This template regularly checks for new deals in Pipedrive CRM and uses the retrieved information to upload new users into LinkedIn Matched Audiences. For the best performance, your contacts should have these fields filled out: 1) First name 2) Last name 3) Email Having the contact associated with company information will also improve match rates on LinkedIn, however it's not mandatory for this template to work. The template is scheduled to run every 15 minutes. You can change the schedule aft

Free

🛠️ Transform JSON to XML for Enhanced AI Prompt Formatting

Overview This template provides a powerful and configurable utility to convert JSON data into a clean, well-structured XML format. It is designed for developers, data analysts, and n8n users who need to interface with legacy systems, generate structured reports, or prepare data for consumption by Large Language Models (LLMs), which often exhibit improved understanding and parsing with XML-formatted input. Use Cases This workflow is ideal for solving several common data transformation problems:

Free

💥🛠️Build a web search chatbot with GPT-4o and MCP Brave Search

MCP AI Chatbot using Brave Search Disclaimer: This workflow only works with local installations of n8n because it uses a community MCP node Who is this for? This workflow is ideal for developers, automation enthusiasts, and businesses looking to integrate AI-powered chat capabilities into their workflows. It's particularly useful for those leveraging Brave Search and MCP tools to enhance user interactions and streamline data retrieval. What proble

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free