Nodagentry

Support triage: an AI workflow that drafts and checks ticket replies

A customer writes in: they were charged twice for August and your bot closed their ticket. The reply has to be careful, accurate about the refund policy and quick.

This workflow splits the job the way a support team would. A cheap model classifies the ticket, a retrieval step finds the relevant FAQ and a stronger model drafts the reply. A top-tier policy checker reviews the draft for refund risk, and a person sees the draft and the review together before it is sent.

Open this workflow in the editor

Free in Sim. No account or API key.

intentkbdraftreviewTicket InStartClassifyLocal 7B$0.0000FAQ RetrieveFrontier MiniDraft ReplyFrontier$0.004Policy CheckFrontier Pro$0.014Human GateApprovalSend ReplyResult
The workflow as it opens in the editor. Each step shows its estimated cost per run at list prices; the costliest is highlighted.

What it costs to run

RouteSteps that call a modelPer run
Every runEnds at Send ReplyClassify, Draft Reply, Policy Check$0.018

At 300 tickets a day, that is about $163 a month.

Estimated before running, from the prompt each step is sent and an assumed reply length, at list prices for each step's model tier. Want the same numbers for your own agent? Paste its code into the cost calculator.

Sample input

Customer says: I've been charged twice for August and your bot closed my ticket. Write a careful support reply and flag refund risk.

How the workflow runs, step by step

Sample replies show what each step returns for the sample input above. In the editor, Sim shows the same replies for this input without calling a model; Live runs your own models.

  1. 1. Start

    Ticket In

    The customer's message starts the run.

    Next: Classify

  2. 2. Agent

    Classify

    A small model labels intent and urgency.

    Sample reply
    INTENT: billing
    URGENCY: high
    REFUND RISK: yes

    Next: FAQ Retrieve (intent)

  3. 3. Tool

    FAQ Retrieve

    Searches your FAQ or help-centre text for the passages that apply.

    Next: Draft Reply (kb)

  4. 4. Agent

    Draft Reply

    A stronger model writes the customer-facing reply from the ticket and the FAQ.

    Sample reply
    Hi, I'm sorry you were charged twice for August, and that our bot closed your ticket before a person looked at it. That shouldn't have happened.
    
    I've reopened your ticket and asked our billing team to check the duplicate charge. They'll confirm within 1 business day. If it's a duplicate, we'll issue a credit, which usually shows on your statement within 5 to 7 business days.
    
    You don't need to do anything else. I'll update you here as soon as billing replies.
    
    Thanks for your patience,
    Support team

    Next: Policy Check, Human Gate (draft)

  5. 5. Agent

    Policy Check

    The most capable model checks the draft for refund and policy risk and suggests exact edits. It is most of the cost.

    Sample result
    RISK: low, because the reply promises an investigation, not a refund, and matches the duplicate-charge policy.
    ISSUES: none
    EDITS: "we'll issue a credit" → "we'll issue a credit for the duplicate charge", so it doesn't read as a refund of both.
    SCORE: 92

    Next: Human Gate (review)

  6. 6. Human approval

    Human Gate

    A person sees the draft and the policy review together and approves before the reply is sent.

    Next: Send Reply

  7. 7. Result

    Send Reply

    The approved reply is the result of the run.

Why build it as a graph

When every ticket goes through one large prompt, you cannot tell which part of the reply costs the most or where it went wrong. As a graph, each step has its own model, cost and output, so you can downgrade the cheap steps and keep the expensive check only where it earns its place.

Things to try

  • Run it in Sim and look at the cost per step: most of the spend sits in the draft and the policy check.
  • Apply the suggested insight to sample or downgrade the policy check, then re-run and compare cost and quality. Because the check sits beside the draft, a sampled-out check never leaves a ticket without a reply.
  • Paste one of your own tickets as the task to see how the route changes.
Run it free