İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Formlar ve Anketler

Formlar ve Anketler

Webhook rezervasyon isteklerini WhatsApp onaylarıyla doğrula ve tekrarları ayıkla

Her webhook form gönderiminde çalışır; alanları ve önceden bildirim süresini doğrular, politika dışındaki saatleri reddeder, 30 dakika içindeki tekrarları engeller ve WhatsApp onayı gönderir.

Ne yapar

## 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.

Adımlar

  1. Webhook: booking form
  2. Normalize + validate fields
  3. Valid?
  4. Create booking (replace me)
  5. Build confirmation
  6. Respond OK
  7. Respond invalid
  8. Log rejected request
  9. Slot bookable?
  10. Respond decline
  11. Duplicate request?
  12. Fresh request?
  13. Skip duplicate
  14. Send confirmation (replace me)

Benzer otomasyonlar