Route multi-knowledge-base support answers and escalate uncertain cases
At a glance
An n8n template combines an Ollama agent, three Supabase vector knowledge bases, Postgres memory, request validation, deduplication, and confidence-based escalation across Slack, Gmail, and callbacks. This workflow is listed under builder, n8n, ollama, rag, supabase, human-escalation, template.
This n8n template extracts invoice PDFs with GPT-4o, checks invoice numbers and totals, assesses category and risk, and uses a wait-and-resume approval path before recording the final status.
An n8n agent searches a knowledge base and order history in parallel, uses GPT-4o-mini to classify and draft replies, emails resolvable tickets, and routes billing/refund/security cases to Slack with a draft (~$0.90/mo at 50 tickets/day).
Official n8n AI example: a chat agent answers with GPT-4; if unsure it calls a sub-workflow that asks for the user's email and posts the unanswered question to a Slack support channel.