{ "state": { "channel": "email", "message": "Hi, I was charged twice for my March invoice and the second payment is still pending. I need this fixed before Friday or I'll have to dispute it with my bank." }, "questions": { "team": { "type": "choice", "instructions": "Which team should handle this message?", "criteria": { "billing": "payments, invoices, refunds", "technical_support": "bugs, outages, errors", "sales": "pricing, plans, new purchases", "account": "login, password, profile changes" } }, "urgent": { "type": "noul", "instructions": "Does this message need a reply today?" }, "mood": { "type": "score", "instructions": "How upset is the customer?", "criteria": ["calm", "slightly annoyed", "annoyed", "angry", "furious"] } } }