
Invoice Router
An n8n sub-workflow that reads every financial email, extracts the numbers with AI and logs each record to the right company's books. Part of Gmail Secretary.
Challenge. Invoices and broker emails reach one inbox but belong to different ledgers: Nexa, Modm Tech, personal spending or my investment tracker. Copying amounts from PDFs by hand was slow and let the books drift from reality. Solution. A router splits emails into two lanes. In the investments lane, Claude extracts each Thndr trade into its own row, logs bonus shares as trades, and checks dividends to avoid duplicates. In the vendor lane, it reads the PDF and email, extracts vendor, date, amount and currency, and converts currency with a live FX rate. Nexa invoices go to Airtable with the file attached; Modm Tech invoices go to Google Drive and the finance sheet. For an unknown vendor, it asks me on Telegram once and learns the answer for next time. Stack. n8n on a VPS, Claude with structured output, Gmail, Airtable, Google Sheets, Google Drive, Telegram. Result. Every invoice and trade reaches the correct ledger within minutes, linked to its source file. The books stay current daily, not monthly.
Share
- Categories
- AI & AutomationsUncategorized
- Release Date
- 11/10/2026