Skip to content
Daniel CardenasApplied AI · Backend · Edge systems
Voice Agent for Employee Lateness and Absence Follow-up visual summary
Nov 2026•AI Engineer — voice-agent reliability, evaluation and release acceptance•4 min read

Voice Agent for Employee Lateness and Absence Follow-up

A voice agent extends initial follow-up beyond the longer absences staff had time to call, capturing reported reasons for lateness or absence so operations can review them.

Retrospective Cost AuditVoice AgentVapi + SupabaseHuman Review
Voice AIVapiTypeScriptSupabaseCall AuditsEvaluation

Confidential Context

This case study is sanitized. Client data and proprietary integrations are omitted. Internal Lean Tech work. This account omits employee data, recordings, private prompts, identifiers, customer details, and deployment configuration. The measured comparison is an observed before/after result, not a controlled experiment.

Outcomes

  • Extends initial follow-up beyond longer absences and gives operations a reviewable reported reason
  • About 70% lower recorded cost among costed calls in retrospective before/after cohorts
  • Quarterly platform records contain 36,897 calls; team-scale activity, not solely attributable to my work
  • 80.73% lower rendered prompt input across 12 matched synthetic scenarios
  • Added review-only call audits that separate reported reasons, transcript evidence, and issues requiring human verification

Latest status — November 2026

I own ongoing engineering, evaluation and release acceptance for an inherited, collaboratively developed platform, rather than sole authorship of the original system. Production Spanish voice workflows operate in Colombia. Guatemala remains controlled preparation; other planned countries are not claimed as delivered.

Quarterly July–September 2026 records contain 36,897 distinct provider-call IDs and 4,451 attempted employee identity keys. Identity keys are not independently verified unique people. Explicit tests were excluded, but unmarked legacy tests cannot be ruled out. These are platform-scale figures, not activity attributable solely to my work.

Browser survey v11 was published; the optional backend is deployed with phone surveys OFF. A narrow real extraction check does not establish a completed human survey. Later browser corrections remain separate candidates, not evidence of a phone rollout.

Prompt evaluation

Across 12 matched synthetic scenarios, rendered input fell from 276,452 to 53,265 tokens: 80.73% lower. These development controls included corrective iterations and were not a fresh holdout. This is not an 80.73% reduction in actual voice bills or a global quality guarantee.

Real-traffic adjudication found 9 confirmed defects among 111 substantive human calls versus 7 among 54 in a later window. The observational comparison was inconclusive, with prompt/model confounding and missing effective per-call model snapshots. No model superiority is claimed.

What I owned

When an employee is marked late or absent, someone needs to learn what happened and decide what to do next. The team explained that staff previously had limited time to call people and therefore focused mainly on longer absences. I own reliability and evaluation work on a collaboratively developed voice platform that can make initial calls across more lateness and absence cases, ask for the employee's explanation, record it, and present it for operational review. The wider follow-up is a workflow capability; I do not claim a measured increase in case coverage or staff hours saved. The system does not treat a reported reason as independently verified attendance or medical evidence.

My ownership centered on call behavior, evaluation, and reliability. The surrounding web application and integrations include team and generated contributions. Voicemail, silence, transcription errors, retries, and partial records must not become false successful outcomes.

Finding the cost failure

I reviewed an export of 909 calls and found that 284 had run to the 600-second limit while the agent repeatedly answered an automated voicemail greeting. Those calls accounted for most of that sample's cost. The investigation separated live voicemail detection from prompt behavior: a post-call classifier cannot stop a call that is still looping.

The voicemail-detection improvement was deployed September 2. A later deduplicated audit compared August 27–29 with September 3, 2026 in UTC. Mean cost among calls with recorded billing fell from $0.150631 (1,277 costed of 1,510 calls) to $0.045053 (741 costed of 842): approximately 70.1% lower. Missing costs and changing call populations prevent a causal or invoice-reconciled savings claim.

In a later September 3–October 25 Bogotá-time window, none of 42,502 distinct calls had a recorded duration at or above 590 seconds. Shorter maximum-duration endings remained, so this is evidence about the extreme-duration tail, not zero failures.

The original report's 69% comparison used a different denominator and extrapolated roughly $27.2k in potential annual savings. That is an illustrative constant-volume projection, not realized savings. It is not added to the newer audit as an independent result.

Making outcomes trustworthy

  • Aligned voicemail and answering-machine handling across call creation paths so a configured detector is the one actually used at runtime.
  • Kept voicemail, no-answer, silence, and insufficient-information outcomes distinct from a completed employee conversation.
  • Bounded retries and follow-up transitions so one failed call does not silently become a success or create duplicate work.
  • Reconciled call analysis, duration, and cost with provider records and added tests around authorization and lifecycle edges.
  • Built review-only call audits that attach transcript evidence to the employee's reported reason, potential conversation defects, and technical call issues. These are signals for a reviewer, not verified attendance or medical facts.

Evaluation and current scope

The work combines TypeScript/React, Supabase Edge Functions, Vapi, provider configuration, prompt evaluation, call exports, and regression tests. Recent call-audit features classify reported reasons and make review candidates filterable. Some transcriber and runtime-hook experiments remain under evaluation, so I do not present them as proven production improvements.

Interview summary

I improved reliability and evaluation on a production voice platform: diagnosing voicemail loops, guarding extraction and retries, and separating generated claims from executed effects and human review. Retrospective costed-call cohorts showed about 70% lower recorded cost; controlled synthetic scenarios used 80.7% fewer input tokens. Billing completeness, causal attribution, human time savings and production survey completion remain unestablished.