Google Drive to Pinecone RAG Workflow
detail.loadingPreview
Indexes documents from Google Drive into Pinecone for Retrieval Augmented Generation (RAG).
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automates the process of ingesting documents from a specified Google Drive folder, processing them, generating embeddings, and storing them in a Pinecone vector store. It also includes a chat interface to query these documents, demonstrating a Retrieval Augmented Generation (RAG) setup.
Key Features
- Monitors a Google Drive folder for new files.
- Downloads and extracts content from PDF files.
- Cleans and normalizes extracted text.
- Splits document text into manageable chunks.
- Generates embeddings for document chunks using Google Gemini.
- Inserts document chunks and their embeddings into a Pinecone vector store.
- Supports a chat interface to query the vectorized documents.
- Retrieves relevant documents from Pinecone based on chat input.
- Generates embeddings for chat queries.
- Creates a context-aware prompt for AI model responses.
How To Use
- Prerequisites: Ensure you have Google Drive and Pinecone API keys.
- Configure Credentials: Set up the "Google Drive account" and "PineconeApi account" credentials in n8n.
- Set Google Drive Folder: In the "Monitor Google Drive for New Files" node, specify the
folderToWatchID. - Set Pinecone Index: In the "Insert Document into Pinecone Vector Store" and "Retrieve Relevant Documents from Pinecone" nodes, specify your Pinecone index name.
- Configure AI Models: Ensure "Google Gemini(PaLM) Api account" and "OpenRouter account" are configured for embedding and chat generation.
- Activate Workflow: Enable the workflow to start monitoring Google Drive and processing files.
- Chat Interface: Use the "Chat Message Trigger" endpoint (or simulate a chat input) to query the indexed documents.
Apps Used
Workflow JSON
{
"id": "b1816375-6e65-4d34-8bbf-2077b5046b76",
"name": "Google Drive to Pinecone RAG Workflow",
"nodes": 0,
"category": "Data Ingestion & AI",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b1816375-6e65...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automated Multi-Platform Influencer Discovery & Qualification
This powerful n8n workflow automates the entire process of discovering, scoring, and qualifying ideal influencers across Instagram, TikTok, and YouTube for your marketing campaigns. Streamline your talent acquisition by leveraging custom criteria and a sophisticated scoring algorithm.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.
AI-Powered Accounts Receivable Reporting for Sabre EDI
This n8n workflow automates the extraction of Accounts Receivable (AR) data from complex Sabre EDI (Interface User Record) files stored in Google Drive. It leverages an AI agent, powered by OpenAI, to intelligently process financial information and generate structured AR reports. The workflow ensures accuracy by utilizing a Pinecone vector database for contextual understanding of EDI guidelines.
Automate JSON Data Import to Google Sheets
Seamlessly import data from local JSON files directly into Google Sheets. This workflow automates the process of reading structured JSON data and appending it to your chosen spreadsheet, keeping your data up-to-date effortlessly.