The server never trusts the LLM
Every business rule (mode, coverage, availability, price) is validated in the backend, because a prompt can be ignored.
AI WhatsApp assistant that quotes, books and reschedules appointments for dog groomers.
The problem
Small dog groomers in Peru take every booking on WhatsApp and write it down by hand. They miss messages after hours, double-book appointments, and quoting is slow because price depends on the service, the dog's weight and its coat type.
What I built
A multi-tenant SaaS where each grooming business connects its own WhatsApp by scanning a QR code. An AI assistant then serves its customers, and the owner manages everything from a web dashboard. Businesses run either in-store or as Pet-Movil (a van that grooms at the customer's home).
What the bot does
Engineering decisions
Every business rule (mode, coverage, availability, price) is validated in the backend, because a prompt can be ignored.
Data the bot needs many turns later (location, quoted services) is stored server-side, so the model can't lose or miscopy it.
Every appointment is validated again when saved, preventing double bookings between the bot, the dashboard and the web.
The travel fee is stored on the appointment at creation, so changing rates never alters booked appointments.
If Redis, Ably or OpenAI is down, the app keeps working without that feature instead of failing.
Subscription state is read from Clerk, never duplicated in the database.
Availability engine
Custom scheduling engine: multiple groomers, multiple pets per appointment, per-groomer shifts and a daily capacity per van. Coverage zones are polygons and circles drawn on a Leaflet map and checked with Turf.
Architecture
Stack
My role
Designed and built the whole product solo: product, frontend, backend, the bot flow in n8n, infrastructure and brand.
Results
2 businesses · ~20 bookings/day · ~600 bookings/month
Media