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 / Calendar & Scheduling

Calendar & Scheduling

Fill cancelled slots from a ranked waitlist via webhook and SMS or WhatsApp

When a booking is cancelled, ranks the waitlist for that slot and offers it to the top three people by SMS or WhatsApp, with the first reply claiming it.

What it does

## Fill cancelled slots from a ranked waitlist ### How it works When a booking is cancelled, your calendar system POSTs the freed slot to a webhook. The workflow validates the payload, then ranks your waitlist for that exact slot: treatment match counts most, flexibility next, then your own priority score. The top three people get an offer message at the same time; the first reply wins the slot, everyone else gets a polite note. Replies arrive on a second webhook. The claim guard decides atomically who wins: the first TAKE claims the spot, a repeat TAKE is confirmed again, a late or second TAKE is declined politely, and a STOP marks the sender as declined and releases the slot immediately. A sweeper runs every 30 minutes. It picks up slots whose offers expired or were declined, excludes everyone already offered or declined, and re-offers to the next people on the list. When the waitlist runs out, the slot is closed out as exhausted. ### Setup 1. Import, activate, and register both webhook paths with your booking system. 2. Replace the demo waitlist node with your sheet or database. 3. Replace the two send placeholders with your WhatsApp or SMS node.

The steps

  1. Webhook: slot cancelled
  2. Normalize cancellation
  3. Valid?
  4. Respond invalid
  5. Waitlist (demo data)
  6. Rank + build offers
  7. Offer book
  8. From sweep?
  9. Send offers (replace me)
  10. Respond
  11. Send re-offers (replace me)
  12. Sweep log
  13. Webhook: claim reply
  14. Valid claim body?

20 steps in total.

Similar automations