Templates / Build a RAG document chatbot with Supabase vector search and OpenRouter

Build a RAG document chatbot with Supabase vector search and OpenRouter

Ready for 3.0

by Mariyan Nijan · 207 views · created 2026-05-16 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Supabase Vector Store, Google Drive and Embeddings Google Gemini.

How it runs

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

  1. RAG Document Assistant (AI Agent): runs an AI agent, with model: OpenRouter LLM; 1 tool (Supabase Vector Retriever)
  2. Return AI Response (Respond to Webhook): sends the response back to the webhook caller
  3. Google Drive: download
  4. Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Gemini Embedding Model; document loader: Document Loader

Services it uses

OpenRouter Chat ModelSupabase Vector StoreGoogle DriveEmbeddings Google Gemini

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

From the author

What this workflow does This workflow builds a Retrieval-Augmented Generation (RAG) document chat assistant inside n8n using Supabase Vector Store and AI models. The workflow allows users to upload documents, convert them into embeddings, store them inside…

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