Chat with Google Drive documents using OpenAI and Pinecone RAG search
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs on Google Drive events (file created) (plus 1 other trigger). Along the way it connects Pinecone Vector Store, Embeddings OpenAI, OpenAI Chat Model and Reranker Cohere and 1 more.
How it runs
Trigger: On Google Drive events (file created) (plus 1 other trigger).
- Download file (Google Drive): download
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Vector Store)
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
Services it uses
Other OpenAI + Google Drive templates (628) · Other OpenAI + Pinecone templates (128) · Other Google Drive + Pinecone templates (65)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Reranker Cohere
@n8n/n8n-nodes-langchain.rerankerCohere - Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive
From the author
Try it out This n8n workflow template lets you chat with your Google Drive documents (.docx, .json, .md, .txt, .pdf) using OpenAI and Pinecone vector database. It retrieves relevant context from your files in real time so you can get accurate, context-aware…