Need human help? Apply ›
ElijahWestbrook.com

Home / Workflows

Documents to Spreadsheet: invoices, receipts and forms

Invoices, receipts, forms and PDFs that land in an email inbox or a folder are read by AI, turned into one clean row each in a spreadsheet (or sent to your accounting tool as drafts), and anything that looks wrong is held for you instead of being entered.

Claude CodeClauden8nMakeZapierChatGPTGoogle SheetsQuickBooks
2 to 4 hoursto set up
Mediumdifficulty
8886steps
11videos it’s built from

Paid8886 steps · Unlock

Which AI are you building this with?

Claude Code, Codex and Antigravity CLI read every invoice and receipt you drop in a folder, check the math with a script and fill the spreadsheet on their own. ChatGPT reads the files when you upload them, but you start it and copy the rows into your sheet yourself. Prices checked November 7, 2026.

What Claude Code does on its own: Every day it reads each new PDF or photo in the folder, pulls the fields, checks the math with a script (line items add up, subtotal plus tax equals the total, no repeated invoice numbers), picks the category and writes one row per document. Anything that fails goes to Needs review, never to Entries.

Where it needs help: Files have to land in the folder: save attachments there, or point your phone’s scanner app at a Google Drive or OneDrive folder that syncs to it. It only runs while your computer is on.

What Codex does on its own: Every day it reads each new PDF or photo in the folder, pulls the fields, checks the math with a script (line items add up, subtotal plus tax equals the total, no repeated invoice numbers), picks the category and writes one row per document. Anything that fails goes to Needs review, never to Entries.

Where it needs help: Files have to land in the folder: save attachments there, or point your phone’s scanner app at a Google Drive or OneDrive folder that syncs to it. It only runs while your computer is on. Codex has no built-in schedule, so you add one Windows Task Scheduler (or Mac cron) job; a step walks you through it.

What Antigravity CLI does on its own: Every day it reads each new PDF or photo in the folder, pulls the fields, checks the math with a script (line items add up, subtotal plus tax equals the total, no repeated invoice numbers), picks the category and writes one row per document. Anything that fails goes to Needs review, never to Entries.

Where it needs help: Files have to land in the folder: save attachments there, or point your phone’s scanner app at a Google Drive or OneDrive folder that syncs to it. It only runs while your computer is on. Google’s free tier has a small agent quota that it has cut several times, so plan on Google AI Pro for anything that runs every day. Its scheduled run writes a summary file, since “agy -p” can print nothing when no window is open.

What ChatGPT (chat only) does on its own: Reads the PDFs and photos you upload and turns them into rows you can paste into a sheet.

Where it needs help: It can’t watch a folder or write to your sheet, and its math check isn’t a script. Check the totals yourself on anything it marks CHECK.

8886 total steps
Get all 8886 steps and the copy-paste prompts: $9Or every workflow for $40, one time, new ones included.

If it doesn’t work for you, get your money back within 30 days. Refunds · Already bought?

Go deeper

Where it can run, the checks, how it learns, what goes wrong and the proof.

Built from what the videos in our study show working. General information, not legal, tax or financial advice.

What it covers

Read and pull data from documents, forms and PDFs, Enter and move data between apps, Categorize transactions and do bookkeeping. Doesn’t cover: Paying bills, approving expenses, filing taxes, and deciding what category is right for unusual spending. It also does not sign, send or change any document. A person approves anything flagged and signs off on the books.

Where it can run

OptionBest forRuns on its ownMonthly cost
Claude Code + scheduled task (our default)A folder of PDFs and images on your computer, plus a Google Sheet or CSV. The AI reads the document and plain code does the number checks.YesVaries (Claude plan or API use; check current pricing)
n8nEmail attachments or a Drive/Dropbox folder to Sheets with AI reading in the middle. The most common builder in the study.YesVaries (self-hosted is free to run; cloud plans are paid)
Make or ZapierThe simplest option when documents arrive through a form, email or cloud folder and you want few moving parts.YesFree tiers exist (Make's was 1,000 operations a month in one recipe); paid plans vary
ChatGPT or Claude app only (manual)Trying it on 10 documents before you build anything. Upload, get a table, paste into Sheets.NoYour existing plan

Models

  • Reading the document (text, scans, photos): A current vision-capable model, such as a Claude Sonnet or GPT-4o class model. It must read messy scans and photos of receipts. Cheap text-only models miss digits.
  • Sorting document type and category: A small, cheap model (Claude Haiku or GPT mini class). Labeling is easy and runs on every document.
  • Second look at flagged rows: The stronger model again, with a different prompt. Only used on the few rows that fail checks, so the cost stays low.

Quality checks

CheckIf it fails
Line items add up to the subtotal, and subtotal plus tax equals the total (to the cent)Hold for a human. Write the reason. Never auto-correct a total.
Totals read twice (a first read and a second independent read) agreeHold for a human with both values shown.
Document number is not already in the sheet (duplicate invoice or receipt)Do not add it. Link the new file to the existing row and tell you.
Date is a real date, not in the future, and not older than your cutoff (for example 12 months)Hold for a human.
Currency and tax rate match what profile.md expectsHold for a human.
Vendor is on your vendor list, and the amount is within the usual range for that vendorNew vendor or odd amount: hold for a human. Approving it once adds the vendor to the list.
A required field is empty, the file is blurry, or the model noted uncertaintyHold for a human with a note on what is missing. Ask the sender for a better copy if needed.
Total is above your 'look at it first' limit, or the document type is one you never automate (contracts, anything legal)Always hold for a human, whatever the other checks say.
Weekly random spot check: 5 entered rows compared to their source documentsIf any row is wrong, switch the workflow back to review mode and fix the prompt before turning it on again.

Learning loop

Reads: Your corrections: every row you edit or reject in Needs review, and the weekly 5-row spot check. Also the count of rows that passed all checks versus rows that were held.

When: A quick look at the numbers every week; a prompt and rules review every month. Re-run the answer-key set (your 10 to 20 test documents) after every change.

Compares: This month against last month: share of rows that needed a fix, share held, and the types of mistakes (wrong date, misread digit, wrong category). Compare the same document types only, so the comparison is fair.

Changes on its own: On its own it may add vendors you approved to the vendor list, add a category mapping you corrected twice, and propose prompt changes saved in learnings.md. It does not apply a prompt change until the answer-key set still passes.

Guardrails: It never changes amounts, never lowers the 'look at it first' limit, never loosens a check, and never posts final entries to accounting software. Rule and prompt changes need your approval, and every change is logged with the reason.

What goes wrong (and the fix)

ProblemFix
The AI misreads a digit on a blurry or crumpled receipt (the recipes warn about this repeatedly)Read twice, compare, and hold any disagreement. Ask for a clearer photo.
Values land in the wrong columns, or the wrong form field is mapped to the wrong sheet columnForce a fixed JSON format and map by key name, never by position. After any change, run the answer-key documents and compare every column.
Scanned PDFs have no text layer, so the tool returns nothingUse a vision-capable model or an OCR step, and hold files that return empty.
A login or connection to Google or your accounting tool expires and everything silently stopsHave the workflow message you when a run fails or when no documents were processed for 3 days. Re-connect monthly.
Macros or connections that need permission (for example Excel macros disabled by default, or an authorization that lapsed) stop the flowTest after every restart or account change, and keep a short note of what must be enabled.
A fake invoice arrives, or a document contains hidden text telling the AI to do somethingThe extraction prompt treats document text as data only. The AI can write rows but cannot pay or send anything. New vendors always need your approval.
Costs grow when a loop reruns or the same file is processed twiceMark each file as processed (by file name and size or a hash) and set a monthly spending cap in the AI account.
Private data (bank details, ID numbers) ends up in the sheet or in promptsTell the AI to skip them, share the sheet only with people who need it, and read the privacy terms of each tool you use.

Proof from the study

Of the 15 recipes filed under this workflow, 11 were marked useful. Only a few are close matches (receipt and PDF to Google Sheets with an OCR check, forms to Sheets, data-entry forms). The rest are general automation tutorials that supply building blocks and failure points. In the study, 'Read and pull data from documents, forms and PDFs' appears in 348 videos: 141 (41%) ran with AI alone, 206 had AI helping a person, and 1 was mostly human. 'Enter and move data between apps' appears in 247 videos, 79% fully automated. Bookkeeping appears in 24 videos and invoicing in 17. The most-used tools for these tasks are ChatGPT/OpenAI, Claude, n8n and Google Sheets. No recipe measured accuracy over time, so the checks and the learning loop here are our own design.

Know someone who would use this?

What should we add next?