Book appointments by voice with Vapi

Lets a Vapi voice agent check free slots and book them. This n8n template is the back end for a Vapi voice assistant that books appointments by phone. The voice agent asks the caller for name, address, service type and a preferred time. Vapi sends tool calls to an n8n webhook, and a Switch node routes them by tool name: one path reads Google Calendar events and returns free slots, the other books the appointment as a Google Calendar event with client, address, service type and call ID in its description. The Vapi tool names must be exactly checkAvailability and bookAppointment.

n8nRead on 2026-11-168 steps

Steps

  1. Trigger: Webhook receives tool calls from VapiVapi
  2. Configuration: timezone, hours, buffers
  3. Routes by tool name
    checkAvailability or bookAppointment.
  4. Gets calendar events for the dayGoogle Calendar
    checkAvailability path.
  5. Calculates available slots
    Conflict-free options with buffers.
  6. Responds with available times to VapiVapi
  7. Books the appointment in Google CalendarGoogle Calendar
    bookAppointment path.
  8. Output: Returns booking confirmation to VapiVapi

Limits

  • Tool names in Vapi must match the workflow exactly.
  • No reminder step is described; confirmations are only suggested as extensions.

What it does well

  • Free slots are read from your Google Calendar.
  • The call ID is stored in the event description.

Before you import

Set the webhook Production URL as the Vapi Server URL, and name the two Vapi tools exactly checkAvailability and bookAppointment. Connect a Google Calendar OAuth credential.

Similar templates