Laya Tester
Enter a state and questions, then click Run.
API Key
State (the text or JSON to analyse)
{ "subject": "Refund not received", "body": "I cancelled two weeks ago and still have no refund." }
Questions
{ "department": { "type": "choice", "instructions": "Which team should handle this ticket?", "criteria": { "billing": "payments, refunds, invoices", "support": "product help and bugs", "sales": "new purchases" } }, "urgency": { "type": "score", "instructions": "How urgent is this ticket?", "criteria": ["not urgent", "somewhat urgent", "urgent", "critical"] }, "churn_risk": { "type": "noul", "instructions": "Is the customer likely to cancel or dispute?" } }
Run
Result
(results appear here)