How to Build Sales Call Intelligence Software (Live Transcription, AI Coaching and In-App Dialing)
I'm currently architecting a sales intelligence product: software that listens to sales calls as they happen, transcribes them live, coaches the rep in the moment, lets them dial from inside the app, and trains new reps against an AI buyer before they ever talk to an actual prospect.
If you've priced conversation intelligence tools, you know they usually come with annual contracts, per-seat pricing and a long list of features your team will never touch. Building your own used to be unrealistic for anyone but a funded startup. With today's APIs, the core of it is very buildable.
Here's how I'd build it, step by step, with the actual stack.
Paying per seat for sales software your reps only half use? Tell me what you're using and you'll get a true estimate within 24 hours.
What "sales call intelligence" actually means
Strip away the marketing and these tools do five things:
- Capture the call audio from both sides
- Transcribe it, ideally live and labeled by speaker
- Analyze it: talk ratios, objections, next steps, coaching moments
- Push results somewhere useful, usually the CRM
- Train reps with feedback, scorecards and practice
Most teams need three of those five done well. That's the opportunity for a custom build: do the parts your team uses, skip the rest.
Why so many of these projects stall
Unfortunately, a lot of teams that try to build this give up halfway. The biggest reason is audio. Getting clean, two-sided call audio into your app reliably is harder than anything involving AI.
A few other reasons projects stall:
- Treating live transcription like a batch job and wondering why it lags
- Sending every sentence to a large model and burning money on tokens
- No plan for where the data ends up (if it doesn't reach the CRM, reps stop caring)
- Skipping consent and recording-law requirements until legal finds out
- Building a web app when the job really needs desktop access to system audio
The good news is that each of these has a known fix.
The architecture, step by step
Step 1: Own the audio (Twilio + a desktop app)
The simplest way to get both sides of the call is to place the call inside your own app. Twilio's Voice SDK lets reps dial from the app, and Twilio can stream the call audio to your server in real time.
For reps who also take calls in Zoom or Google Meet, a small Electron desktop app can capture system audio and the microphone. A browser tab can't do that reliably, which is why so many of these products ship a desktop client.
Where people go wrong: they try to do everything in the browser first and lose weeks to audio permissions. Decide on day one which calls you need to capture and pick the capture method that fits.
Step 2: Transcribe live with speaker labels (Deepgram)
Deepgram's streaming API returns words within a fraction of a second and can separate speakers. Here's the core of a live transcription connection in TypeScript:
import { createClient, LiveTranscriptionEvents } from '@deepgram/sdk';
const deepgram = createClient(process.env.DEEPGRAM_API_KEY!);
export function startLiveTranscript(onLine: (speaker: number, text: string) => void) {
const live = deepgram.listen.live({
model: 'nova-3',
diarize: true,
smart_format: true,
interim_results: false,
encoding: 'mulaw',
sample_rate: 8000,
});
live.on(LiveTranscriptionEvents.Transcript, (event) => {
const alt = event.channel.alternatives[0];
if (!alt?.transcript) return;
const speaker = alt.words[0]?.speaker ?? 0;
onLine(speaker, alt.transcript);
});
return (audioChunk: Buffer) => live.send(audioChunk);
}
That mulaw at 8000 Hz matches the audio Twilio streams from phone calls, so you can pipe Twilio's media stream straight in.
Step 3: Coach in the moment without going broke
Don't send every sentence to your most expensive model. Instead:
- Use cheap, fast checks first (keyword and pattern matches for pricing, competitors, objections)
- Only call a model when something worth coaching happens, or every 30 to 60 seconds with a rolling window of the transcript
- Ask for structured output (a JSON object with a type, a short tip and a confidence score) so the UI can show a clean card instead of a paragraph
After the call, run one larger model over the full transcript for the summary, next steps and a scorecard.
Step 4: Push it where reps already live
Write the summary, next steps and call outcome back to the CRM automatically. If reps have to copy and paste, adoption dies within a month. This is also where your app earns its keep for managers: every call logged, searchable and scored without anyone filling out a form.
Step 5: Train reps against an AI buyer (Retell)
This is the part teams love. Retell lets you spin up voice agents that play a skeptical buyer with a specific persona and set of objections. New reps practice the pitch on a live phone call, then get a scorecard built from the transcript. Managers can create scenarios that match their actual market instead of generic sales roleplay.
The stack, all in one place
| Layer | Tool | Why |
|---|---|---|
| Web app and API | Next.js on Vercel | Fast to ship, easy previews |
| Desktop capture | Electron | System audio for Zoom/Meet calls |
| Dialing | Twilio Voice SDK | In-app calls plus live audio streams |
| Live transcription | Deepgram streaming | Low latency, speaker labels |
| Coaching and summaries | An LLM with structured output | Tips and scorecards the UI can render |
| AI roleplay | Retell | Realistic voice buyers for practice |
| Database | Postgres | Calls, transcripts, scores |
Don't skip recording consent
Recording laws vary. Some US states require every party on a call to consent to recording. Build a clear disclosure into the dial flow from the start, and get legal advice for the states and countries you call into.
Build vs buy: a quick gut check
Buy an off-the-shelf tool if you need everything on day one and per-seat pricing doesn't sting. Build if your team uses a narrow slice of what those tools offer, you want the data in your own systems, or you're paying for a lot of seats every year for features nobody opens.
FAQ
How hard is it to build live call transcription? The transcription itself is the easy part thanks to streaming APIs like Deepgram. Getting clean, two-sided audio is the hard part, which is why in-app dialing through Twilio or a desktop capture app matters so much.
Can custom call intelligence software integrate with my CRM? Yes. Writing summaries and outcomes back to the CRM is one of the first things to build, because it's what keeps reps using the tool.
How much does custom sales software cost? It depends on scope. Smaller internal tools often land between $5,000 and $20,000. A full product with desktop apps, dialing and AI coaching is larger, and I'll give you a true estimate once I know what you need.
Is AI roleplay training actually useful? For new reps, very. It gives them dozens of practice calls against realistic objections before they burn live leads.
Want your own version, built around how your team actually sells? Start here.