# Check and book Google Calendar appointments with Vapi voice agents

> Quick overview This workflow exposes two webhook endpoints for Vapi voice agent tools to check availability and book appointments in Google Calendar, enforcing a shared secret, validating requested times against opening hours and notice period, and returning tool-result responses Vapi can use during the call. How it works 1. Receives POST webhook requests from Vapi for either checkavailability or bookappointment. 2. Validates the shared secret from the request headers and parses the tool call payload into a normalized request format. 3. For availability checks, queries Google Calendar free/busy across a configurable search window and returns whether the slot is available or the nearest alternative time slots. 4. For booking requests, validates required customer details and the requested slot against opening days/hours and minimum notice rules. 5. Re-checks Google Calendar free/busy for the exact requested slot to ensure it is still free before booking. 6. Creates a Google Calendar even

- **Domain**: `n8n-workflow-20820.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20820
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20820.n8n.io
- Documentation: https://n8n.io/workflows/20820
