Split, rename and file a batch of scanned invoices
Turn a stack of scanned invoices into separate, renamed, filed documents with a summary spreadsheet.
What the agent did
Source-reported example · as described by Ilya (@IlyaPion)
A steel trader in Germany scanned almost 200 invoices and had Claude Cowork split them into separate files, rename them, sort them into folders and create a summary Excel file.
He describes it as "a pretty good afternoon" of admin and audit work, with no error rate or time comparison.
Limitations
This is a short reply on X. It doesn't say how the files were named, how accurate the split was, or whether anything had to be fixed by hand.
Try it in your business
What you'll need
Claude Cowork with access to a folder of scanned invoice PDFs, and Excel or another spreadsheet app. The prompt used and any checking steps are not disclosed.
Starting prompt
The author didn't publish their prompt, so this is our adaptation.
How ours differs from the original setup: Adds a naming pattern, an unreadable-pages list and work-on-copies; the author didn't describe these.
In [folder] there are scanned invoices, some with several invoices in one PDF. Split them into one file per invoice, rename each as YYYY-MM-DD_vendor_invoice-number, and sort them into folders by [month or vendor]. Create a summary spreadsheet with date, vendor, invoice number, amount and file name, and list any pages you couldn't read. Work on copies and keep the originals unchanged.
Replace the [bracketed] parts with your own files and tools.
Get examples like this every Tuesday and Friday
Practical ways to put AI agents to work in your business. We check the original sources, explain the setup and point out the limits. Free.
Unsubscribe any time. Privacy policy
Related use cases
Calculate monthly truck mileage from your calendar and match it to gas receipts
Have Claude Cowork use your calendar to work out a month's mileage for two work trucks, match it against your gas receipts and flag what does not line up for your review.
Our suggested starting prompt — not the author's original · untested
You'll need: Claude Cowork (the author's setup) with access to your calendar and to the email address or folder where gas receipts arrive; a consistent calendar convention (client site, and which vehicle, on every entry); your own rules for what to flag; your own review of every flagged mismatch before the figures are used.
Help me prepare my mileage and fuel log for [month]. Use my calendar for that month: each client visit should show the client site and, in [the title or notes], which vehicle I used ([Truck A or Truck B]). Look at the gas receipts in [the mailbox or folder where they arrive]. For each visit, work out the miles driven from [my starting address] and show how you worked out the distance. Then match each gas receipt to a vehicle and a date. Give me a table with date, client site, vehicle, miles and matched receipt(s). Do not guess. In a separate list, show every entry with no vehicle or an unclear location, every receipt that does not match a trip, and any gap or overlap, and say what is missing. Do not change my calendar, email or files; give me the table and the list to review.
Sort incoming documents into tasks or reference
Keep incoming documents and notes from piling up by having each one turned into a task or filed for reference.
Our suggested starting prompt — not the author's original · untested
You'll need: An always-on OpenClaw installation, a task board the agent can read and write (the author built her own dashboard), scheduled jobs and an approval step. The model, prompts, cost and how the board was connected are not disclosed.
Check [inbox folder] for new documents and notes. For each, decide: is it an action item or reference? Turn action items into tasks on my board with a due date if one is mentioned; file reference items into [folders] by topic. List what you did and anything you weren't sure about. Don't delete anything.
Get a daily brief from your own priorities
Start each day with a brief built from the priorities and scheduled work you've already chosen.
Our suggested starting prompt — not the author's original · untested
You'll need: The original setup uses an always-on OpenClaw installation, a custom task dashboard, and scheduled jobs. The briefing instructions, model, integration code, and costs are not supplied. Using an existing task tool would require a working connection to it.
Each weekday at 7 a.m., read my task board and scheduled work. Prepare a short brief with my top three priorities, today's deadlines, and items waiting for my input. Include links to the relevant tasks. Base priorities on the information already recorded, and flag conflicts or missing information. Leave my tasks unchanged.

