Email authorized Xero invoices to clients automatically
A poster builds a Claude Code workflow that watches for a Xero invoice moving from draft to authorized, saves the PDF, and emails it to the client. ·
Done withClaude CodeClaude Cowork
- What they did
- In the comments, one poster says they were using Claude Code to build a workflow around Xero invoice authorization. When a bookkeeper clicked Authorised on the Xero invoice page, that click triggered saving the invoice PDF into a database Claude Code had set up and could access, and the PDF was then emailed to the client as an attachment.
- How it went
- They say the setup was very efficient for a bakery client and not achievable through the normal routes. They also stress it was still a work in progress and that bad prompts or workflow design could send every client invoice at once or keep resending the same email.
- Worth knowing
- The main catch they call out is safety: client-facing automations in Claude Code can go very wrong without careful prompt and workflow design.
Try it yourself with Claude Code
Build me a workflow that checks my Xero account every [15 minutes] for invoices that have just moved from draft to authorized. For each one, download the invoice PDF, save it to [folder path], and write an email to the client's contact address with a short friendly note and the PDF attached. Do not send any email yet: show me the draft and recipient for each invoice and wait for my approval, and stop once you've shown me a working run on [one test invoice].
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Jun 1, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Plan meals and track symptoms with Claude Code
Claude Code plans meals, tracks nutrition and analyzes symptoms, scraping recipe nutrition data via the USDA API and storing it.
Build a client database as a non-developer
A non-developer used Claude Code to build a client database with company, contact, email, status and monthly value fields.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Automate payroll tax and garnishment cheque processing
A payroll team built an agent to process tax and garnishment cheques, building missing tools when it hit a system limitation.
Custom agent
Hand inbox sorting to an AI agent
A PCWorld writer tried letting AI agents like Claude sort their email inbox, and the piece covers the risks of misfiling or deleting mail.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.