Kütüphane / Takvim ve Zamanlama
Takvim ve Zamanlama
Vapi sesli aramalarından Google Calendar müsaitliğini kontrol edin ve randevu oluşturun
Google Calendar boş/meşgul durumunu kontrol eden ve görüşme sırasında randevu oluşturan iki Vapi araç webhook'una hizmet verir; saat doluysa yakın uygun saatleri önerir ve paylaşılan gizli anahtar olmayan istekleri reddeder.
Ne yapar
## Book appointments in Google Calendar from Vapi voice agent calls ### Who's it for Agencies and businesses running a Vapi voice agent for clinics, salons or other services booked by phone, who need it to check real availability and book during the call. ### How it works - Two webhooks serve two Vapi custom tools: check_availability(date, time) and book_appointment(name, phone, email, date, time). - Requests without your shared secret get a 401. - Check availability reads Google Calendar free/busy. If the slot is taken, too soon or outside opening hours, it returns the 3 nearest free slots for the visit duration. - Book appointment re-checks the slot, creates the event, and only then answers status: ok or a clear error code, in Vapi's tool-result format. ### Setup 1. Select your Google Calendar credential in the three Google Calendar nodes. 2. In Configure me, set the secret, calendarId (primary works), timezone (default Europe/Madrid), opening hours and visit duration. 3. Activate the workflow and copy both production webhook URLs. 4. In Vapi, create one custom tool per URL, sending the secret in the X-Vapi-Secret header or as a Bearer token. Arguments: date (YYYY-MM-DD), time (HH:mm), plus name, phone and optional email for booking. 5. In the assistant prompt, give today's date and confirm only on status: ok. ### Requirements - n8n (Cloud or self-hosted) - A Vapi account with an assistant - A Google Calendar account ### Customization tips - Tune the notice period, slot step, search window and number of alternatives in Configure me. - Use locale for weekday names in another language and eventTitle to rename events. - Add attendees or reminders in Create calendar event.
Adımlar
- Receive check_availability call
- Receive book_appointment call
- Set tool: check_availability
- Set tool: book_appointment
- Configure me
- Parse and validate tool call
- Route by tool
- Get busy times
- Build availability result
- Re-check the slot
- Confirm slot is still free
- Slot still free?
- Create calendar event
- Build booking result
Toplam 15 adım.
Benzer otomasyonlar
Potansiyel Müşteri Yaratma ve ZenginleştirmeVAPI Sesiyle Restoran Siparişlerini Pazarlama ve Rezerve Etme9 adımTakvim ve ZamanlamaVapi, Gemini ve Takvim ile sesli randevu alma10 adımPotansiyel Müşteri Yaratma ve ZenginleştirmeVAPI Aramaları ve Google Sheets ile B2B Adaylarını Nitelendirme5 adımPotansiyel Müşteri Yaratma ve ZenginleştirmeYeni Go High Level Fırsatlarından Vapi Aramaları Başlatma5 adım