Google Calendar → CALL-E Voice Agent → Structured Decision → Calendar Writeback → Dashboard
ConfirmCall is an AI appointment confirmation agent that helps appointment-based businesses reduce no-shows, save staff time, and capture customer intent automatically.
Instead of employees manually calling customers before every appointment, ConfirmCall reads upcoming appointments from Google Calendar, prepares a personalized confirmation conversation, processes the customer's response, converts it into a structured outcome, and writes the result directly back to the calendar.
Appointment no-shows create a simple but expensive problem.
Businesses such as:
-
salons,
-
consultants,
-
repair services,
-
tutors,
-
service providers,
-
and other appointment-based businesses
often spend hours manually contacting customers to determine whether they still plan to attend.
When those calls are not made, businesses may discover a cancellation only after the appointment slot has already been wasted.
ConfirmCall turns this manual process into an automated workflow.
Instead of:
Appointment created
↓
Staff remembers to call
↓
Customer responds
↓
Staff manually records response
↓
Calendar updated
ConfirmCall provides:
Appointment created
↓
Google Calendar
↓
ConfirmCall
↓
CALL-E Voice Agent
↓
Customer response
↓
Structured decision
↓
Google Calendar updated automatically
↓
Dashboard reflects result
ConfirmCall uses Google Calendar as both its appointment source and operational system of record.
It can:
-
authenticate through Google OAuth 2.0,
-
read upcoming calendar events,
-
identify ConfirmCall-enabled appointments,
-
extract customer and appointment metadata,
-
determine current appointment status,
-
update appointment outcomes,
-
store CALL-E call IDs,
-
store requested reschedule times,
-
and update event titles with visual status indicators.
Example ConfirmCall Calendar metadata:
CONFIRMCALL=true
CUSTOMER_NAME=Alice Demo
CUSTOMER_PHONE=+12025550123
SERVICE=Haircut Appointment
STATUS=pending
After processing:
CONFIRMCALL=true
CUSTOMER_NAME=Clara Demo
CUSTOMER_PHONE=+12025550123
SERVICE=Service Visit
STATUS=reschedule_requested
REQUESTED_TIME=Monday at 2:00 PM
CALL_ID=demo-call-clara
ConfirmCall integrates with the CALL-E Python SDK.
The CALL-E service layer can:
-
construct personalized appointment confirmation tasks,
-
create CALL-E calls,
-
provide structured result schemas,
-
attach event metadata,
-
use idempotency keys,
-
wait for the completed call,
-
retrieve structured results,
-
and convert those results into ConfirmCall decisions.
Example task:
You are ConfirmCall, an appointment confirmation assistant.
Speak with the customer about their upcoming appointment.
Politely ask whether they will attend.
If they cannot attend, determine whether they want to cancel
or request another time.
Do not promise that a requested new time is confirmed.
Return one structured outcome:
confirmed
cancelled
reschedule_requested
no_answer
unknown
CALL-E results are converted into standardized appointment states.
ConfirmCall supports:
| Outcome | Meaning |
| ----------------------- | ---------------------------------- |
| ✅ Confirmed | Customer intends to attend |
| ❌ Cancelled | Customer cancelled |
| 🟡 Reschedule Requested | Customer wants another time |
| ⚪ No Answer | Customer could not be reached |
| 🔴 Needs Human | Result requires manual review |
| ⏳ Pending | Appointment has not been processed |
The decision engine intentionally separates conversation understanding from business actions.
That means additional communication providers could be integrated later without changing the underlying decision logic.
A customer may request another appointment time during the conversation.
ConfirmCall records that request but deliberately does not promise the slot is available.
Example:
Customer:
"Can I move it to Monday at 2 PM?"
ConfirmCall result:
reschedule_requested
Requested time:
Monday at 2:00 PM
The request is written back to Google Calendar for review.
This keeps the AI useful without allowing it to make scheduling commitments it cannot verify.
ConfirmCall includes a Streamlit dashboard providing a live operational view of upcoming appointments.
The dashboard displays:
-
total appointments,
-
confirmed appointments,
-
cancellations,
-
pending appointments,
-
appointments requiring action,
-
requested reschedule times,
-
confirmation rate,
-
estimated revenue protected,
-
and individual appointment statuses.
Example:
☎️ ConfirmCall
AI Appointment Confirmation Agent
Appointments Confirmed Cancelled Pending Needs Action
4 2 1 0 1
The dashboard converts technical results into business-facing metrics.
Examples include:
Appointments Protected
2
Estimated Revenue Protected
$200
Confirmation Rate
50%
Revenue protection is clearly labeled as a demo estimate based on a configurable average appointment value.
ConfirmCall includes a repeatable demo workflow designed for testing and demonstrations.
Three demo appointments represent different real-world outcomes:
| Customer | Scenario |
| ---------- | --------------------- |
| Alice Demo | Confirms appointment |
| Brian Demo | Cancels appointment |
| Clara Demo | Requests rescheduling |
Alice Demo ⏳ Pending
Brian Demo ⏳ Pending
Clara Demo ⏳ Pending
Click:
☎️ Run ConfirmCall
Alice Demo
✅ Confirmed
Brian Demo
❌ Cancelled
Clara Demo
🟡 Reschedule Requested
Requested Time: Monday at 2:00 PM
These results are written to the real Google Calendar integration.
The dashboard can then reset the appointments using:
🔄 Reset Demo
allowing the demonstration to be repeated without manually editing Calendar events.
flowchart TD
A[Google Calendar] --> B[Calendar Scanner]
B --> C[Appointment Parser]
C --> D[ConfirmCall Orchestrator]
D --> E[CALL-E Voice Agent]
E --> F[Structured Result]
F --> G[Decision Engine]
G --> H[Calendar Writeback]
H --> I[Streamlit Dashboard]
F --> J{Outcome}
J -->|Confirmed| K[✅ Confirmed]
J -->|Cancelled| L[❌ Cancelled]
J -->|Reschedule| M[🟡 Reschedule Request]
J -->|No Answer| N[⚪ Follow Up]
J -->|Unknown| O[🔴 Human Review]
ConfirmCall scans upcoming Google Calendar events.
Only events containing:
CONFIRMCALL=true
are processed.
Calendar metadata is transformed into an internal Appointment model containing:
event_id
customer_name
customer_phone
service_name
start_time
status
requested_time
call_idConfirmCall generates a personalized voice-agent task using:
build_call_task(appointment)The conversation includes:
-
customer name,
-
service,
-
appointment date,
-
appointment time,
-
confirmation request,
-
cancellation handling,
-
and rescheduling instructions.
CALL-E is configured to return:
{
"outcome": "confirmed",
"requested_time": "",
"customer_notes": "Customer confirmed attendance."
}
Supported values:
confirmed
cancelled
reschedule_requested
no_answer
unknown
The structured result passes through:
apply_call_result()which converts the result into a standardized appointment status.
Google Calendar is updated automatically.
Examples:
✅ Haircut Appointment
❌ Consultation
🟡 Service Visit
The Streamlit application reloads the Calendar data and displays the latest state.
This creates a closed operational loop:
Calendar
↓
Conversation
↓
Decision
↓
Calendar
↓
Dashboard
ConfirmCall uses idempotency keys when creating CALL-E calls.
The key is generated from:
confirmcall:\<event_id>:\<appointment_time>
Example:
confirmcall:abc123:2026-09-13T10:00:00+01:00
This helps prevent the same appointment from accidentally creating duplicate calls.
ConfirmCall also checks appointment status and skips appointments that have already been processed.
ConfirmCall uses pytest and currently has 10 passing automated tests covering Calendar parsing, CALL-E task generation, and decision handling.
Current test suite:
tests/test_calendar_service.py::test_confirmcall_event_is_parsed
tests/test_calendar_service.py::test_reschedule_request_is_parsed
tests/test_calendar_service.py::test_non_confirmcall_event_is_ignored
tests/test_calendar_service.py::test_unknown_calendar_status_needs_human
tests/test_calle_service.py::test_build_call_task_contains_appointment_details
tests/test_decision.py::test_confirmed
tests/test_decision.py::test_cancelled
tests/test_decision.py::test_reschedule_requested
tests/test_decision.py::test_no_answer
tests/test_decision.py::test_unknown_goes_to_human
Run:
python -m pytest -vCurrent result:
10 passed
The tests verify that appointment metadata is parsed correctly, CALL-E tasks contain the required appointment context, unsupported/uncertain states fail safely, and structured outcomes are mapped into the correct appointment state.
ConfirmCall currently supports:
DRY_RUN = TrueWhen enabled, CALL-E conversation outcomes are simulated while the rest of the system remains real.
The following components still operate normally:
Real Google Calendar read
↓
Real appointment parser
↓
Simulated CALL-E result
↓
Real decision engine
↓
Real Google Calendar writeback
↓
Real dashboard update
This allows the full workflow to be demonstrated repeatedly without placing unnecessary phone calls.
ConfirmCall includes a production CALL-E adapter built around:
CalleClientand the verified SDK workflow:
client.calls.create_and_wait(...)The service layer supports:
- recipient normalization,
- personalized task generation,
- structured result schemas,
- metadata,
- deterministic idempotency keys,
- status polling,
- completed-call retrieval,
- structured result extraction,
- and call ID persistence.
A dedicated live-call harness is also included:
live_call_test.py
It requires explicit confirmation before initiating a call.
Live calls must use an authorized phone number in a CALL-E-supported calling region.
ConfirmCall was also validated with real outbound CALL-E calls through the CALL-E CLI/OAuth path using an authorized recipient in a supported US region.
Observed live behavior:
CALL-E plan created ✅
Outbound call task created ✅
Phone rang ✅
Call connected ✅
Voice agent spoke ✅
Structured runtime result ✅
Call ID returned ✅
No-answer/incomplete handling ✅
The live recipient did not provide a final appointment decision during the validation attempts. ConfirmCall therefore did not claim a confirmation, cancellation, or reschedule that was never obtained.
Instead, CALL-E returned an incomplete/no-answer style result, demonstrating the safe-failure behavior expected from the workflow.
The full confirmed, cancelled, and reschedule-requested business flow is demonstrated in DRY_RUN=True mode, where Google Calendar reads and writebacks remain real while CALL-E outcomes are simulated for repeatability.
No live recipient phone number, name, credentials, confirmation token, or raw call identifier is committed to this repository.
During development, the installed CALL-E SDK was inspected to verify the exact API contract rather than relying on assumptions.
Confirmed CALL-E call methods include:
create
create_and_wait
get
list_events
wait_for_result
The application uses the verified create_and_wait() workflow.
The SDK normalizes:
{
"phone": "..."
}into the recipient structure required by CALL-E.
confirmcall/
│
├── app.py
│
├── live_call_test.py
│
├── seed_demo_events.py
│
├── test_calendar.py
│
├── test_calle.py
│
├── test_writeback.py
│
├── requirements.txt
│
├── README.md
│
├── .env.example
│
├── .gitignore
│
├── models/
│ ├── __init__.py
│ └── appointment.py
│
├── services/
│ ├── __init__.py
│ ├── calendar_service.py
│ ├── calle_service.py
│ └── decision_service.py
│
├── dashboard/
│ └── dashboard.py
│
└── tests/
├── __init__.py
├── test_calendar_service.py
├── test_calle_service.py
└── test_decision.py
-
Python 3.12
-
CALL-E Python SDK
-
Google Calendar API
-
Google OAuth 2.0
-
Streamlit
-
Pandas
- Pytest
- python-dotenv
-
Git
-
GitHub
-
PowerShell
-
VS Code
Clone the repository:
git clone https://github.com/pmman-sudo/confirmcall.git
cd confirmcall
Create a virtual environment:
python -m venv .venv
.venv\Scripts\Activate.ps1
Install dependencies:
python -m pip install -r requirements.txt
Copy:
.env.example
to:
.env
Configure:
CALLE_API_KEY=your_calle_api_key_here
CALLE_TEST_PHONE=your_authorized_test_number_here
CALLE_REGION=
CALLE_LOCALE=
Never commit .env.
Create a project in Google Cloud Console.
Enable:
Google Calendar API
Create an OAuth Desktop Application.
Download the OAuth credentials file.
Rename it:
credentials.json
Place it in the project root.
Run:
python test_calendar.py
A browser window opens for Google authorization.
After successful authentication:
token.json
is generated automatically.
python app.py
python -m streamlit run dashboard\dashboard.py
Then visit:
http://localhost:8501
Create the demo appointments:
python seed_demo_events.py
This creates:
Alice Demo
Brian Demo
Clara Demo
in Google Calendar.
The dashboard provides:
🔄 Reset Demo
This restores the three demo appointments to:
STATUS=pending
and removes previous:
REQUESTED_TIME
CALL_ID
values.
From the dashboard:
☎️ Run ConfirmCall
ConfirmCall scans pending appointments and processes each one.
Already processed appointments are automatically skipped.
python -m pytest -vExpected:
10 passed
Sensitive credentials are excluded through .gitignore.
The following files must never be committed:
.env
credentials.json
token.json
ConfirmCall includes:
.env.example
containing placeholders only.
All demo customer information is fictional. Real live-test recipient details are kept private and are never committed to the repository.
Rather than requiring a business to immediately adopt another CRM, ConfirmCall works directly with a tool many small businesses already understand.
ConfirmCall records requested times instead of automatically promising that a replacement slot exists.
This keeps businesses in control.
The phone conversation is converted into machine-readable operational data rather than remaining only as a transcript.
CALL-E integration, Calendar integration, and decision logic are separated into independent services.
This makes the application easier to extend and test.
Calls use deterministic idempotency keys to reduce accidental duplicate outreach.
ConfirmCall could evolve into a SaaS product for appointment-based businesses.
Possible plans could eventually be based on:
-
monthly appointment volume,
-
number of business locations,
-
call volume,
-
team members,
-
integrations,
-
analytics,
-
and automated rescheduling.
Potential customer segments include:
Salons
Barbers
Consultants
Home-service providers
Repair businesses
Tutors
Professional services
Appointment-based SMBs
- Google Calendar authentication
- Calendar event scanning
- Appointment metadata parsing
- Appointment domain model
- CALL-E SDK integration
- Structured result schema
- Confirmation handling
- Cancellation handling
- Reschedule-request handling
- No-answer handling
- Human escalation
- Calendar writeback
- CALL-ID persistence
- Requested-time persistence
- Duplicate-processing protection
- Idempotency support
- Streamlit dashboard
- Demo reset workflow
- Business metrics
- 10 automated tests
- Live-call test harness
- Authorized supported-region CALL-E live runtime validation
- Real call connection and structured runtime result validation
- Contribution pull request submitted to CALL-E (
#515) - Directly feed a successful live human appointment decision into the Calendar writeback path
Planned:
-
calendar availability checking,
-
automatic slot suggestions,
-
business-hours validation,
-
conflict detection,
-
confirmed rescheduling.
Potential integrations:
-
SMS,
-
email,
-
WhatsApp,
-
CRM systems.
Future capabilities:
-
multi-business accounts,
-
team dashboards,
-
configurable conversation scripts,
-
appointment analytics,
-
no-show analytics,
-
custom appointment values,
-
scheduled calling windows,
-
retry policies,
-
webhook processing,
-
multi-calendar support,
-
role-based access control.
ConfirmCall was built for:
The challenge is centered on building AI agents that move beyond text and use phone calls to complete real-world tasks.
ConfirmCall focuses on one specific business problem:
Reducing appointment no-shows by turning real customer conversations into structured operational actions.
Rather than stopping after the AI call, ConfirmCall closes the loop by updating the business's existing calendar automatically.
Submission contribution:
- CALL-E PR #515: CALLE-AI/awesome-phone-call-agents#515
The value is not simply:
"AI can make a phone call."
The value is:
AI discovers an operational task
↓
AI performs the conversation
↓
AI understands the customer's decision
↓
AI converts it into structured data
↓
AI updates the business workflow
That moves the system from an AI caller toward an AI operations agent.
✅ Google Calendar OAuth
✅ Appointment discovery
✅ Calendar parsing
✅ Appointment state model
✅ CALL-E SDK integration
✅ CALL-E CLI/OAuth live runtime path
✅ CALL-E authentication
✅ CALL-E task generation
✅ Structured CALL-E result schema
✅ Real outbound CALL-E call execution
✅ Real call ringing and connection
✅ Structured live runtime result retrieval
✅ No-answer / incomplete-call handling
✅ Decision engine
✅ Calendar writeback
✅ Requested-time persistence
✅ Call-ID persistence
✅ Duplicate-processing prevention
✅ Deterministic idempotency
✅ Streamlit dashboard
✅ Business-impact metrics
✅ Demo reset
✅ Dashboard-triggered automation
✅ 10 automated tests
✅ Live-call test harness
✅ CALL-E contribution PR #515
⏳ Connect a successful live human confirm/cancel/reschedule result directly into the Calendar writeback path
⏳ Add conflict-aware automatic rescheduling
⏳ Add production monitoring and webhook-based processing
ConfirmCall can become an AI front desk for small service businesses.
A business owner should not need to spend hours every week asking:
"Are you still coming tomorrow?"
Their calendar should be able to handle that operational work for them.
ConfirmCall's long-term vision is simple:
Every appointment should be able to confirm itself.
CALL-E × Python × Google Calendar × Streamlit
Built for the CALL-E: Your Code Is Calling Hackathon.