Customers come in with room sizes on the back of an envelope. The quote builder takes the room shape, the tile they picked and the layout (straight, brick, herringbone), and works out boxes, adhesive, grout, trim and a fitting price.
It’s about 200 lines of Python and one SQLite file with our products and waste rules: 10% for straight, 15% for herringbone, plus one extra box if the tile is from a batch we can’t reorder. An agent does exactly one thing: it reads a photo of the customer’s sketch and turns it into room dimensions, which the person at the counter checks before anything is priced.
Since June: 380 quotes, about half the time at the counter, and two mistakes, both from the sketch reading (a 2.4 read as 24). We now reject any wall over 9 metres.
One SQLite file is the right size for this. Do you back it up anywhere?
Nightly copy to the shop’s cloud drive, and a USB stick my brother takes home on Fridays. Belt and braces.
The sanity limit on dimensions is the best bit. We do the same with part sizes: anything bigger than the machine bed gets kicked back.
Would this work for bathrooms where we quote plumbing and tiling together? We subcontract the tiling and those quotes take forever.
The tile part, yes. Send me a few anonymised quotes and I’ll see if the waste rules fit your tiler. Happy to share the table.
I love that the agent does the one boring step and nothing else.
How do you handle a batch you can’t reorder? Is that a flag on the product row?