Templates / Sync OpenAI vector stores from Google Sheets with Drive and AWS S3

Sync OpenAI vector stores from Google Sheets with Drive and AWS S3

Ready for 3.0

by Salman Mehboob ✓ · 20 views · created 2026-06-01 · 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-10-19.

What this workflow does

This AI workflow has 19 nodes and runs on a schedule (every 2 minutes). Along the way it connects Google Sheets, Google Drive, OpenAI and AWS S3. It also calls api.openai.com over HTTP.

How it runs

Trigger: On a schedule (every 2 minutes).

  1. Get Row(s) From Sheet (Google Sheets): uses Google Sheets
  2. If: checks a condition and branches into true / false
  3. Delete File From Vector Store (HTTP Request): calls an HTTP API (DELETE)
  4. Filter: keeps only the items that match a condition
  5. Mark Row as Deleted (Google Sheets): update
  6. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Route by File Source (Switch): routes items into 3 branches
  8. Download from Google Drive (Google Drive): download
  9. Download from S (AWS S3): uses AWS S3
  10. Download via HTTP (HTTP Request): calls an HTTP API

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

Services it uses

Google SheetsGoogle DriveOpenAIAWS S3

HTTP calls to: api.openai.com

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

From the author

Quick overview This workflow runs every two minutes to sync a Google Sheets file queue with an OpenAI Vector Store by deleting outdated entries, downloading new files from Google Drive, AWS S3, or a URL, uploading them to OpenAI, and updating each row’s…

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