Templates / Parse Google Drive documents to RAG-ready Markdown with Landing.ai and Supabase cache

Parse Google Drive documents to RAG-ready Markdown with Landing.ai and Supabase cache

Ready for 3.0

by Alok Kumar ✓ · 57 views · created 2026-02-06 · 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 workflow has 20 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive and Supabase. It also calls api.va.landing.ai over HTTP.

How it runs

Trigger: On Google Drive events (file created).

  1. Download File (Google Drive): download
  2. Build Metadata (Code): runs custom JavaScript code
  3. Check Cache (Supabase): get many
  4. Merge: merges the data from its input branches
  5. Debug Cache Results (Code): runs custom JavaScript code
  6. Init Loop State (Code): runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Wait: pauses before continuing
  9. STOP — Cached (Code): runs custom JavaScript code
  10. Submit to Landing.ai (HTTP Request): calls api.va.landing.ai (POST)

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

Services it uses

Google DriveSupabase

HTTP calls to: api.va.landing.ai

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

Make your unstructured large documents LLM ready markdown using LandingAI Document Parsing. - Automatically watches a Google Drive folder, submits new documents to Landing.ai for parsing, caches processed files in - Supabase to avoid reprocessing, and…

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