Библиотека / Календарь и планирование
Календарь и планирование
Проверка доступности записи через webhook с аутентификацией и Google Calendar
Получает предлагаемое время начала и окончания через webhook с аутентификацией, проверяет Google Calendar и возвращает результат «свободно» или «занято» для форм бронирования и ассистентов.
Что делает
## Check appointment availability in Google Calendar Check a proposed appointment interval through an authenticated webhook. This workflow validates the requested times, reads Google Calendar availability, and returns a structured available or busy result. It suits booking forms, voice assistants, chat assistants, and internal scheduling tools that already have a proposed start and end time. ### Setup 1. Import the workflow and leave it inactive while configuring it. 2. In Receive Request, create a Header Auth credential with your chosen header name and secret value. Set a unique webhook path. Keep the secret in credentials and in your calling application, never in the workflow JSON. 3. In Check Calendar, connect your Google Calendar OAuth credential and replace YOUR_CALENDAR_ID with a calendar that credential can access. Start with a dedicated test calendar. 4. Send Content-Type: application/json and the configured authentication header. The request body needs start and end, such as {"start":"2030-01-15T14:00:00-06:00","end":"2030-01-15T14:30:00-06:00"}. Replace these example dates with a future interval you intend to test. 5. Test one free interval and one busy interval. Test invalid times and a provider permission failure. Verify that a provider failure never returns an available result. 6. Activate only after these checks, then use the production webhook URL shown by n8n. HTTP 200 returns status available or busy, a boolean available, and the normalized UTC start and end. HTTP 400 returns invalid_request and validation errors. HTTP 502 returns unavailable without claiming that the interval is free. This is a snapshot for one interval. It neither generates a slot catalogue nor holds or creates an appointment. Calendar state can change after the check. Successful, error, and manual execution saving are disabled in the export; review your instance logging and retention before using real requests. Prepared by Benian Technologies: https://benian.ai/integrations/n8n-automation
Шаги
- Receive Request
- Validate Request
- Request Is Valid
- Check Calendar
- Format Availability
- Return Availability
- Return Invalid
- Return Provider Error
Похожие автоматизации
Календарь и планированиеBook and manage LINE OA appointments with OpenAI, Google Calendar and SheetsШагов: 40Календарь и планированиеRun an AI voice receptionist with Vapi, Google Calendar and Twilio SMSШагов: 28Календарь и планированиеВебхук календаря для телефонного агента и Google CalendarШагов: 2Календарь и планированиеСоздание событий Google Calendar из последней строки Google SheetsШагов: 4