Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Forms & Surveys

Forms & Surveys

Validate and deduplicate webhook booking requests with WhatsApp confirmations

Fires on each webhook form submission, validates fields and lead time, declines out-of-policy slots, blocks duplicates within 30 minutes and sends a WhatsApp confirmation.

What it does

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

The steps

  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)

Similar automations