CoreFlow
AI-powered task routing
The problem CoreFlow solves
Modern customer support and IT workflows are often bottlenecked by manual ticket sorting, leading to delayed response times and human error. CoreFlow solves this by providing an enterprise-grade AI routing microservice. It acts as an autonomous agent that ingests raw support tickets via a REST API, analyzes the intent and urgency using an LLM (Gemini), and deterministically routes them to the correct department (IT, Billing, Sales). By integrating persistent SQLite database tracking and a live web dashboard, CoreFlow transforms chaotic incoming requests into structured, actionable, and trackable data pipelines.
Challenges I ran into
The biggest challenge was transitioning from a simple script into a robust, fault-tolerant web service. When integrating the Gemini AI for intent classification, I realized API rate limits or network issues could crash the entire routing pipeline. To overcome this, I engineered a deterministic keyword-scoring fallback engine that automatically takes over if the AI fails, ensuring 100% uptime. Additionally, managing the state between the FastAPI backend, the SQLite database, and serving a live HTML UI—all while keeping the code clean—required careful asynchronous handling and strict data validation using Pydantic.
