Templates / Autonomous AI Customer Support Agent with Multi-KB RAG & Human Escalation

Autonomous AI Customer Support Agent with Multi-KB RAG & Human Escalation

Ready for 3.0

by Nev · 67 views · created 2026-09-04 · Support Chatbot, AI Chatbot

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 AI workflow has 50 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Supabase, Ollama Chat Model, Embeddings Ollama and Postgres Chat Memory and 4 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Validate API Key (If): checks a condition and branches into true / false
  2. Build Error Summary (Code): runs custom JavaScript code
  3. Normalise Request (Edit Fields (Set)): sets or maps fields
  4. Return 401 Unauthorized (Respond to Webhook): sends the response back to the webhook caller
  5. Send Error Alert (Slack): uses Slack
  6. Log Request Timestamp (Supabase): uses Supabase
  7. Count Recent Requests (Supabase): get many
  8. Check Rate Limit (If): checks a condition and branches into true / false
  9. Return 429 Too Many Requests (Respond to Webhook): sends the response back to the webhook caller
  10. Check Message Body (If): checks a condition and branches into true / false

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

Services it uses

SupabaseOllama Chat ModelEmbeddings OllamaPostgres Chat MemorySupabase Vector StoreSlackGmailWikipedia

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

From the author

Quick Overview This workflow receives support requests via webhook, validates and rate-limits them in Supabase, then uses an Ollama-powered LangChain agent with three Supabase vector knowledge bases and Wikipedia search to answer via Slack, Gmail, or HTTP…

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