Ticket Workflows
WF A: New Ticket — AI Assignment
Workflow ID: eGtJMQyqJA9yiwPP
Triggered by GLPI webhook when a new ticket is created.
Flow
- GLPI Webhook receives new ticket notification
- AI Classify Ticket — Claude analyzes ticket content to determine category, priority, and team
- Assign Ticket — Updates GLPI with AI-recommended assignment
- Request Approval — Creates validation request for the assigned group lead
Key Details
- System prompt and user prompt are separated (fixes issue #2)
- AI uses system message role for classification instructions
WF B: On Approval — Scope Doc + ClickUp
Workflow ID: NFXg2TQX8S5bsVYR
Triggered when a ticket approval is granted. Generates documentation and creates ClickUp tasks.
Flow (35 nodes)
- Approval Webhook receives validation response
- Get Ticket from GLPI (without
expand_dropdowns) - AI Scope Doc — Comprehensive 10-section scope document (maxTokens=4000)
- AI Solution Brief — Simplified end-user document (6 sections)
- PDF Generation — pdfmake creates professional PDF
- GLPI Upload — PDF attached to ticket Documents tab
- ClickUp Routing — Category-based task/list creation
- GLPI Followup — Summary posted as ticket followup
ClickUp Routing Rules
| Category | Action |
|---|---|
| IT | Create task in engineer's list (Infrastructure Support folder) |
| DTO | Create task in Daily Tasks list (901216073297) |
| SAP | Create new list per ticket (Quick Fixes or Projects folder) |
| MB | Create new list per ticket (Quick Fixes or Projects folder) |
| Master Data | Create task in list 901216073993 |