Ticket router
List your teams, paste customer messages, and it picks the team and priority for each.
For developers: use it from the API
The same tool from your app. Send the fields and a list of items; you get the same verdicts back.
curl -s https://7aasm.com/v1/tools/ticket-router \
-H "Authorization: Bearer $HASM_KEY" \
-H "Content-Type: application/json" \
-d '{"fields": {"teams": "Tech support\nBilling and refunds\nSales\nShipping"}, "items": ["I was charged twice, I need the refund today", "The app shows an error every time I log in"]}'Or send the same questions yourself to POST /v1/systemone:
{
"state": "رسالة عميل:\n…",
"questions": {
"team": {
"type": "choice",
"instructions": "أي قسم يتولى هذه الرسالة؟",
"criteria": {
"o1": "Tech support",
"o2": "Billing and refunds",
"o3": "Sales",
"o4": "Shipping",
"other": "لا يخص أي قسم مما سبق"
}
},
"priority": {
"type": "score",
"instructions": "متى يجب الرد؟",
"criteria": [
"خلال أيام",
"خلال يوم",
"خلال ساعات",
"فوراً: ضرر أو مهلة"
]
}
}
}