RAG-powered AI voice customer support agent (Supabase + Gemini + ElevenLabs)
Execution video: Youtube Link(https://youtu.be/GGvJBnIZQsY?si=y-SPWiy8EFo473s)
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:
- Webhook (
/inf)
- ▪Gets hit by ElevenLabs once the user finishes talking.
- ▪Payload includes
user_question.
- 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.
- Search Embeddings (Supabase RPC)
- ▪Calls
matchembeddings1to find the top 5 most relevant context chunks from your stored knowledge base.
- Aggregate
- ▪Merges all retrieved
chunkvalues into one block of text so the LLM gets full context at once.
- 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.
- 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
production deployment
Need this workflow deployed or tailored for your business?
I customize n8n pipelines, build proprietary API nodes, and connect production databases with sub-100ms reliability.
creator
iamvaar
Top 50 Verified Creator
AI Automation Engineer building production-grade n8n systems, custom nodes, and LLM pipelines.
n8n.io/creators/iamvaarspecs
related automations
More workflows from iamvaar
Convert WhatsApp video to transcripts and /tts text to voice with Gemini
Quick Overview This workflow listens for incoming WhatsApp messages and either transcribes video audio to text with Google Gemini (after converting it to MP3 via FreeConvert) or...
Route weather-based delivery holds with Open-Meteo, Gemini, Postgres, and ServiceNow
Quick overview Demo Video: https://youtu.be/ccEy0J-LKY
Track daily LLM brand visibility with Gemini, Groq, OpenRouter, Sheets and Slack
Quick overview Youtube Video: https://youtu.be/BOodBD6HWSU?si=yEenUFBdYOq1RVj This workflow runs daily at 7AM to generate buyer-style prompts with Google Gemini, query Groq, Ope...
Want this workflow running in your stack?
Book a free 30-minute session. I'll inspect your current infrastructure, review required API credentials, and map out the deployment.