πŸ’¬ Automated voice appointment booking with Vapi AI and Google Calendar

⚑ 3,796 views Β· πŸ’¬ Support Chatbots

Description

What this template does

Connect a Vapi AI voice agent to Google Calendar to capture contact details and auto-book appointments. The agent asks for name, address, service type, and a preferred time. The workflow checks availability and either proposes times or books the slotβ€”no code needed.

How it works (node map)

> Sticky notes in the canvas show exactly what to edit (required by n8n). No API keys are hardcoded; Google uses OAuth credentials.

Requirements

Setup (5 minutes)

A) Vapi β†’ n8n connection

  1. Open the Webhook node and copy the Production URL.
  2. In Vapi β†’ Assistant β†’ Messaging, set Server URL = that Production URL.
  3. In Server Messages, enable only toolCalls.

B) Vapi tools (names must match exactly)

Create two Custom Tools in Vapi and attach them to the assistant:

Tool 1: checkAvailability

Tool 2: bookAppointment

> The Switch node routes based on message.toolCalls[0].function.name. If the names differ, nothing will run.

C) Configure availability

Open 1. CONFIGURATION (EDIT ME) and set:

D) Connect Google Calendar

  1. Open 2. Get Calendar Events (EDIT ME) β†’ Credentials: select/create Google Calendar OAuth. Then choose the calendar to check availability.
  2. Open 3. Book Appointment in Calendar (EDIT ME) β†’ use the same credential and same calendar to book.

E) Activate & test

Customising

Troubleshooting

Security & privacy

πŸ”— Nodes Used

Webhook, Google Calendar

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup