Tabist, Lead Frontend Engineer, 2024 to 2026
Booking changes in seconds, not minutes, across 8 OTAs
An event-driven pipeline that applies cancellations and modifications on every OTA back-office, plus a Mastra + MCP agent that lets non-technical staff ask for changes in plain language.
- per change, down from 3–5 min
- 30–60 s
- of manual ops work removed
- ~80%
- call center costs
- −25%
The problem
Tabist runs a portfolio of 311 hotel properties that sell rooms through 8 online travel agencies (OTAs). Every cancellation or change to a booking had to be made by hand in each OTA's own back-office, taking 3–5 minutes per change and tying up the operations and call center teams.
[Add the scale: roughly how many changes a day or month, and what slow changes cost guests or staff.]
My role
I designed and built the automation pipeline and the chat-based operations tool on top of it, owning the frontend, the backend services and the OTA integrations.
[Add team size and who you worked with, e.g. operations leads or other engineers.]
Constraints
- Changes had to be made through each OTA's own web back-office, 8 different interfaces. [Confirm whether any OTA offered an API.]
- OTA screens change without notice, so automation had to survive UI changes instead of breaking on them.
- Cancellations and modifications are irreversible for guests, so nothing could happen without a person approving it.
- Operations staff are not technical, so the tool had to work in plain language.
How it works
Staff request
Chat in plain language, or the ops UI
Mastra agent
Typed MCP tools, approval gate
SQS queue
Each change is a job
Lambda workers
Run jobs in parallel
Headless browser
Puppeteer with agentic fallback
OTA back-office
8 OTAs
Key decisions
Queue every change instead of running it in the request
Moving work onto SQS and Lambda let changes run asynchronously and in parallel, so staff don't wait on a browser session and a slow OTA doesn't block the rest.
Typed MCP tool contracts with approval gates
The agent can only call a small set of typed tools, and any irreversible action stops for a person to approve it. That keeps the plain-language interface safe for non-technical staff.
Scripted browsing first, agentic browsing as a fallback
Puppeteer scripts handle the known paths quickly; when an OTA changes its UI, an agentic browsing layer takes over and recovers instead of failing the job.
Outcome
Each booking change now takes 30–60 seconds instead of 3–5 minutes.
About 80% of the manual operations work disappeared, and call center costs fell by 25%.
Staff can cancel or modify bookings across all 8 OTA back-offices by asking in plain language.
Stack
- TypeScript
- Mastra
- Model Context Protocol
- AWS SQS
- AWS Lambda
- Puppeteer
- React