AAAli Asghar
← All work

AI Voice Appointment Agent

a mobile IV therapy provider

n8nRetell AITwilio SIPGoHighLevel
Inbound callTwilio SIPRetell AIn8nCalendar checkGoHighLevelSMS confirm
The agent checks real availability and books before the caller hangs up.

The problem

Inbound calls were missed or handled by hand. Bookings were lost after hours, follow-up was slow, and nobody knew how many callers had simply given up.

What was built

  • An AI voice agent answering inbound calls around the clock over a SIP trunk
  • Live calendar availability checked mid-conversation, with real slots offered to the caller
  • The appointment booked during the call, then the contact and opportunity created or updated in the CRM
  • Transcript and caller intent captured, with SMS confirmation and a dropped-call recovery flow

What was hard

Making sure a booking only confirms when it actually succeeded. The agent will happily tell a caller they are booked on the strength of a 200 response, so the confirmation is gated on validating the real result rather than the status code.

Inside the build

The workflows behind this system

View-only previews of the production workflows, drawn from the real builds with client details removed. The workflow files and walkthrough videos are available on request.

TriggerAILogicAPI callApp integration
Voice agent conversation flowRetell AI80 nodes
Node 1.1 - Intent Detection (Conversation)Node 1.1 - Intent Det…ConversationNode 2.1 - Service Education (Conversation)Node 2.1 - Service Ed…ConversationNode 2.2 - Location Capture (Conversation)Node 2.2 - Location C…ConversationNode 2.3 - Soft Close & Date/Time… (Conversation)Node 2.3 - Soft Close…ConversationMCP Parse Date Request (Conversation)MCP Parse Date RequestConversationCalendar Check Function (Conversation)Calendar Check Functi…ConversationNode 2.4 - Offer Slots (Conversation)Node 2.4 - Offer SlotsConversationNode 2.5 - No Availability (Conversation)Node 2.5 - No Availab…ConversationNode 2.6 - Name Collection (Conversation)Node 2.6 - Name Colle…ConversationNode 2.7 - Number of People (Conversation)Node 2.7 - Number of …ConversationBook Appointment Function (Conversation)Book Appointment Func…ConversationNode 2.11 - Final Booking Confirm… (Conversation)Node 2.11 - Final Boo…ConversationEnd Call (Conversation)End CallConversationNode - 2.12 Booking Failed (Conversation)Node - 2.12 Booking F…ConversationNode 3.1 - Reschedule Lookup (Conversation)Node 3.1 - Reschedule…ConversationNode 3.2 - Identity Verification (Conversation)Node 3.2 - Identity V…ConversationNode 3.4 - Appointment Found (Conversation)Node 3.4 - Appointmen…ConversationNode 3.4.1 - Appointment Not Found (Conversation)Node 3.4.1 - Appointm…ConversationNode 3.5 - New Date & Time Prefer… (Conversation)Node 3.5 - New Date &…ConversationNode 3.3 - MCP Get Appointments (Conversation)Node 3.3 - MCP Get Ap…ConversationMCP Get Appointments (Conversation)MCP Get AppointmentsConversationExtract Variables (Conversation)Extract VariablesConversationLogic Split (Conversation)Logic SplitConversationLogic Split (Conversation)Logic SplitConversationNode 4.3 - MCP Delete Old Appoint… (Conversation)Node 4.3 - MCP Delete…ConversationMCP Delete Appointment (Conversation)MCP Delete AppointmentConversationLogic Split (Conversation)Logic SplitConversationNode 3.7 - Reschedule Final Confi… (Conversation)Node 3.7 - Reschedule…ConversationNode 4.1 - Cancellation Lookup (Conversation)Node 4.1 - Cancellati…ConversationLogic Split (Conversation)Logic SplitConversationNode 4.2 - Appointment Found (Conversation)Node 4.2 - Appointmen…ConversationExtract Variables (Conversation)Extract VariablesConversationExtract Variables (Conversation)Extract VariablesConversationExtract Variables (Conversation)Extract VariablesConversationExtract Variables (Conversation)Extract VariablesConversationExtract Variables (Conversation)Extract VariablesConversationNode 5.1 - Out of Area (Conversation)Node 5.1 - Out of AreaConversationNode 2.9 - Address Collection (Conversation)Node 2.9 - Address Co…ConversationNode 2.8 - Phone Number Confirmat… (Conversation)Node 2.8 - Phone Numb…ConversationExtract Variables (Conversation)Extract VariablesConversationLogic Split (Conversation)Logic SplitConversationMCP Validate Address (Conversation)MCP Validate AddressConversationNode 2.10 - Address Confirmation (Conversation)Node 2.10 - Address C…ConversationMCP Get Free Slots (Today&Tomorro… (Conversation)MCP Get Free Slots (T…ConversationMCP Get Free Slots (ASAP) (Conversation)MCP Get Free Slots (A…ConversationMCP Get Appointments by Phone (Conversation)MCP Get Appointments …ConversationNode 3.4.2 - Appointment Not Found (Conversation)Node 3.4.2 - Appointm…ConversationTransfer Node - Live Transfer to … (Conversation)Transfer Node - Live …ConversationTransfer Call (Conversation)Transfer CallConversationCallback Node - Request Callback (Conversation)Callback Node - Reque…ConversationEnd Call (Conversation)End CallConversationNode 5.3 - Wellness Shop Redirect (Conversation)Node 5.3 - Wellness S…ConversationNode 5.4 - General Questions (Conversation)Node 5.4 - General Qu…ConversationEnd Call (Conversation)End CallConversationEnd Call (Conversation)End CallConversationEnd Call (Conversation)End CallConversationNode 4.4 - Cancellation Confirmat… (Conversation)Node 4.4 - Cancellati…ConversationNode 5.2 - Unclear Area (Conversation)Node 5.2 - Unclear Ar…ConversationContact Details CRM (Conversation)Contact Details CRMConversationMCP Get Free Slots (ASAP) (Conversation)MCP Get Free Slots (A…ConversationNode 3.6 - Address Confirmation (… (Conversation)Node 3.6 - Address Co…ConversationMedical Emergency Detection (Conversation)Medical Emergency Det…ConversationLogic Split (Conversation)Logic SplitConversationNode 2.13 - Name & Adress Confirm… (Conversation)Node 2.13 - Name & Ad…ConversationNode 2.8 - Phone Number Confirmat… (Conversation)Node 2.8 - Phone Numb…ConversationNode 2.7 - Number of People (Copy) (Conversation)Node 2.7 - Number of …ConversationCode (Conversation)CodeConversationContact Details CRM (Conversation)Contact Details CRMConversationContact Details CRM (Conversation)Contact Details CRMConversationContact Details CRM (Conversation)Contact Details CRMConversationExtract Variables (Copy) (Conversation)Extract Variables (Co…ConversationLogic Split (Copy) (Conversation)Logic Split (Copy)ConversationMCP (Conversation)MCPConversationMark Calendar Checked (Conversation)Mark Calendar CheckedConversationDeferred Service - Callback Captu… (Conversation)Deferred Service - Ca…ConversationContact Details CRM (Conversation)Contact Details CRMConversationLogic Split (Conversation)Logic SplitConversationNode 5.2 - Orlando (Conversation)Node 5.2 - OrlandoConversationNode 1.1 - Intent Detection (Copy) (Conversation)Node 1.1 - Intent Det…ConversationCoverage Check (Address) (Conversation)Coverage Check (Addre…Conversation
Post Call Webhookn8n20 nodes
Retell Post-Call Webhook (Webhook)Retell Post-Call Webh…WebhookParse Retell Payload (Code)Parse Retell PayloadCodeGHL - Search for Contact (Http Request)GHL - Search for Cont…Http RequestMerge Existing & New Tags (Code)Merge Existing & New …CodeIf (If)IfIfGHL - Upsert Contact (Http Request)GHL - Upsert ContactHttp RequestExtract Contact ID (Code)Extract Contact IDCodeGHL - Create Opportunity (Http Request)GHL - Create Opportun…Http RequestIf1 (If)If1IfSend an SMS/MMS/WhatsApp message (Twilio)Send an SMS/MMS/Whats…TwilioNo Operation, do nothing (No Op)No Operation, do noth…No OpIf2 (If)If2IfGHL - Update Existing Contact (Http Request)GHL - Update Existing…Http RequestSend a message (Gmail)Send a messageGmailSend an SMS/MMS/WhatsApp message1 (Twilio)Send an SMS/MMS/Whats…TwilioNotify Dispatcher (Http Request)Notify DispatcherHttp RequestGHL - Check Appointment (Http Request)GHL - Check Appointme…Http RequestEvaluate Booking (Code)Evaluate BookingCodeBooking Failed? (If)Booking Failed?IfNotify Dispatcher (Booking Failed) (Http Request)Notify Dispatcher (Bo…Http Request
[v2] Notification Dispatchern8n15 nodes
Dispatch Webhook (Webhook)Dispatch WebhookWebhookParse Request (Code)Parse RequestCodeGHL - Get Settings (Http Request)GHL - Get SettingsHttp RequestExtract Settings (Code)Extract SettingsCodeGHL - Get Routing Rule (Http Request)GHL - Get Routing RuleHttp RequestExtract Routing Rule (Code)Extract Routing RuleCodeGHL - Get Recipient (Http Request)GHL - Get RecipientHttp RequestBuild Send Plan (Code)Build Send PlanCodeIf should queue (If)If should queueIfGHL - Queue Notification (Http Request)GHL - Queue Notificat…Http RequestIf should email (If)If should emailIfSend Email (Gmail)Send EmailGmailSend SMS (Twilio)Send SMSTwilioRespond Success (Respond To Webhook)Respond SuccessRespond To WebhookIf should SMS (If)If should SMSIf
Booking Confirmation SMSn8n2 nodes
Webhook (Webhook)WebhookWebhookNotify Dispatcher (Http Request)Notify DispatcherHttp Request