Templates / Build a Google Drive internal knowledge base with OpenAI and Pinecone

Build a Google Drive internal knowledge base with OpenAI and Pinecone

Ready for 3.0

by Rahul Joshi ✓ · 636 views · created 2026-03-09 · Internal Wiki, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 34 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Google Sheets, Gmail, Google Drive and Pinecone Vector Store and 2 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. List Knowledge Base Docs (Google Drive): work with file folder
  2. Extract Question & User (Code): runs custom JavaScript code
  3. List Knowledge Base Docs (Google Drive): work with file folder
  4. Download Doc as Text (Google Drive): download
  5. Search Knowledge Base (Pinecone Vector Store): searches the Pinecone vector store, with embeddings: Generate Query Embedding
  6. Read Document Registry (Google Sheets): uses Google Sheets
  7. Store Embeddings in Pinecone (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Generate Embeddings; document loader: Load Document Data
  8. Build RAG Prompt (Code): runs custom JavaScript code
  9. Detect New or Updated Docs (Code): runs custom JavaScript code
  10. Log to Document Registry (Google Sheets): append

…plus 14 more steps. See the full node list below.

Services it uses

Google SheetsGmailGoogle DrivePinecone Vector StoreEmbeddings OpenAIOpenAI

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)

From the author

📊 Description Every company has documents sitting in Google Drive that nobody reads. HR policies, sales playbooks, product FAQs, financial guidelines — all written once, never found again. This workflow turns all of those documents into a live, searchable AI…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.