BOT ARCHIVE · UNVERIFIED

Email authorized Xero invoices to clients automatically

2026-11-23

About this use case

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.

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.

Prompt

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].

Reported outcome

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.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.