Nuxy Automation

Working examplesBooking reminders

Booking reminders for a dog groomer

Prairie Paws Grooming is made up for this example. The code is real and open: read it or run it.

The week below, in about a minute, with a voice-over (captions in the player). Every line and every email is the code’s real output.

The problem

Clients call to book while the groomer’s hands are full, so calls go unanswered, and the ones who do book sometimes forget and don’t show.

What it does

The messy parts it handles

The week, line by line

Prairie Paws Grooming

  1. Mon 10:12bookingJordan Price books a full groom for Wednesday 2:00 PM
  2. Mon 10:12customerConfirmation to Jordan, with a link to move or cancel
  3. Mon 10:12ownerNew booking: Jordan Price
  4. Mon 21:40bookingAna Lima books a nail trim for Thursday 9:00 AM
  5. Mon 21:40customerConfirmation to ana.lima@gmail.com (the typo fixed)
  6. Tue 14:00customerSee you tomorrow: reminder to Jordan
  7. Tue 16:05movedJordan moves to Thursday 11:00 AM
  8. Tue 16:05customerMoved: a new confirmation; the old reminders are dropped
  9. Wed 09:00customerSee you tomorrow: reminder to Ana
  10. Wed 11:00customerSee you tomorrow: reminder to Jordan, for the new time
  11. Thu 07:00ownerToday: 2 appointments
  12. Thu 07:00skippedAna’s 2-hour reminder would land at 7 a.m.: skipped
  13. Thu 09:00customerIn 2 hours: last reminder to Jordan
The demo’s simulated week (npm run demo), word for word.

Speed: 5,000 bookings confirmed and checked for reminders in 1.4 seconds on a desktop PC (npm run bench). A small business’s whole year fits in under a second.

For your business

Most booking tools (Square, Acuity, Vagaro) have confirmations and reminders built in: those are switched on and set up first. This runs where they don’t, from the booking tool’s webhook.

More examples