From a paper calendar to booking, attribution and loyalty
A premium, single-location, appointment-based health and wellness business.
8% to 0.3%booking errors, once booking was wired to the point-of-sale system
The problem
Bookings ran from a paper calendar. A booking took 15 minutes, 8% of bookings had errors, 40% of appointments were no-shows, and tracking saw half of the conversions.
Why it mattered
In an appointment business an empty or double-booked slot cannot be sold again, and spend cannot be judged on half the data.
What I built
- 1
Build booking into the website
A custom booking platform, native to the website, so booking and checkout match a premium, luxury service.
- 2
Connect the point of sale
OAuth and a live catalog sync with the point-of-sale system's bookings, catalog and payments APIs.
- 3
Check every booking in order
Business hours, then service, then staff, then conflicts, then alternatives; deposits and payments taken at booking.
- 4
Make webhooks safe to retry
Signatures verified, events de-duplicated on their id, retries at 1, 4 and 16 seconds, and 49 automated tests.
- 5
Send each event twice
Browser and server send the same event with a shared id; personal data is normalized, then hashed.
- 6
Quarantine the doubtful
Five checks quarantine suspicious conversions, and identity is matched exact, then probabilistic, then model-assisted.
- 7
Run the customer system on triggers
Loyalty enrolls customers at booking. Messages go 24 hours before a visit, a week before a birthday, after 90 days without a visit and 24 hours after one.
My role
I built it myself, end to end, as a twelve-week program in six two-week phases.
Stack
- Square APIs: bookings, catalog and payments
- Node.js
- TypeScript
- Meta Conversions API (CAPI)
- GA4 Enhanced Conversions
Results
- 40% to 12%no-shows
- Nonedouble-bookings, from 3 to 4 a week
- 65% to 95%slot utilization
- 50% to 95%tracking coverage; attribution accuracy from 65% to 89%
- 35% to 78%customer retention
Where a human approves
- Negative reviews go to a person; the AI responder answers only the positive ones.
- A promotion winner ships on its own only above 95% confidence.
How I think
Count a booking as a lead, not a purchase
Counting a booking as a lead keeps the ad platform from learning that every booking is revenue.
Automate only above a threshold
The promotion engine checks every five minutes and stops at significance with enough power, or at a time limit. Below the threshold, nothing acts on its own.
- In production
- Twelve weeks
- Square APIs: bookings, catalog and payments
- Node.js
- TypeScript
- Meta Conversions API (CAPI)