Chat with Google Drive Documents using GPT, Pinecone, and RAG
    100%
    Automation
    0(0 reviews)
    218 downloads

    Chat with Google Drive Documents using GPT, Pinecone, and RAG

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    ## 📌 Short Overview Automatically sync files from Google Drive into a searchable AI knowledge base with Pinecone, and answer user queries using GPT-4o with conversational memory. ⸻ ## 🛠️ Workflow Usage Steps ### 1. Watch Google Drive for file changes Trigger the workflow when a new file is uploaded or an existing file is updated in a specific Google Drive folder. ### 2. Download and process the file Retrieve the file, split it into smaller text chunks with a Recursive Character Text Splitter, and generate vector embeddings using OpenAI. ### 3. Store embeddings in Pinecone Save the embeddings in a Pinecone vector database to keep your knowledge base continuously updated and searchable. ### 4. Search context for chat queries When a user asks a question, query Pinecone for relevant context, combine results with conversational memory, and process them with GPT-4o. ### 5. Respond with AI-powered answers Provide a concise response (100–200 words) that blends knowledge from your documents with the conversation history. ⸻ ## ✅ Use Cases • Keep a live, AI-ready knowledge base from your Google Drive files. • Enable team members to query company documents instantly. • Build a personal assistant that stays up to date with your latest uploads. ## ⚙️ Setup Steps 1. Google Drive • Create a Google Cloud project. • Enable the Google Drive API. • Generate OAuth credentials and connect them in n8n. 2. OpenAI • Sign up at OpenAI. • Copy your API key from the dashboard. • Add it to n8n under Credentials → OpenAI API. 3. Pinecone • Create an account at Pinecone. • Create a new index (e.g., docs-embeddings). • Copy your API key and environment, then add them to n8n under Credentials → Pinecone API. 4. Workflow Configuration • Import this workflow into your n8n instance. • Select the Google Drive folder you want to monitor. • Set the Pinecone index name in the workflow. • Adjust chunk size / overlap in the text splitter if needed. 5. Test the Workflow • Upload a new document to your Google Drive folder. • Run the workflow to confirm embeddings are created and stored in Pinecone. • Ask a sample query and verify the AI returns a context-aware answer.

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 15-30 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    Google Drive
    Storage

    ⚠️ 1 service require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought