Templates / Upload and index files in Pinecone with Google Drive and OpenAI

Upload and index files in Pinecone with Google Drive and OpenAI

Ready for 3.0

by isaWOW ✓ · 3 views · created 2026-08-21 · Document Extraction, 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Pinecone Vector Store, Embeddings OpenAI and Google Drive.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. 2. Code - Calculate Chunk and Batch Size (Code): runs custom JavaScript code
  2. 3. Google Drive - Upload File (Google Drive): uses Google Drive
  3. 4. Google Drive - Download File (Google Drive): download
  4. 5. Pinecone - Store Document Chunks (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Data Loader - Split Pages and Tag Source
  5. 6. Respond - Confirm Upload (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Pinecone Vector StoreEmbeddings OpenAIGoogle Drive

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 (8)

From the author

Quick overview This workflow accepts file uploads via a webhook, archives the originals in Google Drive, then chunks and embeds the content with OpenAI before indexing it into a Pinecone vector database for retrieval. How it works 1. Receives a file upload…

Excerpt from isaWOW'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.