Answer WhatsApp questions from PDF documents using RAG, Google Drive and Pinecone
Good to know: This workflow creates a WhatsApp chatbot that answers questions using your own PDFs through RAG (Retrieval-Augmented Generation). Every time you upload a document to Google Drive, it is processed into embeddings and stored in Pinecone—allowing the bot to respond with accurate, context-aware answers directly on WhatsApp. Who is this for? - Anyone building a custom WhatsApp chatbot. - Businesses wanting a private knowledge based assistant - Teams that want their documents to be sea
At a glance
Answer WhatsApp questions from PDF documents using RAG, Google Drive and Pinecone is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects WhatsApp, OpenAI, Google Drive, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- WhatsApp, OpenAI, Google Drive, Gemini
- Modules
- 14
- Price
- Free
- Version
- v1.0

About this workflow
Good to know: This workflow creates a WhatsApp chatbot that answers questions using your own PDFs through RAG (Retrieval-Augmented Generation). Every time you upload a document to Google Drive, it is processed into embeddings and stored in Pinecone—allowing the bot to respond with accurate, context-aware answers directly on WhatsApp. Who is this for? - Anyone building a custom WhatsApp chatbot. - Businesses wanting a private knowledge based assistant - Teams that want their documents to be searchable via chat - Creators/coaches who want automated Q&A from their PDFs - Developers who want a no-code RAG pipeline using n8n What problem is this workflow solving? What this workflow does: ✅ Monitors a Google Drive folder for new PDFs ✅ Extracts and splits text into chunks ✅ Generates embeddings using OpenAI/Gemini ✅ Stores embeddings in a Pinecone vector index ✅ Receives user questions via WhatsApp ✅ Retrieves the most relevant info using vector search ✅ Generates a natural response using an AI Agent ✅ Sends the answer back to the user on WhatsApp How it works: 1️⃣ Google Drive Trigger detects a new or updated PDF 2️⃣ File is downloaded and its text is split into chunks 3️⃣ Embeddings are generated and stored in Pinecone 4️⃣ WhatsApp Trigger receives a user’s question 5️⃣ The question is embedded and matched with Pinecone 6️⃣ AI Agent uses retrieved context to generate a response 7️⃣ The message is delivered back to the user on WhatsApp How to use: - Connect your Google Drive account - Add your Pinecone API key and index name - Add your OpenAI/Gemini API key - Connect your WhatsApp trigger + sender nodes - Upload a sample PDF to your Drive folder - Send a test WhatsApp message to see the bot reply Requirements: ✅ n8n cloud or self-hosted ✅ Google Drive account ✅ Pinecone vector database ✅ OpenAI or Gemini API key ✅ WhatsApp integration (Cloud API or provider) Customizing this workflow: 🟢 Change the Drive folder or add file-type filters 🟢 Adjust chunk size or embedding model 🟢 Modify the AI prompt for tone, style, or restrictions 🟢 Add memory, logging, or analytics 🟢 Add multiple documents or delete old vector entries 🟢 Swap the AI model (OpenAI ↔ Gemini ↔ Groq, etc.)
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
AI SEO Blog Automation for WordPress with featured images-End-to-End
Create AI news videos with HeyGen avatars and auto-post to social media
Create AI video reels from images with GPT Image 2, Seedance and Blotato
Automated daily email analysis & summary with GPT-4o and Gmail
AI-powered viral trend analysis for TikTok and Instagram with GPT-4
Build a WordPress RAG chatbot with OpenAI, Qdrant or MongoDB
Score LinkedIn leads against your ICP with Google Sheets, SourceGeek and Gemini
PDF invoice data extraction & tracking with Google Drive, Claude AI & Telegram
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