Skip to main content NEW Discover the future of AI operating teams on our new blog →
OllaSuper
Sign In Book Demo Deploy Workforce โ†’
โšก Agents โ†’ Inbox Triage
โšก
Ops ยท openfang Agent

Inbox Triage Agent

Every 15 minutes, classifies new inbound messages, drafts replies for routine ones, escalates the rest with full context.

Chat with this Agent โ†’ How it works
Schedule
Every 15 minutes
Model
OpenAI GPT-4o-mini
openrouter/openai/gpt-4o-mini
Approval
Drafted replies require your approval before send
Replies land in outbox/drafts/<thread>__reply.md. Escalations bypass โ€” they're informational only. Spam is moved to inbox/spam/ silently.

What it does

Every 15 minutes, scans inbox/unread/ for new YAML+markdown messages. Classifies each by intent (question / complaint / billing / sales / spam), urgency (P0_blocking โ†’ P3_whenever), sentiment, and requires_human flag. For routine messages, drafts a reply (capped at 200 words, matches sender's formality). For anything mentioning refund / lawyer / cancel / GDPR / breach, escalates instead of drafting โ€” and prepends an ALERT line for angry P0s.

Tools it can use

filesystem
file_read Read incoming messages from inbox/unread/
file_list Find new messages each run
file_write Draft replies in outbox/ or escalations
memory
memory_store Per-thread classification history
memory_recall Sender history before drafting

Workspace

Paths under /var/lib/openfang/workspace/ this Agent reads or writes:

inbox/unread/inbox/spam/outbox/drafts/escalations/reports/inbox/shared.inbox.*

Sample interaction

You
Triage now.
โšก Inbox Triage Agent
**1 message processed ยท 1 escalated ยท 0 drafts ยท 0 spam** **Escalation written:** escalations/P0_blocking__t_refund_test_001.md From angry-cto@example.com / Subject: Where is my refund?? Classification: complaint ยท P0_blocking ยท angry ยท requires_human=true Key snippets: - "I cancelled 30 days ago and you charged me again." - "If not resolved by tomorrow I am calling my lawyer." Recommended owner: support_lead. ALERT prepended (P0 + angry). **Top items needing eyes:** the escalation above. No drafts pending.