Templates / RAG chatbot with Supabase + TogetherAI + Openrouter

RAG chatbot with Supabase + TogetherAI + Openrouter

Ready for 3.0

by iamvaar ✓ · 9,879 views · created 2025-07-04 · 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 11 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Docs, Supabase, Telegram and OpenRouter Chat Model. It also calls api.together.xyz and fqdttboovkcezrxizkpw.supabase.co over HTTP.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Embend User Message (HTTP Request): calls api.together.xyz (POST)
  2. Content for the Training (Google Docs): get
  3. Search Embeddings (HTTP Request): calls fqdttboovkcezrxizkpw.supabase.co (POST)
  4. Splitting into Chunks (Code): runs custom JavaScript code
  5. Aggregate: combines items into one
  6. Embedding Uploaded document (HTTP Request): calls api.together.xyz (POST)
  7. Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model
  8. Save the embedding in DB (Supabase): uses Supabase

Services it uses

Google DocsSupabaseTelegramOpenRouter Chat Model

HTTP calls to: api.together.xyz, fqdttboovkcezrxizkpw.supabase.co

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

⚠️ RUN the FIRST WORKFLOW ONLY ONCE (as it will convert your content in Embedding format and save it in DB and is ready for the RAG Chat) 📌 Telegram Trigger Type: telegramTrigger Purpose: Waits for new Telegram messages to trigger the workflow. Note:…

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