# Handle hospital voice appointments with Vapi, Google Sheets, and Gmail

> Quick overview This workflow provides backend webhooks for a Vapi hospital voice assistant to check appointment availability, book, reschedule, or cancel appointments in Google Sheets, and to request staff callbacks, sending notification emails via Gmail for each action. How it works 1. Receives a POST request from Vapi to check availability, looks up existing entries in the Google Sheets “Appointments” tab, and returns whether the requested doctor/department/date/time slot is free. 2. Receives a POST request from Vapi to book an appointment, validates required fields and caller confirmation, generates an appointment ID, appends the record to the Google Sheets “Appointments” tab, emails staff via Gmail, and returns a booking confirmation. 3. Receives a POST request from Vapi to cancel or reschedule an appointment, validates caller confirmation, finds the matching active appointment in Google Sheets by appointment ID and phone number, and returns a not-found response if no match exists.

- **Domain**: `n8n-workflow-20090.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/20090
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20090.n8n.io
- Documentation: https://n8n.io/workflows/20090
