- Receipts in Gmail
- Extract line items
- Match to headcount
Monthly SaaS spend review that flags unused seats
Pull every software receipt from Gmail into a sheet, match it to active users, and get a list of seats and tools you can cancel.
An n8n flow that pulls labeled Gmail invoices, extracts PDF text, and writes vendor, date, and amount to a sheet.
“Automated invoice PDF extraction from Gmail into a spreadsheet” is an intermediate Finance AI agent workflow from Any. It connects n8n, Gmail and Google Sheets in 5 steps. Setup takes about Not stated and running costs are about Not stated.
Manually retyping invoice PDFs into a spreadsheet is slow and error-prone. A first attempt at automating it with an n8n flow worked for text-based PDFs but silently wrote empty rows for scanned invoices with no text layer, reporting success while producing bad data. The fix was to detect blank extractions and flag them before writing.
Create a Gmail label for invoices and apply it to incoming invoice emails. The n8n flow triggers on messages carrying that label so only relevant attachments are processed.
Add a step that downloads the PDF attachment and runs text extraction on it. This produces the raw text the parser will read for vendor, date, and amount.
Use a parser step to pull the three fields out of the extracted text. Keep the parsing rules explicit so the output maps cleanly to spreadsheet columns.
Check whether the parsed fields are blank. If the extraction came back empty, mark the row as needing review instead of writing it as a normal entry, so scanned invoices without a text layer do not silently produce empty rows.
Append the parsed vendor, date, and amount to the spreadsheet, and route flagged rows to a separate review path so they can be handled manually.
Build an n8n workflow that watches a Gmail label called [INVOICE LABEL], downloads PDF attachments, extracts their text, and parses vendor, date, and amount. Write the parsed fields to [SPREADSHEET NAME] using Google Sheets. Before writing, check whether the parsed fields are empty; if they are, mark the row as needing review rather than writing a normal entry. Log each run so I can see which invoices were flagged. Use only the Gmail, Google Sheets, and PDF extraction nodes available in n8n, and show me the node layout before building.
Given extracted invoice text, write parsing rules that identify vendor name, invoice date, and total amount. Handle common label variations such as invoice date versus date issued, and total versus amount due. Return the three fields as structured output. If any field cannot be found, return it as blank rather than guessing, so the workflow can flag the row for review. Show the rules as a short list I can paste into an n8n parser step.
An n8n flow that pulls labeled Gmail invoices, extracts PDF text, and writes vendor, date, and amount to a sheet.
You need n8n, Gmail and Google Sheets.
Plan for about Not stated. It is rated intermediate. The guide walks through 5 steps, starting with “Label invoices in Gmail”.
Expect about Not stated in running costs (Under $25/mo range).
Manually retyping invoice PDFs into a spreadsheet is slow and error-prone. A first attempt at automating it with an n8n flow worked for text-based PDFs but silently wrote empty rows for scanned invoices with no text layer, reporting success while producing bad data. The fix was to detect blank extractions and flag them before writing.
Pull every software receipt from Gmail into a sheet, match it to active users, and get a list of seats and tools you can cancel.
Zapier sends each new bank transaction to ChatGPT, which matches it to the right open invoice or bill in QuickBooks and flags anything unclear.
Each month, find posts whose search clicks dropped, research what changed with Perplexity, and get a Claude-written refresh brief for each one.
Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges