Templates / RAG-powered AI voice customer support agent (Supabase + Gemini + ElevenLabs)

RAG-powered AI voice customer support agent (Supabase + Gemini + ElevenLabs)

Ready for 3.0

by iamvaar ✓ · 480 views · created 2025-08-08 · Support Chatbot, Multimodal AI

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.

Nodes used (10)

Basic LLM ChainGoogle DocsSupabaseGoogle Vertex Chat Model

What it does

Execution video: Youtube Link I built an AI voice-triggered RAG assistant where ElevenLabs’ conversational model acts as the front end and n8n handles the brain....here’s the real breakdown of what’s happening in that workflow: 1. Webhook (/inf) Gets hit by ElevenLabs once the user finishes talking. Payload includes userquestion. 2. Embed User Message (Together API - BAAI/bge-large-en-v1.5) Turns the spoken question into a dense vector embedding. This embedding is the query representation for semantic search. 3. Search Embeddings (Supabase RPC) Calls matchembeddings1 to find the top 5 most relevant context chunks from your stored knowledge base. 4. Aggregate Merges all retrieved chunk values into one block of text so the LLM gets full context at once. 5. Basic LLM Chain (LangChain node) Prompt forces the model to only answer from the retrieved context and to sound human-like without saying “based on the context”.... Uses Google Vertex Gemini 2.5 Flash as the actual model. 6. Respond to Webhook Sends the generated answer back instantly to the webhook call, so ElevenLabs can speak it back. You essentially have: Voice → Text → Embedding → Vector Search → Context Injection → LLM → Response → Voice

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.