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.
- 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.
Related agent uses
Use Claude Code for a year-end bookkeeping checklist
A company owner had Claude Code gather records, answer a 37-item accountant checklist, and identify the source of a £5,000 bookkeeping gap.
Audit QuickBooks entries without closing the books
Claude Code inspected a test QuickBooks file, checked for unreconciled transactions, and would not close the month without bank statements.
Run department agents with guarded access and memory
This setup lets Claude Code and Codex work as ongoing department agents with approvals, schedules, and shared memory.
Build your own store tools instead of buying SaaS
A store owner used Claude Code to replace several ecommerce subscriptions with custom support, reporting, and automation tools.
Organize teacher materials in Claude Code
Claude Code can hold a teacher’s class details and preferences, then draft lessons, reports, emails, and rubrics from that setup.
Set up scheduled Cowork tasks for routine work
A writer used Claude Cowork to run six recurring tasks on a schedule, from briefings and cleanup to reporting and price tracking.