Sync Google Drive documents to Pinecone RAG with Google Gemini embeddings
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs on a schedule (every minute). Along the way it connects Google Drive, Pinecone Vector Store, Embeddings Google Gemini and Google Sheets. It also calls gdrive-rag-al6q3ox.svc.aped-4627-b74a.pinecone.io over HTTP.
How it runs
Trigger: On a schedule (every minute).
- List Files from Google Drive (Google Drive): work with file folder
- Read Log for Overlap Check (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- Check if File New or Updated (If): checks a condition and branches into true / false
- Split by ID (Split Out): splits a list into separate items
- Check if File Deleted (If): checks a condition and branches into true / false
- Post to VectorDB API - Remove File (HTTP Request): calls gdrive-rag-al6q3ox.svc.aped-4627-b74a.pinecone.io (POST)
- Split by File ID (Split Out): splits a list into separate items
- Download from Google Drive (Google Drive): download
- Post to VectorDB API for Deletion (HTTP Request): calls gdrive-rag-al6q3ox.svc.aped-4627-b74a.pinecone.io (POST)
…plus 19 more steps. See the full node list below.
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other Google Drive + Google Sheets templates (720) · Other Google Gemini + Google Drive templates (272)
HTTP calls to: gdrive-rag-al6q3ox.svc.aped-4627-b74a.pinecone.io
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 (14)
- Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Split Out
n8n-nodes-base.splitOut - Convert to File
n8n-nodes-base.convertToFile - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
From the author
Quick overview This workflow runs on a schedule to sync files from a Google Drive folder into a Pinecone vector index for RAG, extracting text from PDFs, XLSX, Google Docs, and spreadsheets, generating embeddings with Google Gemini, and tracking file state in…