AI-powered Zendesk support responses with RAG, OpenAI, and Supabase knowledge base
Needs changesWhat 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.
- Extract New Ticket (Edit Fields (Set)): sets 8 fields: timestamp, ticket_id, ticket_status…
- RAG AI Agent (AI Agent): runs an AI agent
- Postgres Ticket Memory (Postgres Chat Memory): uses Postgres Chat Memory
- Supabase Vector Store: uses the Supabase vector store
- Embeddings OpenAI: uses Embeddings OpenAI
- Retrieve Knowledge Base (Vector Store Question Answer Tool): uses Vector Store Question Answer Tool
- If: checks a condition and branches into true / false
- Add Tags (ai_reply) (HTTP Request): calls an HTTP API (PUT)
Services it uses
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.0 | Replace 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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
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…