Templates / AI-powered Zendesk support responses with RAG, OpenAI, and Supabase knowledge base

AI-powered Zendesk support responses with RAG, OpenAI, and Supabase knowledge base

Needs changes

by Md Sagor Khan · 360 views · created 2025-08-27 · AI RAG, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Supabase Vector Store, Postgres Chat Memory, Embeddings OpenAI and Vector Store Question Answer.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract New Ticket (Edit Fields (Set)): sets 8 fields: timestamp, ticket_id, ticket_status…
  2. RAG AI Agent (AI Agent): runs an AI agent
  3. Postgres Ticket Memory (Postgres Chat Memory): uses Postgres Chat Memory
  4. Supabase Vector Store: uses the Supabase vector store
  5. Embeddings OpenAI: uses Embeddings OpenAI
  6. Retrieve Knowledge Base (Vector Store Question Answer Tool): uses Vector Store Question Answer Tool
  7. If: checks a condition and branches into true / false
  8. Add Tags (ai_reply) (HTTP Request): calls an HTTP API (PUT)

Services it uses

Supabase Vector StorePostgres Chat MemoryEmbeddings OpenAIVector Store Question Answer

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in RAG AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
RAG AI Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

⚡ How it works This workflow automates first responses to new Zendesk tickets with the help of AI and your internal knowledge base. Webhook trigger fires whenever a new ticket is created in Zendesk. Ticket details (subject, description, requester info) are…

Excerpt from Md Sagor Khan'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.