GenAiHub

Last checked 8 October 2026 — responded normally.

Build a RAG knowledge assistant with Google Drive, OpenAI, and Pinecone

Quick Overview

Live
Open / InstallLast updated October 8, 2026

Description

Quick Overview This workflow syncs documents from a Google Drive folder into a Pinecone vector index using OpenAI embeddings, then exposes a webhook chat endpoint where an OpenAI-powered agent answers questions by retrieving relevant context from Pinecone. How it works Triggers every minute when a file in a specified Google Drive folder is updated. Extracts the file’s metadata, downloads the updated file from Google Drive, and parses it into text. Splits the text into chunks, generates OpenAI embeddings for each chunk, and inserts them into a Pinecone index under the configured namespace. Receives user questions via a POST webhook endpoint. Uses an OpenAI chat model with conversation memory and a Pinecone retrieval tool to search for relevant document chunks and answer strictly from the retrieved context. Returns the agent’s response to the webhook caller. Setup Connect Google Drive credentials and set the folder to watch in the Google Drive trigger. Add an OpenAI API credential for both embedding generation and the chat models. Configure a Pinecone index and namespace (and provide Pinecone credentials) to match the workflow’s index name and namespace settings. Activate the workflow, copy the webhook URL for the POST endpoint, and configure your client app to send questions (and a session ID if you want memory) to that URL. An n8n automation workflow template by WeblineIndia.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

WeblineIndia

Platform

web

Pricing model

free

Categories

  • Automation
  • AI

Tags

  • n8n
  • workflow
  • google-drive
  • code
  • ai-agent
  • embeddings-openai
  • openai-chat-model
  • simple-memory
  • recursive-character-text-splitter
  • pinecone-vector-store

Capabilities

  • 10 nodes

Information

TypeWorkflow
Sourcen8n
AddedSeptember 29, 2026

Comments

?

Others in the same category, ranked by how often they are opened.