Email Triage
Classify inbound emails against your tenant taxonomy. Returns category, urgency, sentiment, and a deterministic routing decision. Known FM portal senders can short-circuit toportal_ingest without AI classification.
POST /triage/classify
Classify a single email. Request body:
Response fields:
Example:
- Inbox routing: Branch n8n or helpdesk workflows on
decision.actionanddecision.destinationbefore human review. - Portal handoff: When
decision.actionisportal_ingest, forward the message toPOST /ingest/email/portalinstead of a generic queue. - Priority escalation: Filter on
classification.urgencyanddecision.priorityfor same-day handling. - Volume analytics: Aggregate
classification.categorycounts to measure inbound mix by type.
- Pipeline order: portal short-circuit → pre-filter → AI classification → rule-based routing.
- Pass
skip_portal_check: truewhen upstream logic has already separated portal traffic. - Typical latency: instant for portal/pre-filter hits; 2–5s when AI classification runs.
- Use
GET /triage/categoriesto fetch the active taxonomy for UI pickers.
GET /triage/categories
Return the category taxonomy for UI rendering (system default plus tenant overlay). Query parameters:categories[] with value (category code), label, and description.