๐Ÿ“– Chat with Google Drive documents using Pinecone and OpenAI RAG

โšก 282 views ยท ๐Ÿ“– Internal Wiki & Knowledge Base

Description

Google Drive โ†’ Pinecone RAG Chatbot (Auto-Sync & Query)

This n8n workflow implements a fully automated Retrieval-Augmented Generation (RAG) pipeline powered by Google Drive, OpenAI embeddings, and Pinecone.

It continuously keeps a vector database in sync with your company documents and exposes them through an AI chat interface.

What this workflow does

The workflow monitors a Google Drive folder and automatically reacts to document lifecycle events:

When a document is added or updated:

When a document is deleted:

The corresponding vectors are removed from Pinecone, keeping the index clean and consistent

On the chat side:

Key features

Typical use cases

Who this template is for

This template is designed to be robust, maintainable, and production-ready, while remaining easy to extend with additional data sources, metadata filtering, or alternative LLM providers.

๐Ÿ”— Nodes Used

HTTP Request, Google Drive, Gmail, Google Drive Trigger, Filter, AI Agent

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup