🎫 Ticket triage for Jira Service Management with Gemini AI audit and guidance

⚑ 305 views · 🎫 Ticket Management & Triage

Description

An extendable triage workflow that classifies severity, sets components, and posts actionable guidance for support engineers using n8n + Gemini + Cache Augmented Generation (CAG). Designed for Jira Service Management, but easily adaptable to Zendesk, Freshdesk, or ServiceNow.


Description

Support teams loose valuable time when tickets are misclassified: wrong severity, missing components, unclear scope. Engineers end up re-routing issues and chasing missing info instead of solving real problems.

This workflow automates triage by combining domain rules with AI-driven classification and guidance, so engineers receive better-prepared tickets.

It includes:
βœ… Real-time ticket capture via webhook
βœ… AI triage for severity and component
βœ… CAG-powered guidance: 3 next steps + missing info
βœ… Internal audit comment with justifications & confidence
βœ… Structured metrics for reporting


βš™οΈ How It Works

This workflow runs in 4 stages:

πŸ“₯ Entry & Setup

🧠 AI Analysis (Gemini + CAG)

πŸ€– Update & Audit

πŸ“Š Metrics


🌟 Key Features


πŸ” Required Credentials

ToolUse
Jira Service ManagementTicketing system (API + comments)
Google Gemini/GemmaLLM analysis
HTTP Basic AuthFor Jira API requests (bot user)

⚠️ Setup tip: create a dedicated bot user in Jira Service Management with an API token.
This ensures clean audit logs, proper permissions, and avoids mixing automation with human accounts.


🧰 Customization Tips


πŸ—‚οΈ Domain Schema

This workflow uses a domain-driven schema to guide triage.
It defines:

✨ The full domain JSON (with complete keyword & guidance mapping) is included as a sticky note inside the workflow.


πŸ’‘ Use Cases


🧠 Who It’s For


πŸš€ Try It Out!

  1. βš™οΈ Import the Workflow in n8n (cloud or self-hosted).
  2. πŸ”‘ Add Credentials (JSM API + Gemini key).
  3. ⚑ Configure Setup (confidence threshold, triage label, domain rules).
  4. πŸ”— Connect Webhook in JSM β†’ issue_created β†’ n8n webhook URL.
  5. πŸ§ͺ Test with a Ticket β†’ see auto-updates + AI audit comment.
  6. πŸ”„ Swap the Ticketing System β†’ adapt HTTP nodes for Zendesk, Freshdesk, or ServiceNow.

πŸ’¬ Have Feedback or Ideas? I’d Love to Hear

This project is open, modular, and evolving. If you try it, adapt it, or extend it, I’d love to hear your feedback β€” let’s improve it together in the n8n builder community.

πŸ“§ ascuncia.es@gmail.com πŸ”—Linkedin

πŸ”— Nodes Used

HTTP Request, Webhook, Google Gemini

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup