Automate Business WhatsApp Support with n8n AI Chatbot

Struggling to manage customer queries on WhatsApp efficiently? This n8n workflow creates an AI-powered WhatsApp chatbot using Meta webhooks, OpenAI, and Qdrant vector search to deliver fast, accurate customer support for an electronics store.
respondToWebhook
agent
stickyNote
+12
Workflow Identifier: 1077
NODES in Use: respondToWebhook, agent, stickyNote, lmChatOpenAi, manualTrigger, vectorStoreQdrant, httpRequest, googleDrive, embeddingsOpenAi, documentDefaultDataLoader, textSplitterTokenSplitter, webhook, if, whatsApp, memoryBufferWindow

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow helps an electronics store answer WhatsApp customer questions fast and right.
It gets messages sent by customers, looks up product documents from Google Drive, and uses AI to make smart answers.
Then, it sends the reply back on WhatsApp without needing extra staff.

This stops slow replies and mistakes. Customers get quick, correct info about electronics products and support.


Tools and services used

  • Meta for Developers WhatsApp API: Gets WhatsApp message events and sends replies.
  • Google Drive: Where product manuals and support docs are stored.
  • Qdrant vector search API: Holds document vectors for quick semantic search.
  • OpenAI GPT-4o-mini model: Generates context-aware chatbot answers.
  • n8n automation platform: Connects all parts and runs the workflow.

Who should use this workflow

This is for electronics stores that get many WhatsApp questions about products and support.
Stores needing faster replies without extra staff will find it helpful.
It’s also good for anyone wanting an AI chatbot that reads their product files and chats on WhatsApp.


Inputs, processing, and outputs

Inputs

  • WhatsApp text messages sent by customers through Meta webhook.
  • Product and support documents from a Google Drive folder.

Processing steps

  • Webhook verification to make sure Meta can send data.
  • Filter incoming WhatsApp events to get only customer messages.
  • Download product documents from Google Drive and convert to plain text.
  • Create and refresh a Qdrant collection to store document vector embeddings.
  • Generate text embeddings from documents using OpenAI embedding model.
  • Insert embeddings into Qdrant vector store for quick semantic search.
  • Use an AI agent with GPT-4o-mini and conversation memory to answer customer queries based on the vector search.
  • Send AI-generated reply back to customer on WhatsApp using WhatsApp Business API.
  • If message is not text or no message, send a polite default reply.

Outputs

  • Quick AI-powered text replies sent back on WhatsApp to customers.
  • Updated vector store with latest product info for semantic search.

Beginner step-by-step: How to use this workflow in n8n

Step 1: Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open n8n editor and click on “Import from File.”
  3. Choose the downloaded workflow and import it.

Step 2: Configure credentials and settings

  1. Add API keys and credentials for OpenAI, Qdrant, Google Drive, and WhatsApp Business API in n8n Credentials.
  2. Update the Google Drive node Get folder with your correct folder ID that holds product docs.
  3. Change the Qdrant URL and collection name in HTTP nodes Create collection and Refresh collection to your Qdrant account details.
  4. If needed, edit system prompt in the AI Agent node to change how AI answers customers.
  5. Check the Verify webhook node has the correct path and method for Meta’s webhook verification.

Step 3: Test the workflow

  1. Manually trigger nodes like Create collection and Refresh collection to set up Qdrant.
  2. Test uploading documents by running the Google Drive Get folder and Download Files nodes.
  3. Send a WhatsApp message from a test customer number and watch the reply sent from n8n.

Step 4: Activate for production

  1. Turn on the workflow toggle button to enable live processing.
  2. Set Meta webhook URL in Meta for Developers to point to your n8n webhook URL.
  3. Monitor workflow runs through n8n dashboard for errors or failures.
  4. Schedule regular document refresh and vector update if product files change.

For better control, you may consider self-host n8n to run this workflow on your own server.


Customization ideas

  • Edit the AI Agent node system prompt to match your store’s voice or product lineup.
  • Change document folder in Google Drive node to use different support files.
  • Switch OpenAI chat model to other versions like gpt-4 for better or cheaper responses.
  • Add handling for media messages or templates in WhatsApp by extending the message filter node.
  • Build multi-language answers by introducing language detection and changing AI prompts dynamically.

Failure and edge cases handling

If webhook verification fails, check that Verify node and the connected Respond to Webhook node return the exact hub.challenge parameter from Meta.

If no customer message gets processed, verify the IF node path matches latest Meta webhook JSON structure.

If OpenAI API runs out of quota, monitor quota on OpenAI dashboard and throttle API calls or upgrade plan.

If unsupported media or non-text messages arrive, a default polite message reply is sent indicating only text is supported.


Summary of results

Fast and accurate WhatsApp replies using AI based on store documents.
✓ Saves hours of manual replying and reduces mistakes.
✓ Automatically updates knowledge base and vector store from Google Drive.
✓ Works without needing extra staff or complex setups.
✓ Easy to customize for different languages or products.


Frequently Asked Questions

No, the workflow only processes text messages. Media messages receive a default polite reply indicating only text is supported.
It downloads product and support documents from a specified Google Drive folder, converts them to text, then creates vector embeddings stored in Qdrant for AI semantic search.
The user must add API credentials for OpenAI, Qdrant, Google Drive, and WhatsApp Business API. Also update Google Drive folder ID, Qdrant URLs, and system prompt if needed.
A Verify webhook node handles the GET request from Meta, responding with the exact hub.challenge value required for verification.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free