Skip to content

About

QueuePilot - AI-powered support ticket triage system built for IBM Bob Dev Day Hackathon

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

QueuePilot

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.

QueuePilot Demo Built with IBM Bob watsonx.ai Ready

๐ŸŒ Live Demo

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

๐ŸŽฏ Problem Statement

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.

โœจ Features

Core Functionality

  • 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

User Experience

  • 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

Technical Features

  • 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

๐Ÿ› ๏ธ Tech Stack

Frontend

  • React 18 - UI framework
  • Vite - Build tool and dev server
  • CSS-in-JS - Inline styling for component isolation

Backend

  • Node.js - Runtime environment
  • Express - Web server framework
  • ES Modules - Modern JavaScript syntax

AI/ML

  • Fallback Analyzer - Rule-based classification using keyword patterns
  • watsonx.ai Adapter - Ready for IBM watsonx.ai integration (placeholder implementation)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 16+ installed
  • npm or yarn package manager

Installation

  1. Clone or download the project
cd queuepilot
  1. Install all dependencies
npm run install:all

This will install dependencies for the root, client, and server.

Running the Application

Start both frontend and backend:

npm run dev

This 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:server

Terminal 2 - Frontend:

npm run dev:client

Access the Application

Open your browser and navigate to:

http://localhost:5173

๐Ÿ“– How to Use

Demo Flow (3 minutes)

  1. Landing Page

    • Click "Try Demo" button
  2. Ticket Input Screen

    • Click "Load Demo Tickets" to populate with 15 realistic examples
    • Or paste your own support messages (separate with "---")
    • Click "Analyze Tickets"
  3. 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

Using Your Own Tickets

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.

๐Ÿ—๏ธ Project Structure

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

๐Ÿ”Œ API Endpoints

POST /api/analyze

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 /api/demo-tickets

Get demo ticket data

GET /api/config

Get system configuration and watsonx.ai status

GET /api/health

Health check endpoint

๐Ÿค– How IBM Bob Helped Build This Project

IBM Bob was instrumental in every phase of QueuePilot's development:

Planning Phase

  • Created comprehensive project architecture
  • Designed the fallback analyzer algorithm
  • Planned the watsonx.ai integration strategy
  • Structured the component hierarchy

Development Phase

  • 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

Documentation Phase

  • Wrote this comprehensive README
  • Created development logs
  • Prepared hackathon submission materials

See DEVELOPMENT_LOG.md for detailed contributions.

๐Ÿ”ฎ watsonx.ai Integration

QueuePilot is designed with watsonx.ai integration in mind:

Current Implementation

  • Fallback analyzer using keyword-based classification
  • Works without external API dependencies
  • Provides consistent, predictable results

watsonx.ai Integration Path

The watsonxAdapter.js module is ready for integration:

  1. Install IBM watsonx.ai SDK
cd server
npm install @ibm-cloud/watsonx-ai
  1. Set Environment Variables
export WATSONX_API_KEY="your-api-key"
export WATSONX_PROJECT_ID="your-project-id"
  1. Update the Adapter The adapter already includes:
  • Prompt construction for ticket analysis
  • Configuration checking
  • Error handling structure
  1. Switch Analyzers Modify server/src/routes/analyze.js to use watsonx.ai when available:
const result = isWatsonXAvailable() 
  ? await analyzeTicketsWithWatsonX(tickets)
  : analyzeTickets(tickets);

Benefits of watsonx.ai Integration

  • More nuanced sentiment detection
  • Better context understanding
  • Improved reply generation
  • Multi-language support
  • Continuous learning capabilities

๐Ÿงช Testing

Manual Testing Checklist

  • 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)

Test the API Directly

curl -X POST http://localhost:3001/api/analyze \
  -H "Content-Type: application/json" \
  -d '{"tickets":[{"id":1,"message":"My order is late!"}]}'

๐ŸŽฌ Demo Script (3 Minutes)

[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"

๐Ÿ“ Future Enhancements

  • 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

๐Ÿค Contributing

This is a hackathon project, but suggestions are welcome! Please open an issue to discuss potential changes.

๐Ÿ“„ License

MIT License - feel free to use this project for learning or as a starting point for your own ticket triage system.

๐Ÿ™ Acknowledgments

  • 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

๐Ÿ“ง Support

For questions or issues:

  1. Check the DEVELOPMENT_LOG.md for implementation details
  2. Review the API documentation above
  3. 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

About

QueuePilot - AI-powered support ticket triage system built for IBM Bob Dev Day Hackathon

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages