Automate support ticket triage and resolution with JIRA and AI
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every minute). Along the way it connects Jira Software and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every minute).
- Get Open Tickets (Jira Software): get many
- Mark as Seen (Remove Duplicates): removes duplicate items
- Simplify Ticket (Edit Fields (Set)): sets 9 fields: projectKey, issueKey, issueType…
- Label, Prioritize & Rewrite (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Update Labels, Priority and Description (Jira Software): update
- Get Recent Similar Issues Resolved (Jira Software): get many
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Attempt to Resolve Issue (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Simplify Issue (Edit Fields (Set)): sets 9 fields: projectKey, issueKey, issueType…
…plus 6 more steps. See the full node list below.
Services it uses
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 (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Jira Software
n8n-nodes-base.jira - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Aggregate
n8n-nodes-base.aggregate - Remove Duplicates
n8n-nodes-base.removeDuplicates
From the author
This n8n template automates triaging of newly opened support tickets and issue resolution via JIRA. If your organisation deals with a large number of support requests daily, automating triaging is a great use-case for introducing AI to your support teams.…