Формы и опросы
Проверка и дедупликация запросов на бронирование через webhook с подтверждениями в WhatsApp
Срабатывает при каждой отправке формы через webhook, проверяет поля и время до начала, отклоняет слоты, не соответствующие правилам, блокирует дубликаты в течение 30 минут и отправляет подтверждение в WhatsApp.
Что делает
## Collect and validate booking requests from a webhook form ### How it works 1. A webhook receives a booking request; fields are validated and the lead time is computed. 2. Invalid requests are logged with the exact reason and answered with a 422 your form can show inline. 3. Slots outside the 2-hour to 60-day booking policy get a structured decline. 4. A 30-minute duplicate guard answers repeated submissions as success without booking twice. 5. Fresh requests are booked, a WhatsApp confirmation is prepared and sent, and the form gets a 200. ### Setup steps - Import into n8n, open the webhook node and use its test or production URL in your form action. - Replace the two replace-me nodes with your calendar write and your WhatsApp, SMS or email send node. - Point the error log at a sheet if you want to monitor failing form fields. ### Requirements n8n on any plan. The demo run needs no credentials; production needs a calendar credential plus a messaging credential. ### Customization The booking policy (2 hours to 60 days), the duplicate window (30 minutes) and all copy are plain settings in the named nodes. The pinned webhook data uses a far-future slot so the policy decline path runs on execute.
Шаги
- Webhook: booking form
- Normalize + validate fields
- Valid?
- Create booking (replace me)
- Build confirmation
- Respond OK
- Respond invalid
- Log rejected request
- Slot bookable?
- Respond decline
- Duplicate request?
- Fresh request?
- Skip duplicate
- Send confirmation (replace me)
Похожие автоматизации
RAG и базы знанийОтветы на вопросы WhatsApp Business с RAG-чат-ботом OpenAIШагов: 22Чат-боты и боты для мессенджеровПланирование поездок в WhatsApp с туристическим ассистентом на OllamaШагов: 6Документы, PDF и OCRСоздание коммерческих предложений в WhatsApp из голоса или текста с GPTШагов: 15Поддержка клиентов и служба помощиПоддержка клиентов в WhatsApp с обходом вашего сайта и GPT-4oШагов: 11