← catalog / AI Automation Software / Customer support
Route an inbound ticket to a queue, set an SLA from urgency and tone, and open a refund case when one is requested.
6 questions, declared once. Jev and Laya accept this shape directly; the Claude path renders it into a prompt and a JSON schema.
{
"department": {
"type": "choice",
"instructions": "Which team should own this ticket?",
"criteria": {
"billing": "Charges, invoices, refunds, payouts, and disputes about money already billed",
"technical": "Bugs, outages, API errors, integration failures",
"account": "Login, permissions, seats, data export, account closure",
"sales": "Pricing, adding seats, upgrades, renewals, new contracts, trials"
}
},
"urgency": {
"type": "score",
"instructions": "How fast does this need a human response?",
"criteria": [
"Routine question; a reply within a few days is fine",
"Work is slowed but not stopped; reply within a day",
"The customer is blocked from doing their job right now",
"Money is actively being lost or a production system is down"
]
},
"frustration": {
"type": "score",
"instructions": "How frustrated is the customer, judged from their tone and word choice?",
"criteria": [
"Neutral or friendly",
"Mildly annoyed but still cooperative",
"Clearly angry, using emphatic or accusatory language",
"Threatening to cancel, escalate publicly, or take legal action"
]
},
"churn_risk": {
"type": "noul",
"instructions": "Does the customer signal they may stop using the product?",
"criteria": {
"true": "Mentions cancelling, switching to a competitor, or not renewing",
"false": "No indication they intend to leave"
}
},
"refund_requested": {
"type": "noul",
"instructions": "Is the customer asking for money back?",
"criteria": {
"true": "Explicitly requests a refund, credit, or reversal of a charge",
"false": "No request for money back"
}
},
"needs_engineer": {
"type": "noul",
"instructions": "Would answering this require someone who can read logs or code?",
"criteria": {
"true": "Involves error traces, API behavior, or reproducible system faults",
"false": "A support agent could resolve it from documentation or account tools"
}
}
}Derived from the questions above, so every backend is asked the same thing.