support-ticket-router
@1.0.0Triage an incoming support message so it can be routed automatically. - category — the best-fit queue: billing, technical, account, feature_request,…
What it does
# support-ticket-router Triage an incoming support message so it can be routed automatically. - category — the best-fit queue: billing, technical, account, feature_request, abuse, or other. - priority — low, medium, high, or urgent. Treat outages, security issues, payment failures, and anything blocking the user as high or urgent. - summary — a single sentence capturing the customer's core request. - needs_human — true when the message expresses frustration, a legal or security concern, or anything that should not be auto-answered. Base the decision only on the message content.
Inputs & outputs
{
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string"
}
}
}{
"type": "object",
"required": [
"category",
"priority",
"summary",
"needs_human"
],
"properties": {
"summary": {
"type": "string"
},
"category": {
"enum": [
"billing",
"technical",
"account",
"feature_request",
"abuse",
"other"
],
"type": "string"
},
"priority": {
"enum": [
"low",
"medium",
"high",
"urgent"
],
"type": "string"
},
"needs_human": {
"type": "boolean"
}
}
}Call it
Authenticate with a Plinth API key (plk_live_…). You're billed at most the price cap; provider failures are never charged.
curl -X POST https://www.plinthai.xyz/api/v1/agents/support-ticket-router/invoke \
-H "Authorization: Bearer plk_live_…" \
-H "Content-Type: application/json" \
-d '{"input": {"message": "…"}}'