← Back to Directory
Customer ServiceHome ServicesFreelance/Agency

AI Voice Receptionist With Calendar Booking Using Vapi and n8n

An AI voice agent that answers pest emergency calls 24/7, qualifies the infestation, checks real calendar availability, and books appointments with full technician briefing notes.

Vapi
n8n
n8n
ChatGPT
ChatGPT
Google Calendar

The Strategy

A fully functional AI voice receptionist for pest control companies is built using Vapi for the voice layer and n8n for the backend automation. The video is a complete technical tutorial where the entire system is built from scratch and tested with a live call at the end. The problem being solved is straightforward: pest emergencies happen at all hours, most small extermination companies miss calls constantly, and every missed ring is a $300 service call going to whoever answers next. The system answers instantly, qualifies the pest situation, checks Google Calendar for real availability with buffer times, and books the appointment with comprehensive notes attached. What makes this build stand out is the depth of the backend logic. The n8n workflow uses webhook routing to direct Vapi tool calls through a switch node to three distinct paths: qualification, availability checking, and booking. The availability path pulls existing calendar events, generates 30 minute time slots across the workday, applies 15 minute buffers around existing appointments, filters conflicts, and returns human readable time options back to the voice agent. The booking path is equally thorough. It pulls the client name and times from the booking tool call, then reaches back into the full conversation history to extract pest type, infestation severity, and property type from the earlier qualification step. The technician sees all of this on the calendar entry before arriving at the job.

How It Works

1

Create a new assistant in Vapi using GPT 4.1 Mini as the model. Set it to "assistant speaks first" mode so it greets callers immediately with no dead air.

2

Configure the first message and paste in a detailed system prompt that defines service categories (termite, rodent, bee, bed bug, general extermination) and conversation flow.

3

Create three custom tools in Vapi: qualify_pest_control (collects pest type, infestation severity, property type), availability_pest_control (queries available time slots by date), and book_appointment_pest_control (books with client name, start time, end time).

4

Assign a local area code phone number in Vapi and attach the pest control assistant to handle inbound calls.

5

In n8n, import the workflow template. The entry point is a webhook node that receives all Vapi tool call data including the tool name, arguments, caller phone number, and full conversation transcript.

6

A switch node routes incoming requests by function name: availability to output 1, booking to output 2, qualification to output

7

The availability path: a Google Calendar node retrieves all events for the requested date. A merge node combines the calendar data with the Vapi search date. A code node generates 30 minute time slots from 8 AM to 6 PM, applies 15 minute buffers before and after existing appointments, filters conflicts, and formats remaining slots into human readable times. A respond to webhook node sends the available slots back to Vapi as stringified JSON.

8

The booking path: a Google Calendar create event node books the appointment using start and end times from the tool call. The calendar entry description is populated by parsing the conversation history array to extract pest type, infestation severity, and property type from the earlier qualify_pest_control tool call. A respond to webhook node confirms the booking back to Vapi.

9

The qualification path: a respond to webhook node acknowledges the qualification data so the AI can proceed to checking availability.

10

Copy the n8n webhook URL into Vapi's messaging settings and enable only the tool call server message type to minimize unnecessary backend calls.

Results

No verified business revenue figures are provided. The creator cites the industry stat that every missed pest control call represents approximately $300 in lost revenue. The live demo successfully books a bed bug appointment with all qualification details attached to the calendar entry.

Our Take

This is the most technically detailed AI voice agent tutorial for a specific home services vertical. The n8n backend is production ready: real calendar integration with buffer logic, conversation history parsing to extract qualification data into booking notes, and proper webhook response formatting. The live demo at the end proves it works end to end. The main limitation is that there are no verified business results since this is a tutorial build rather than a case study. But as a replicable blueprint, this is excellent. The architecture transfers directly to HVAC, plumbing, roofing, or any appointment based service business. Best suited for automation agency builders who want a technical reference they can actually deploy for clients.

Related Strategies

More AI agent strategies you might find useful

Want more strategies like this?

Get weekly AI agent case studies in your inbox.