Auto-assign support tickets with JIRA, Supabase and AI
Needs changesWhat this workflow does
This AI workflow has 28 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Embeddings OpenAI, Supabase Vector Store, OpenAI Chat Model and Jira Software.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Last 50 Resolved (Jira Software): get many
- Get Unassigned Tickets more than 5 days (Jira Software): get many
- Remove Duplicates: removes duplicate items
- For Each Issue (Loop Over Items (Split in Batches)): loops over the items in batches
- Collect Fields (Edit Fields (Set)): sets 9 fields: project_key, issue_key, issue_type…
- Issues Similarity Database (Supabase Vector Store): stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
- Find Similar Issues + Assignees (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Supabase Vector Store)
- To Structured Output (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
- Issues to Items (Split Out): splits a list into separate items
- If: checks a condition and branches into true / false
…plus 7 more steps. See the full node list below.
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 Find Similar Issues + Assignees (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Find Similar Issues + Assignees (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (17)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Jira Software
n8n-nodes-base.jira - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Remove Duplicates
n8n-nodes-base.removeDuplicates - Edit Fields (Set)
n8n-nodes-base.set - No Operation, do nothing
n8n-nodes-base.noOp - Split Out
n8n-nodes-base.splitOut - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Summarize
n8n-nodes-base.summarize - Sort
n8n-nodes-base.sort - If
n8n-nodes-base.if
From the author
This n8n template builds a simple automation to ensure no JIRA issues go unassigned for more than a week to prevent them falling through the cracks. It uses AI to perform searching tasks against a Supabase Vector Store. This can be one way to help reduce the…