Your AI guide on this page

Hi, I’m Michael. The Friendly Opener.

Hi, quick question, and I promise I will be brief.

Michael, The Friendly Opener: AI Cold Caller

Michael

The Friendly Opener

Your AI guide · live

The Deepgram + Gemini Pipeline: How AI Turns a Phone Call into Actionable Data

From raw audio to a scored, attributed lead in under 5 seconds. Here’s the engineering behind Despora’s AI analysis pipeline.

6 min read
A pipeline diagram showing audio flowing through Deepgram transcription into Gemini analysis into a scored lead card

The Raw Data Problem

Every phone call your business receives contains a goldmine of data: what service the caller needs, how urgent the project is, how much they're willing to spend, and how well your staff handled the conversation.

The problem? That data is locked inside an audio file that nobody has time to listen to. CallRail records the call. But listening to 80+ recordings a month is physically impossible for a business owner.

Despora solves this with a two-stage AI pipeline that converts raw audio into structured, actionable data in under 5 seconds.

Step 1: The Ear — Deepgram Transcription

The first stage uses Deepgram's Nova-2 modelto convert audio to text. But this isn't a simple speech-to-text conversion:

  • Diarization:The AI identifies who is the “Agent” and who is the “Caller.” This is critical because you only want to score what the caller is saying for lead quality.
  • Punctuation & formatting: Raw speech is converted into readable paragraphs with proper punctuation, making the transcript usable for both AI analysis and human review.
  • Speed:A 10-minute call is transcribed in 2–3 seconds. Not minutes. Seconds.
FeatureDeepgram Nova-2Generic STT
10-min call speed2–3 seconds30–60 seconds
Speaker diarizationYes (Agent vs. Caller)Limited/None
Noisy environmentsTrained on real-world audioOften garbled
Accuracy95%+ on business calls80–90%

Step 2: The Brain — Gemini Contextual Analysis

Once the transcript is ready, it's fed into Google Gemini 2.5 Pro. Unlike a keyword search, Gemini reads the entire conversation in context and extracts:

  1. Lead Score (0–100): Is this a qualified prospect with genuine intent, or a solicitor/spam/wrong number?
  2. Estimated Revenue: Based on the service discussed and project scope, what is this lead likely worth?
  3. Service Category:What specific service is the caller requesting? (e.g., “commercial demolition,” “personal injury consultation”)
  4. Urgency Level:Is this a “researching for next year” call or a “need someone tomorrow” call?
  5. Agent Performance:How did the staff handle the call? Professionalism, listening, and closing ability scored 1–10 each.

Step 3: The Ledger — Attribution Chain

The final stage connects the scored lead to its marketing source. Using the GCLID (for Google Ads) or UTM parameters (for other channels), the system maps:

  • Channel: Google Ads, Organic, Google Maps, Facebook, etc.
  • Campaign: Which specific campaign drove the visit.
  • Keyword: The exact search query the caller typed.
  • Landing page: Which page they visited before calling.

The result is a complete chain: keyword → click → page visit → phone call → transcript → lead score → estimated revenue → attributed to source.

Why Speed Matters

The entire pipeline — from audio file to fully scored, attributed lead — completes in under 5 seconds. This matters because:

  • Real-time scoring means the dashboard updates before the business owner finishes their morning coffee.
  • Immediate quality detection means fake leads and spam are flagged instantly, not discovered weeks later in a monthly report.
  • Agent performance issues surface on the same day they happen, not during a quarterly review.

Your phone calls already contain every answer your business needs. The Deepgram + Gemini pipeline is the tool that finally extracts them.

Ready to see your real marketing ROI?

AI Cold Calling and Form Outreach: $150/month for discovery plus credits from $0.35 to $0.50 per call or form.