AI-Powered Support Ticket Triage for Small Teams
QueuePilot is a web application that helps small businesses quickly identify and prioritize customer support tickets using AI analysis. It automatically categorizes messages, detects urgency and sentiment, and provides suggested repliesโhelping teams respond faster to customers who need it most.
Try it now: https://queuepilot-teal.vercel.app
Quick Demo: Click "โก Judge Demo Mode" for an instant impressive demonstration!
API Endpoint: https://queuepilot-backend.vercel.app
Small businesses receive dozens of customer support messages daily across multiple channels. Without proper triage, teams struggle to:
- Identify which tickets need immediate attention
- Detect angry or frustrated customers before issues escalate
- Prioritize workload effectively
- Maintain consistent response quality
QueuePilot solves this by instantly analyzing all incoming tickets and providing actionable insights, allowing support teams to focus on what matters most.
- Smart Categorization: Automatically sorts tickets into delivery, refund, billing, bug, complaint, or general categories
- Urgency Detection: Identifies high, medium, and low priority tickets based on content analysis
- Sentiment Analysis: Detects positive, neutral, frustrated, or angry customer emotions
- Reply Suggestions: Generates professional, context-aware response templates
- Internal Action Notes: Provides specific recommendations for support team members
- Summary Dashboard: Shows aggregate metrics and recommended actions
- One-Click Demo: Load 15 realistic demo tickets instantly
- Bulk Analysis: Paste multiple tickets at once, separated by "---"
- Visual Badges: Color-coded urgency, category, and sentiment indicators
- Export Options: Download results as JSON or CSV
- Responsive Design: Works on desktop and mobile devices
- Fallback AI Analyzer: Keyword-based classification that works without external APIs
- watsonx.ai Ready: Architecture designed for easy IBM watsonx.ai integration
- Fast Performance: Analyzes 15 tickets in under 2 seconds
- No Database Required: Stateless design for easy deployment
- React 18 - UI framework
- Vite - Build tool and dev server
- CSS-in-JS - Inline styling for component isolation
- Node.js - Runtime environment
- Express - Web server framework
- ES Modules - Modern JavaScript syntax
- Fallback Analyzer - Rule-based classification using keyword patterns
- watsonx.ai Adapter - Ready for IBM watsonx.ai integration (placeholder implementation)
- Node.js 16+ installed
- npm or yarn package manager
- Clone or download the project
cd queuepilot- Install all dependencies
npm run install:allThis will install dependencies for the root, client, and server.
Start both frontend and backend:
npm run devThis starts:
- Backend API server on
http://localhost:3001 - Frontend dev server on
http://localhost:5173
Or run them separately:
Terminal 1 - Backend:
npm run dev:serverTerminal 2 - Frontend:
npm run dev:clientOpen your browser and navigate to:
http://localhost:5173
-
Landing Page
- Click "Try Demo" button
-
Ticket Input Screen
- Click "Load Demo Tickets" to populate with 15 realistic examples
- Or paste your own support messages (separate with "---")
- Click "Analyze Tickets"
-
Dashboard Screen
- View summary statistics at the top
- See all analyzed tickets sorted by urgency (high first)
- Expand any ticket to see suggested reply and action notes
- Export results as JSON or CSV
Paste customer messages in this format:
My order is late and I'm very frustrated!
---
Thank you for the excellent service!
---
I was charged twice for my order. Please refund.
queuepilot/
โโโ client/ # React frontend
โ โโโ src/
โ โ โโโ components/
โ โ โ โโโ LandingPage.jsx # Welcome screen
โ โ โ โโโ TicketInput.jsx # Input interface
โ โ โ โโโ Dashboard.jsx # Results view
โ โ โ โโโ TicketCard.jsx # Individual ticket display
โ โ โ โโโ SummaryPanel.jsx # Aggregate statistics
โ โ โ โโโ Badge.jsx # Visual indicators
โ โ โโโ utils/
โ โ โ โโโ exportUtils.js # JSON/CSV export
โ โ โโโ App.jsx # Main app component
โ โ โโโ App.css # Global styles
โ โ โโโ main.jsx # Entry point
โ โโโ index.html
โ โโโ package.json
โ โโโ vite.config.js
โโโ server/ # Express backend
โ โโโ src/
โ โ โโโ analyzer/
โ โ โ โโโ fallbackAnalyzer.js # Keyword-based AI
โ โ โ โโโ watsonxAdapter.js # watsonx.ai interface
โ โ โโโ data/
โ โ โ โโโ demoTickets.js # Sample data
โ โ โโโ routes/
โ โ โ โโโ analyze.js # API endpoints
โ โ โโโ server.js # Express server
โ โโโ package.json
โโโ README.md # This file
โโโ DEVELOPMENT_LOG.md # IBM Bob contributions
โโโ SUBMISSION_TEXT.md # Hackathon submission
โโโ package.json # Root package file
Analyze support tickets
Request:
{
"tickets": [
{
"id": 1,
"message": "My order is late!"
}
]
}Response:
{
"tickets": [
{
"id": 1,
"message": "My order is late!",
"category": "delivery",
"urgency": "high",
"sentiment": "frustrated",
"suggestedReply": "I understand your concern...",
"internalAction": "Check shipping status immediately..."
}
],
"summary": {
"total": 1,
"highUrgency": 1,
"negativeSentiment": 1,
"topCategory": "delivery",
"recommendedAction": "Prioritize delivery tickets..."
}
}Get demo ticket data
Get system configuration and watsonx.ai status
Health check endpoint
IBM Bob was instrumental in every phase of QueuePilot's development:
- Created comprehensive project architecture
- Designed the fallback analyzer algorithm
- Planned the watsonx.ai integration strategy
- Structured the component hierarchy
- Generated all backend code (server, routes, analyzers)
- Built all React components with proper state management
- Implemented export utilities (JSON/CSV)
- Created demo data with realistic scenarios
- Wrote this comprehensive README
- Created development logs
- Prepared hackathon submission materials
See DEVELOPMENT_LOG.md for detailed contributions.
QueuePilot is designed with watsonx.ai integration in mind:
- Fallback analyzer using keyword-based classification
- Works without external API dependencies
- Provides consistent, predictable results
The watsonxAdapter.js module is ready for integration:
- Install IBM watsonx.ai SDK
cd server
npm install @ibm-cloud/watsonx-ai- Set Environment Variables
export WATSONX_API_KEY="your-api-key"
export WATSONX_PROJECT_ID="your-project-id"- Update the Adapter The adapter already includes:
- Prompt construction for ticket analysis
- Configuration checking
- Error handling structure
- Switch Analyzers
Modify
server/src/routes/analyze.jsto use watsonx.ai when available:
const result = isWatsonXAvailable()
? await analyzeTicketsWithWatsonX(tickets)
: analyzeTickets(tickets);- More nuanced sentiment detection
- Better context understanding
- Improved reply generation
- Multi-language support
- Continuous learning capabilities
- Landing page loads correctly
- Demo tickets load successfully
- Custom tickets can be pasted and parsed
- Analysis completes without errors
- All badges display correctly
- Ticket cards expand/collapse
- Summary statistics are accurate
- JSON export downloads
- CSV export downloads
- Navigation works (back buttons, new analysis)
curl -X POST http://localhost:3001/api/analyze \
-H "Content-Type: application/json" \
-d '{"tickets":[{"id":1,"message":"My order is late!"}]}'[0:00-0:30] Introduction
- "Hi, I'm demonstrating QueuePilot, an AI-powered support ticket triage system"
- "Small businesses struggle to prioritize customer support messages"
- "QueuePilot solves this by instantly analyzing urgency, sentiment, and category"
[0:30-1:00] Landing Page
- Show the landing page
- Highlight the four key features
- Click "Try Demo"
[1:00-1:30] Ticket Input
- Click "Load Demo Tickets"
- Show the 15 realistic examples
- Explain the separator format
- Click "Analyze Tickets"
[1:30-2:30] Dashboard
- Show summary panel with key metrics
- Point out high urgency tickets at the top
- Expand a ticket to show suggested reply
- Show the internal action note
- Demonstrate export to JSON and CSV
[2:30-3:00] Closing
- "Built with IBM Bob's assistance"
- "Ready for watsonx.ai integration"
- "Helps teams respond faster to customers who need it most"
- Real-time ticket monitoring
- Email integration (IMAP/SMTP)
- Multi-language support
- Team assignment suggestions
- Historical analytics dashboard
- Mobile app version
- Slack/Teams integration
- Custom category training
- SLA tracking
- Customer satisfaction prediction
This is a hackathon project, but suggestions are welcome! Please open an issue to discuss potential changes.
MIT License - feel free to use this project for learning or as a starting point for your own ticket triage system.
- IBM Bob - AI assistant that helped plan, build, and document this project
- IBM watsonx.ai - Target platform for production AI integration
- React & Vite - Excellent developer experience
- Express - Simple and powerful backend framework
For questions or issues:
- Check the DEVELOPMENT_LOG.md for implementation details
- Review the API documentation above
- Examine the code comments in each file
Built for the IBM Bob Dev Day Hackathon
Demonstrating how AI can help small businesses provide better customer support