2025In production

Groomie

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

  • 01Recognizes returning customers by phone number and greets them by name
  • 02Quotes by service, weight and coat type
  • 03Shows only truly available time slots and books the appointment
  • 04Reschedules appointments and logs complaints
  • 05For mobile grooming: checks the location the customer shares on WhatsApp against coverage zones drawn on a map
  • 06Optionally analyzes a photo of the pet to verify coat and size (never blocks a booking)
  • 07Human handoff: staff pause the bot and reply from the same WhatsApp

Engineering decisions

The server never trusts the LLM

Every business rule (mode, coverage, availability, price) is validated in the backend, because a prompt can be ignored.

State lives in Redis, not in the prompt

Data the bot needs many turns later (location, quoted services) is stored server-side, so the model can't lose or miscopy it.

Re-validate on write

Every appointment is validated again when saved, preventing double bookings between the bot, the dashboard and the web.

Frozen prices

The travel fee is stored on the appointment at creation, so changing rates never alters booked appointments.

Graceful degradation

If Redis, Ably or OpenAI is down, the app keeps working without that feature instead of failing.

External source of truth

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

  1. WhatsApp customer
  2. Evolution API (self-hosted, Baileys)
  3. n8n AI agent (OpenAI)
  4. Groomie HTTP API (Next.js)
  5. MongoDB (per-tenant) + Redis (session/handoff)
  6. Ably (real-time)
  7. Owner dashboard

Stack

  • Next.js (App Router, Server Actions)
  • React 19
  • Tailwind CSS
  • shadcn/ui
  • MongoDB
  • Clerk + Clerk Billing
  • Evolution API
  • n8n
  • OpenAI
  • Redis
  • Ably
  • Leaflet + OpenStreetMap
  • Turf

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

Image pending
01 / WhatsApp conversation with the bot
Image pending
02 / Dashboard calendar
Image pending
03 / Coverage map editor
Optional video · pending
Booking demo from WhatsApp