Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

RAG Chatbot for Company Documents using Google Drive and Gemini

n8n template #2753
This workflow implements a Retrieval Augmented Generation (RAG) chatbot that answers employee questions based on company documents stored in Google Drive. It automatically indexes new or updated documents in a Pinecone vector database, allowing the chatbot to provide accurate and up-to-date information. The workflow uses Google's Gemini AI for both embeddings and response generation. How it works The workflow uses two Google Drive Trigger nodes: one for detecting new files added to a specified Google Drive folder, and another for detecting file updates in that same folder. Automated Indexing: When a new or updated document is detected The Google Drive node downloads the file. The Default Dat

How to set it up

  1. Open template #2753 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 4 credentials under Credentials → Add credential: Google Drive, Pinecone Vector Store, Embeddings Google Gemini, Google Gemini Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "RAG Chatbot for Company Documents using Google Drive and Gemini" (https://n8n.io/workflows/2753). It uses: Google Drive, AI Agent, Simple Memory, Recursive Character Text Splitter, Pinecone Vector Store, Default Data Loader, Embeddings Google Gemini, Google Gemini Chat Model, Vector Store Question Answer Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Mihai Farcas published it free on n8n.io as a verified creator, and it has 95K views. It runs on n8n Cloud or a self-hosted n8n instance.

Google Drive, Pinecone Vector Store, Embeddings Google Gemini, Google Gemini Chat Model. The other 5 nodes are built into n8n.

Similar workflows

NameViews
  1. Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
  2. Personal Portfolio CV Rag Chatbot - with Conversation Store and Email Summary3,462
  3. AI-Powered RAG Workflow For Stock Earnings Report Analysis15K
  4. Document Q&A Chatbot with Gemini AI and Supabase Vector Search for Telegram17K
  5. Explore n8n Nodes in a Visual Reference Library5,197
  6. 🤖 Create a Documentation Expert Bot with RAG, Gemini, and Supabase31K
  7. Chat with GitHub API Documentation: RAG-Powered Chatbot with Pinecone & OpenAI23K
  8. 🤖 Build a Documentation Expert Chatbot with Gemini RAG Pipeline17K