AcademyWorkflowsData and reporting

RAG pipeline with Google Drive, OpenAI and Pinecone

Teams that want staff to ask questions about internal documents kept in Google Drive.

  • Recommendedour rating
  • 3,336views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

build-query-rag-system-with-google-drive-openai-gpt-4o-mini-and-pinecone.json

Loading the file...

What it does

This n8n template picks up new files from a Google Drive folder, splits them into chunks and turns the chunks into embeddings with OpenAI. The embeddings are stored in a Pinecone index. A chat agent then answers questions using that stored content, with GPT-4o-mini writing each reply.

Use cases

  1. 01Answer questions from policy and process documents
  2. 02Search a folder of manuals through a chat
  3. 03Keep a knowledge base current as new files arrive

Connects

Google Drive · AI Agent · Embeddings OpenAI · OpenAI Chat Model · Recursive Character Text Splitter · Pinecone Vector Store · Default Data Loader

Questions about
RAG pipeline with Google Drive, OpenAI and Pinecone.

What is RAG pipeline with Google Drive, OpenAI and Pinecone used for?

Teams that want staff to ask questions about internal documents kept in Google Drive. This n8n template picks up new files from a Google Drive folder, splits them into chunks and turns the chunks into embeddings with OpenAI. The embeddings are stored in a Pinecone index. A chat agent then answers questions using that stored content, with GPT-4o-mini writing each reply.

How do I import RAG pipeline with Google Drive, OpenAI and Pinecone into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is RAG pipeline with Google Drive, OpenAI and Pinecone safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.