Extract invoice data and file it into a bookkeeping sheet
A self-hosted n8n workflow extracts accounting data from uploaded receipts and invoices with OpenAI, then after user review files the originals and appends data to a yearly sheet.
Done withn8n
- What they did
- Users upload an image or PDF through a web page to an n8n webhook, which looks up the user by token in Google Sheets. Images go to OpenAI vision. PDFs have their text extracted first, then analyzed. The model returns structured JSON (date, merchant, gross amount, VAT rate, category) for the user to review and edit. On save, the file goes into a Drive user/month folder, and the data is appended to a yearly sheet.
- How it went
- The source gives no accuracy or time-saving figures. It describes a working prototype with a demo video. The public repo holds sanitized exports that won't run until you configure your own credentials and IDs.
- Worth knowing
- You need your own OpenAI, Google Drive and Sheets OAuth credentials, a user lookup sheet, a base Drive folder and an n8n webhook domain. The token lookup is a prototype stand-in for real authentication.
Try it yourself with n8n
Build a self-hosted n8n workflow where I upload receipts or invoices to [folder or form], and OpenAI extracts vendor, date, totals, tax and invoice number. Show me the extracted data for review, then on approval file the original in [Drive folder] and append a row to my [year] bookkeeping sheet. It's done when a sample invoice flows through; do not file or write anything until I approve.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
2 more accounts of this
Source: github.com · Undated
Related use cases
Add todo items to Todoist from Telegram
A Telegram bot with an LLM and an orchestration platform (n8n or windmill) adds todos to the author's Todoist account from natural language messages.
Save and search links via a Telegram second brain
An n8n Telegram agent reads links sent to it, summarises and categorises them into Google Sheets, and answers questions from the library using Supabase semantic search.
Send travel checklists and welcome-back messages
An n8n workflow scans a travel agency's daily trip sheet and sends WhatsApp checklists 3 days before departure and welcome-back messages a day after return.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Automate payroll tax and garnishment cheque processing
A payroll team built an agent to process tax and garnishment cheques, building missing tools when it hit a system limitation.
Custom agent
Offload repetitive business operations tasks to Claude Cowork
A commenter says a company trained over 300 companies to use Claude Cowork for repetitive business operations tasks, with teams adopting paid plans.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.