Automate Xero invoice emails after approval

A poster used Claude Code to watch Xero invoices, save each authorized PDF, and email it to the client automatically.

Done with Claude CodeClaude Cowork· Intermediate· Jun 2026

What they did
They built a Claude Code workflow around Xero invoice approval. When a bookkeeper clicked Authorised on an invoice, that event triggered the system to store the PDF in a database Claude Code could reach, then send the file to the client by email. They said Claude Cowork was part of the setup.
How it went
They described it as a very efficient fit for a bakery client, and said the same result would be hard to get through standard Xero routes. They also warned the workflow was still unfinished, and a poor prompt or bad design could blast every client with an invoice email or repeat the same message over and over.
Tips
Treat client-facing automations as risky until you have tight safeguards and a clear approval step. Test with one invoice first and confirm the recipient and attachment before anything is sent.

Try it yourself with Claude Code

Help me build a Claude Code workflow for my Xero account that watches for invoices changing from draft to authorised. When that happens, download the invoice PDF, save it to [folder or database], and prepare an email to [client contact field] with a short message and the PDF attached. Before any email is sent, pause and show me the recipient, subject, and attachment list for approval. Start with [one test invoice] and do not continue until I confirm the workflow is behaving correctly.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.