CASE STUDY · AI VOICE CALLING & SCHEDULING

AI-Powered Calling Agent for Automated Appointment Scheduling

Autonomous inbound booking, intelligent reschedule handling, and automatic outbound missed-call retries — orchestrated seamlessly with Python FastAPI, Edesy Voice AI, and MongoDB.

100%Inbound Call Pickup RateZero unanswered rings
0Manual Retry Follow-upsCelery-automated queue
< 45sAvg. Time-to-BookingNatural voice flow
24/7/365Continuous AvailabilityPeak & after-hours
Project Snapshot

Autonomous Voice Telephony & Booking

DomainHealthcare & Services
Primary TechPython, FastAPI, Next.js
Voice TelephonyEdesy AI Voice Agent
Queue / WorkerRedis + Celery
DatabaseMongoDB (Beanie ODM)
Enterprise SLA with zero-double-booking concurrency lock.
The Operational Bottleneck

Manual Phone Tag & Lost Appointment Opportunities

The client's administrative front desk was bogged down in repetitive, manual phone tasks. Every incoming call required a staff member to cross-check calendars by hand, while missed outbound calls were rarely followed up systematically.

Missed Calls Gap

If a prospect didn’t answer an initial follow-up, appointments were permanently lost with no auto-retry.

Zero Central Visibility

Staff lacked a unified dashboard to inspect audio recordings, live transcripts, and booking states across lines.

Linear Staffing Costs

Scaling appointment capacity meant hiring more operators, adding headcount without solving after-hours loss.

The Deployed Solution: Autonomous 2-way Voice AI with live tool-calling & automatic missed-call retries.
LIVE CONVERSATION TOOL-CALLING

See the AI Agent in Live Action

Watch how natural language turns into instant backend API execution — querying real-time slots and writing bookings to MongoDB without human intervention.

VOICE SESSION #ED-88219 · INBOUND CALL
Edesy Voice AI0:02

Thanks for calling Apex Health Clinic. I'm your AI scheduling assistant. How can I help you today?

Audio Latency: ~380ms · Telephony Codec: Opus / G.711
END-TO-END WORKFLOW

Two Modular Calling Engines

Engineered with specialized modules to handle both incoming callers and outbound follow-up outreach with intelligent auto-retry queues.

01

Instant Voice Pickup & ID

Answers within 1 ring. Evaluates phone number in MongoDB to detect existing appointments vs. new patient/client intent.

Zero hold times
Caller recognition
Natural opening greeting
02

Live Slot Check & Negotiation

Checks real-time business hour availability via FastAPI tool endpoints during speech without awkward pauses.

Dynamic slot filtering
Reschedule support
Natural date resolution
03

Instant Lock & Multi-Channel SMS

Writes the confirmed booking to MongoDB with unique constraints to prevent race conditions and triggers confirmation SMS.

No double booking
Full audio + transcript log
SMS confirmations
ENGINEERING BLUEPRINT

Separation of Business Logic & Voice AI

By delegating telephony and audio processing to Edesy while owning all booking rules, schedules, and retry policies in our FastAPI backend, the system achieves maximum security, traceability, and speed.

Next.js Admin UI

App Router · TanStack Query · Call Transcripts & Queue View

CORE BRAIN

FastAPI Backend

Booking Tools · Slot Resolution · Celery/Redis Retry Engine

MongoDB (Beanie)

Call Logs · Appointments · Concurrency Unique Locks

Edesy Voice AI

Telephony · Low-latency STT/TTS · Live Tool Invocation

Real-Time Tool Endpoints: The voice agent queries FastAPI mid-sentence to ensure slot freshness without exposing raw database tables.
Celery Distributed Workers: Background workers process outbound call schedules, evaluating retry windows asynchronously.
Traceable Call Lifecycle: Every appointment is directly tied to its parent call recording and transcript UUID.

Conversational AI Booking

Understands natural human speech, slang, and date variations without forcing callers through rigid IVR dial-pad menus.

Real-Time Slot Availability

Live check of doctor and business availability slots before uttering confirmation to eliminate double booking.

Automatic Missed-Call Retry

Smart re-queuing of unanswered outbound follow-ups with customizable delay intervals and max-retry thresholds.

Full Transcripts & Audio Logs

Every second of audio is securely recorded and transcribed for quality assurance and searchable admin review.

Instruction-Aware Outbound

Staff can attach specific talking points per client, which the voice agent organically references during the phone call.

Centralized Admin Dashboard

Filterable date-wise view of all calls, outcomes, recording playbacks, and confirmed appointment schedules.

PRODUCTION STACK

Built for Scale, Reliability & Latency

Python 3.11

FastAPI

High-Speed Async API

App Router

Next.js

Admin Portal & UI

ACID Safe

MongoDB

Beanie Document Store

< 400ms

Edesy Voice AI

Telephony & STT/TTS

Distributed

Redis + Celery

Outbound Task Queue

Custom Tokens

Tailwind CSS

Design System

READY TO DEPLOY FOR YOUR CLINIC OR BUSINESS?

Automate Your Appointment Lines with Custom AI Calling

Eliminate phone tag, book slots 24/7 without extra front-desk headcount, and never lose another prospect to a missed call.