# Replacing a fragile quoting bot that kept eating his mornings

> His old Puppeteer bot clicked through the website UI, so every platform tweak broke it and put him right back to quoting manually.

Ops automation · Chipsy, catering · private API automation

## Figures

- **120 to 150 hrs** a year, down to about five seconds
- **+40%** in bookings and leads, on Adam's own figures
- **0** breakages since it went live
- **2 to 3 days** to build it

Adam runs Chipsy, a UK catering company serving triple-cooked chips and British/international menus at events. Most of his leads come from Togather, an event marketplace where caterers compete on speed: the first clear quote in a client's inbox usually wins the booking.

He'd already hired a developer to automate quoting, which made total sense on paper. That developer built a Puppeteer script that opened the supplier portal and clicked through event listings one by one.

The trouble with browser scripts is that Togather ships UI changes constantly. Whenever a CSS selector shifted or a modal moved, the bot crashed. Adam would pay £20/hour to patch it, wait a couple of days, and spend his mornings quoting manually again anyway.

Even when nothing crashed, clicking through one event at a time in a browser took two to three hours per run a couple times a week. He paid for automation and still spent 120 to 150 hours a year babysitting it.

## The loop, by hand

Here's what a session looked like whenever the bot stalled: log into the portal, scroll through open events, open each listing to check guest count, date, and budget, calculate pricing from his template, send the quote, or hide the listing if it didn't fit.

Doing that once takes forever, and you have to keep on top of it daily because quoting a day late on a live marketplace means the caterer who replied in 10 minutes already got hired.

Watching a slow browser script click through 50 events for three hours wasn't saving him any real work. Whenever it broke mid-run, the missed leads cost far more than the developer's repair bill.

## What I changed

Instead of fighting browser selectors, I stopped opening the website altogether.

Togather doesn't offer a public API, so I routed the supplier app's network traffic through Burp Suite to see how it actually talks to its own backend. Underneath the frontend, it logs in through Cognito and hits clean internal endpoints to fetch open events and submit quotes.

I rebuilt the whole workflow as a 15-node pipeline in n8n on a small VPS, talking directly to those private endpoints with zero headless browser involved.

Each run authenticates, grabs every open event in one request, checks guest counts and budgets against Adam's rules, calculates pricing from his template, submits quotes in bulk, and hides mismatched leads automatically.

## Before and after

What used to take two to three hours of hovering over a browser now finishes ~50 events in about five seconds. Building the new flow took two or three days, and it runs on a tiny VPS costing less than a coffee a week.

Best part: it hasn't broken once since going live. Togather can redesign their dashboard layout tomorrow and this workflow won't notice.

Adam estimates bookings and leads climbed roughly 40% afterward. That's his own count rather than an analytics metric I tracked, but it makes complete sense when his quotes now land seconds after an event goes live instead of three hours later.

## If this is your problem too

If you bought an automation script that breaks every few weeks, it's probably scraping or clicking through a webpage instead of calling the API behind it.

Sometimes a platform has a documented API and swapping over is quick. Other times you have to inspect the web app's network calls and wire directly into its private endpoints. Send me the site and what you want automated, and I'll tell you straight up on a quick call whether there's a clean API underneath we can build on.

Book a 30-minute call: https://cal.com/rahul.fyi/30min
Email: rahulmadwalkar5@gmail.com
