Skip to content

klaviyo/service-call-grader

Repository files navigation

Sales Call Audit

A lightweight Next.js web application for grading sales call transcripts based on product positioning.

Features

  • Simple File Upload: Drag-and-drop or click to upload .txt call transcripts
  • Real-time Processing: Animated loading screen while the transcript is being analyzed
  • Detailed Results: Get a 0-100 grade with specific callouts for strengths and areas of improvement
  • Responsive Design: Beautiful, modern UI with dark mode support

Getting Started

Prerequisites

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

Installation

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Building for Production

npm run build
npm start

How It Works

  1. Upload: Users upload a .txt file containing their sales call transcript
  2. Processing: The app displays an animated loading screen while analyzing the content
  3. Results: Users see their grade (0-100) along with specific feedback on:
    • What they did well (strengths)
    • What they could improve (areas for improvement)

Project Structure

sales-call-audit/
├── app/
│   ├── page.tsx           # Main upload page
│   ├── grading/
│   │   └── page.tsx       # Loading/processing page
│   ├── results/
│   │   └── page.tsx       # Results display page
│   ├── layout.tsx         # Root layout
│   └── globals.css        # Global styles
├── package.json
└── README.md

Next Steps

The evaluation prompt is currently using mock data. To integrate with a real AI evaluation service:

  1. Create an API route in app/api/evaluate/route.ts
  2. Connect your evaluation prompt/AI service
  3. Update the grading page to call this API endpoint instead of using mock data

Tech Stack

  • Next.js 15
  • React 19
  • TypeScript
  • Tailwind CSS

About

Web app for AEs to get feedback on their service calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages