Loading
Skip to case study

Case study

Archi-QS

A Sydney quantity surveying and engineering advisory firm. I was brought in on contract to automate the work around its reports: quoting, signing, invoicing and getting paid. The systems I built now carry that work from first quote to final payment.

Role
AI Engineer, contract
Timeline
May 2026 to now
Built with
Claude Code, Python, Azure
3 daysa month saved on payment follow-ups
2+ hoursof back and forth saved on every fee proposal
~1 daya month saved keeping the finance dashboards up to date (estimate)
Dailyview of every quote, job, invoice and payment, from one homepage

The problem

Archi-QS writes reports for strata buildings: insurance valuations, maintenance plans, safety reports and more. The reports were the work. Everything around them was admin done by hand.

A quote meant reading the client’s documents, pricing the job, typing up a proposal and logging it in a register. Once a job was signed, someone raised the invoice, then pulled a list of who hadn’t paid and sent reminders one by one. Contacts were spread across Xero, the registers, the mailing list and staff inboxes.

I started in May 2026 and have built, shipped and run each system since, working with Claude Code throughout.

Quote to cash

Each step used to be a separate manual job. Now they hand off to each other, and a person checks the work wherever it reaches a client.

Code I wroteService or platform

Quote

Request for quoteThe client’s plans and documents Claude reads themStructured fields, left blank when unsure Fee enginePlain code, every step shown

Win

ProposalWord and PDF from templates E-signaturePandaDoc Register and job folderExcel and SharePoint via Microsoft Graph

Get paid

Draft invoiceXero API Daily debt collectionAzure Functions DashboardsXero into Excel each morning
A CRM on Microsoft Lists sits alongside the whole flow, with an MCP server so staff can look up and update clients from Claude.

What I built

Live since June 2026

Fee calculator and proposals

A web app behind the firm’s Microsoft sign-in that runs a quote from first request to signed job. Claude reads the client’s documents, the fee engine prices the work and shows its reasoning, and the app then builds the proposal, reserves the reference number, creates the job folder and sends it for e-signing. A signature raises the work order and a draft Xero invoice. Each proposal saves at least two hours of back and forth.

Python · Claude API · Microsoft Graph · PandaDoc · Xero · Azure App Service · 1,569 tests

Live since 1 July 2026

Debt collection

Every morning an Azure Function checks each invoice against Xero, updates the financial year’s register on SharePoint, and sends a reminder once an invoice is a week overdue. Managers keep their own columns in the register for notes and decisions, and the automation never overwrites them. It went live five weeks after the first commit and saves about three days of follow-ups a month.

Python · Azure Functions · Key Vault · Xero API · Microsoft Graph · 91 tests

Live since July 2026

CRM and an MCP server

One contact list for the firm, on Microsoft Lists. A daily job merges contacts from Xero, the registers, the mailing list and staff inboxes, and Claude flags difficult client conversations for a person to review. A custom MCP server lets staff search and update clients from Claude, since the standard Microsoft 365 connector couldn’t reach Lists.

Python · Azure Container Apps · Microsoft Lists · MCP · OAuth · 259 tests

Hardened September to October 2026

Invoice sync to Excel

A colleague built the first version, which copies every Xero invoice into the firm’s Excel dashboards. I made it dependable: it now runs on a trigger that keeps time, retries through Excel Online outages, rebuilds the sheet if someone breaks it, and keeps the formatting staff set by hand. With debt collection marking each job paid or unpaid in the work order register, it replaces about a day a month of exporting, pasting and splitting invoices by hand.

Python · GitHub Actions · Azure Logic Apps · Microsoft Graph · Xero API

Live since October 2026

Office dashboard and system health

One homepage that links every dashboard in the business, from quotes to debt collection. A Performance page compares revenue from Xero with wages and overheads, the calculator’s Tracking view follows every quote across every service, and a System health page shows what the automation costs to run in Azure and Claude.

Python · Xero API · Microsoft Graph · Azure · 45 tests

Built October 2026

Records archive

When the firm’s SharePoint filled up and nothing could be saved, the CRM and debt register included, I traced where the space had gone: old job folders nobody had opened in a year, and hidden old versions of files. I wrote up the options and costs for management and built an archive that only removes a job from SharePoint once two copies have been checked against SharePoint’s own fingerprints. Its first run frees about a quarter of the firm’s storage. Together with some housekeeping and licence clean-up, the plan saves an estimated $1,100 to $1,500 a year compared with buying more space, and the saving grows each year.

Python · Microsoft Graph · Windows Task Scheduler

Also built: the CI/CD that tests every change, proves each image boots and records a rollback point before it deploys.

Problems worth solving

Claude reads, code calculates

A fee has to be right and explainable. Claude only extracts facts from the documents, through a fixed schema, and leaves a field blank rather than guess. The fee itself comes from plain, tested code that shows every step of the sum.

Checked against history

Before the new fee model went live, I back-tested it against past fees in the firm’s register. That showed pricing by the number of units alone was a weak predictor, so the model now prices the time each job actually takes.

No surprise reminders

Only invoices issued after go-live are ever chased, so no client got a reminder about an old debt out of the blue. An invoice found already weeks overdue goes to a person instead of getting a cheerful “friendly reminder”. If a date can’t be read, the invoice is left alone.

Exactly one reminder

The register is a spreadsheet people edit and leave open. Every send is logged the moment it succeeds, before the file is touched, so a locked or unsaved file can’t cause a second email. Uploads check the file hasn’t changed since it was read, so a manager’s edit is never overwritten.

Confirm before writing

When Claude changes a client record through the MCP server, the server returns a preview and a token tied to that exact change. Nothing is saved until a second call brings the token back. The server enforces this; it doesn’t rely on the model’s judgement.

When the scheduler is late

GitHub’s scheduler ran hours late and skipped whole days, so a small Azure Logic App now starts the sync and checks at 7:07am that it worked, rerunning it if not. Alerts went from six or eight emails on a bad morning to at most one a day.

Bringing the office along

Tools only save time if people use them. Alongside the build, I helped a team of surveyors and admin staff, most of whom don’t code, start using AI in their own work.

  • Weekly tutorials. I set up a weekly AI session for the office and co-ran the first: a hands-on Claude class covering the desktop app, the Excel, Word and PowerPoint add-ins, connectors and skills. Later sessions cover using the CRM through Claude and the fee calculator.
  • Practice on fake data. The exercises use documents for a made-up building with mistakes hidden on purpose, so people learn to check Claude’s work before trusting it, without touching client data.
  • A short guide to Claude at Archi-QS. The ground rules (use the firm’s account, never paste passwords or client financials, check numbers before they reach a client), how to ask for what you want, and when to start a new chat.
  • Procedures in Notion. Each system I built has a procedure in the firm’s Notion, written so anyone in the office can follow it, so the firm isn’t relying on one person to keep things running.

How I work

I build with Claude Code, which makes the guardrails matter more, not less.

  • Skills run the steps, code does the maths. Claude Code skills hold the procedure for each job. Every number and rule lives in tested Python.
  • Dry run by default. Anything that sends email or writes to a live system has to be switched on deliberately, and sending can be turned off without a redeploy.
  • A person in the loop. Proposals and invoices stay drafts until someone sends them. My first quoting tool replied to clients on its own; I rebuilt it as a tool a person drives, and the one unattended step left, automatic follow-ups, ships switched off.
  • Tested before it ships. More than 2,000 automated tests cover the systems I built, and deploys of the main platform wait for them to pass.