Skip to content
Worfilo

Use case

AI support ticket triage

Updated September 17, 2026

Every support queue mixes outages with password resets. This workflow reads each ticket, has Claude classify it into structured fields, escalates what is urgent, and drafts a reply for everything else, with every decision visible on the canvas.

Nodes used:manual_triggeragentswitchsetmergeoutput

How the workflow runs

  1. A trigger receives the ticket: customer, subject and message.
  2. A Classify agent returns urgency and topic as structured output instead of free text.
  3. A Switch fires urgent when urgency is high, and default otherwise.
  4. The urgent branch builds an escalation with a Set node; the default branch drafts a reply with a second agent.
  5. A Merge joins whichever branch ran, and the Output node marks the result.

Classify with structured output

Give the classify agent an output schema so later nodes branch on fields, not on parsed text. Worfilo makes the schema strict for you.

Classify · Structured output (JSON Schema)
{
  "type": "object",
  "properties": {
    "urgency": { "type": "string", "enum": ["low", "normal", "high"] },
    "topic": { "type": "string", "enum": ["billing", "bug", "account", "other"] }
  },
  "required": ["urgency", "topic"]
}
Route · Switch case
nodes.classify.output.structured.urgency == 'high'

Why run it on a canvas

When a ticket is misrouted, open the run: the skipped branch is dimmed, and the classify node shows the exact prompt it received and the fields it returned. Adjust the prompt and re-test just that node against the same ticket.

Make it yours

  • Add Switch cases per topic to route billing and bugs to different queues.
  • Post urgent tickets to a Slack channel with a Connector node, or update your helpdesk through an API node on the helpdesk API you added.
  • Set the reply agent's error mode to error_port and route failures to a human review branch.

Build it on the canvas

Create a free account, describe the workflow or wire it yourself, and run it in the browser.