Skip to content
webdot
Field service · Scheduling · PaymentsPubgenius

MiNT Window Cleaning

A quote that books itself, with a tech who's already nearby.

My role
Senior engineer: split the platform into three apps and built its scheduling engine, payments and Housecall Pro sync.
Timeline
2026
Played with
Next.js, TypeScript, PostgreSQL, Stripe, Google Routes API, Housecall Pro API, Cloud Run
Read time
2 min
Visit ↗
quote.dirtymint.comMiNT Window Cleaning, annotated

Fig. 4 — MiNT Window Cleaning, annotated

  1. 1Every answer feeds the price.
  2. 2The quote builds up as you go.
  3. 3One question per step.
Q1 · The situation

Two platforms, no single place to run it.

MiNT cleans windows across Utah and Las Vegas. Jobs, techs and schedules lived in Housecall Pro and leads in HubSpot, so changing a price or a promo, or finding a slot for a new customer, meant working across tools that didn't talk to each other.

Q2 · The task

One place to run it, one easy way to book.

Give the team one admin to run the business from, give customers a quote they can book and pay for online, and give sales reps a tool to quote on the spot. Every booking had to land in Housecall Pro with a tech who could actually make it.

Q3 · What I did

Schedule by distance and by load.

quote.dirtymint.com/quote-builder/select-location
The live site, in use · on a loop

Three apps, always in sync

Customers book in the quote app, reps quote in the sales tool, and the team runs everything from the admin. I split the first two out of one original app, built the sales tool, and kept all three on the same data, so a price or promo changed in the admin is exactly what the next customer and the next rep see. None of them drifts.

Availability that knows the map

For each address, the engine pulls the day's Housecall Pro jobs and field techs, gets the drive time from every job to the customer in a single Google Routes matrix call, and drops any tech who'd be more than 20 minutes away. It then walks their open booking windows in 15-minute steps to find room for the job.

How booked is too booked

In the sales tool, every tech's day is scored on three things: drive time, a $1,500 daily revenue cap and an open slot. Days come back green, yellow or red for the next 35 days, cached for 30 minutes, and green slots are dealt round-robin across techs so the work spreads out.

Paid, then booked

A Stripe webhook ignores repeat deliveries, then creates the customer and the job in Housecall Pro. Behind the price are plans, bundles, stacked promos, annual and monthly billing, and a floor no discount can go below.

One admin to run it from

In the admin I built the service-area and sales-catalogue settings and the analytics on traffic sources, promo codes and leads, so the team tunes the business in one place.

Q4 · The result

Booked online, scheduled by the map.

3apps kept in sync
148zip codes across two regions
20 minfurthest drive to the next job
35 daysscheduled ahead for reps

Customers in two regions quote, pay and book in one go, and reps can see which days work before they promise one.

Sound

Off. Nothing will make a peep.

Motion

Following your device: full motion.