Skip to main content

WhatsApp group chat with your vector database — no Facebook Business required

Workflow preview

Workflow preview
100%
WhatsApp group chat with your vector database — no Facebook Business required preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Enable smart, real time answers in your WhatsApp groups using a custom webhook, Pinecone vector database, and no Facebook Business setup. Note: This template uses a custom WhatsApp webhook ...

Best for

  • Support Chatbot automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cecilia Mukima.

Original n8n.io source

1.1 Workflow description

Title
WhatsApp group chat with your vector database — no Facebook Business required
Workflow name
WhatsApp group chat with your vector database — no Facebook Business required

Enable smart, real-time answers in your WhatsApp groups using a custom webhook, Pinecone vector database, and no Facebook Business setup.

> 🟡 Note: This template uses a custom WhatsApp webhook. It does not use the official WhatsApp Business API.


👥 Who is this for?

This workflow is designed for individuals and teams who want to enable smart WhatsApp group automation — without going through Meta’s official WhatsApp Business API. Ideal for small businesses, internal teams, communities, and personal power users.


❓ What problem is this solving?

Setting up WhatsApp bots with intelligent responses often requires approval from Meta and a verified business account. This workflow removes those barriers by using a self-hosted webhook to handle incoming messages and respond using a document-trained AI via Pinecone.


⚙️ What this workflow does

  • Connects a regular WhatsApp number to a custom webhook
  • Adds the bot to any group chat (it stays silent unless mentioned)
  • Indexes documents from Google Drive into Pinecone
  • Responds with intelligent, context-aware answers from your custom knowledge base
  • Auto-updates its knowledge every minute as the document changes

🛠️ Setup

Step 1: Connect Google Drive

Step 2: Configure Pinecone

  1. Create an index in Pinecone
    • Dimension: 1536
  2. Select this index in both Pinecone nodes
  3. Click Test Workflow to ingest your document into Pinecone

Step 3: Get Access to the WhatsApp Webhook

Step 4: Test WhatsApp Integration

  • One-on-one test: Send a message from another number
  • 👥 Group test: Add the bot to a group; it will only respond when tagged

🧩 How to customize this workflow

  • Modify the system prompt inside the AI agent node to control tone and behavior
  • Update the connected Google Doc to match your specific domain (e.g. FAQs, SOPs, product manuals)
  • Adjust the Pinecone sync frequency if you want updates more or less often

📚 Use cases

  • Customer Support: Instant, intelligent replies in WhatsApp without live agents
  • Team Knowledge Bot: Tag the bot for quick access to SOPs and internal docs
  • Community Groups: Automate common questions while keeping noise low
  • Personal AI Assistant: A WhatsApp chatbot trained on your notes and files

📝 Sticky Note Suggestion

💬 What this template does:
> Enables an AI bot in your WhatsApp group that answers questions based on a Google Doc you provide. It uses a custom webhook, Google Drive, and Pinecone.

🔧 Requirements:
> Google Drive account
> Pinecone account with an index (dimension 1536)
> Access to the custom WhatsApp webhook (see setup steps)

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Default Data Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1

Block 4 - Recursive Character Text Splitter

Type / Role
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - textSplitterRecursiveCharacterTextSplitter
Config choices
Version 1

Block 5 - Embeddings OpenAI

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 6 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 7 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - Question & Answer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 9 - Respond to Whatsapp Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.2

Block 10 - Prepare chunks

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Get top chunks matching query

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1

Block 12 - Set max chunks to send to model

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Embeddings OpenAI2

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 14 - Check for individual or group messages

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Listen to Whatsapp webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Download the file from Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 18 - Index Pinecone Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePinecone - vectorStorePinecone
Config choices
Version 1

Block 19 - Every minute check if file is updated

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow WhatsApp group chat with your vector database — no Facebook Business required
Complexity advanced
Nodes 23
Categories Support Chatbot, AI RAG
Author Cecilia Mukima
Published 10 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4838/4838.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does WhatsApp group chat with your vector database — no Facebook Business required do?

Enable smart, real time answers in your WhatsApp groups using a custom webhook, Pinecone vector database, and no Facebook Business setup. Note: This template uses a custom WhatsApp webhook ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI RAG use case.