6-class email router for a 22-person consultancy
An IMAP trigger feeds an OpenAI classifier that routes 80–120 emails a day to Slack, Pipedrive and Zendesk. It hit 94% accuracy on 500 emails and saves 11 hours a week.
- Level Intermediate
- Setup1–3 hrs (estimated)
- Evidence Some evidence
- CostNot stated in source
- No-codeNo
What this is
A real workflow someone ran with an AI agent. Copy the prompt into your agent, connect the listed tools, and it runs for you.
- Copy the prompt below.
- Paste it into your agent (we recommend Grok Bot) and connect the tools listed: whatever the prompt mentions.
- Run it once, check the result, then put it on a schedule if it repeats.
What you get
An IMAP trigger feeds an OpenAI classifier that routes 80–120 emails a day to Slack, Pipedrive and Zendesk. It hit 94% accuracy on 500 emails and saves 11 hours a week.
The prompt
Cleaned version rewritten from the source — not a direct quote.
n8n: IMAP trigger on info@/support@/sales@ → OpenAI node classifies into {invoice, support ticket, sales lead, recruitment, internal, junk} with confidence → below threshold goes to a human → route: leads→Pipedrive, tickets→Zendesk, rest→Slack channel.Recommended
Try it in Grok Bot
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (as needed) as connectors when Grok Bot asks.
- If the task repeats, ask: “Make this a daily routine.”
Alternatives: the same prompt works in n8n, Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: — · Stack: n8n + OpenAI
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Pitfalls & reliability
- Strong numbers (94% on a 500-email sample, 11 hours a week, €12/month VPS).
Evidence
Strong numbers (94% on a 500-email sample, 11 hours a week, €12/month VPS). Marketing check: PASS: practitioner comment with no link-out. A different commenter in the thread promoted an agency. Duplicate check vs agentusecases.ai: POSSIBLE DUPE: triage-and-draft-replies-for-three-email-accounts Verification: verified via search excerpt: 80-120 emails/day, 6 classes, 94% on 500 emails, 11h/week recovered.
Source: Reddit · Verified by us: not yet · Report broken or outdated