The Problem
A B2B SaaS with 200 customers receives 40-60 support emails daily. Everything lands in one inbox. The support lead manually reads each one, decides if it's a bug report, feature request, billing question, or spam, then forwards it to the right person or creates a task.
Critical bugs sometimes sit for hours before anyone notices because they're buried between "how do I export?" questions. A single P0 incident (app down, data loss) going unnoticed for even 30 minutes can cost thousands in churn.
The Solution
Every incoming email is instantly classified by GPT-4o-mini (intent, priority, summary), then routed to the correct team and channel. Bugs become Linear issues. P0 incidents trigger immediate @channel alerts. Customers get an acknowledgment within seconds.
- Email trigger catches every new support message
- OpenAI classifies intent (bug/feature/billing/general/spam) and extracts priority (P0-P3)
- Code node parses the AI response into structured data
- Switch node routes each category to the right destination
- Bugs create a Linear issue and post in #engineering
- P0 detection triggers a Slack @channel alert in #incidents
- Billing questions route to #billing
- Feature requests are logged in a spreadsheet for prioritization
- Auto-acknowledgment email fires to the customer immediately
The Workflow
This is a sanitized replica of the production workflow. Credentials, API keys, and client-specific data have been removed to protect confidentiality.
Results
- P0 detection: hours to under 2 minutes
- Misrouted tickets reduced by 70%
- Support lead saves 2 hours/day on manual triage
- Customer satisfaction improved 25% (instant acknowledgment)
- Complete ticket analytics for free (every ticket logged with metadata)
Timeline
Mar 2026
Stack
Responsibilities
- AI classification prompt engineering
- Multi-output routing logic
- Priority escalation system
- Auto-acknowledgment flow
