Keep your spend records up to date without typing. The flow reads invoice and payment emails from Gmail and writes clean expense rows to Google Sheets. Finance teams and small business owners get fast visibility into daily costs and monthly bills.
Two Gmail triggers watch labeled inbox folders every minute. Emails get parsed in two ways. PDF invoices are opened and read, while payment alerts in HTML are scanned for each spend line. A Switch node routes emails with one charge, many charges, or invoices. The HTML path can split multiple line items using a CSS selector, then a Merge node brings email context back. AI models (Google Gemini and Groq) extract date, amount, service, currency, category, and card into a fixed schema. Parsed results append straight to Google Sheets.
You will need Gmail labels and filters, a Google Sheet with matching columns, and API keys for Google Gemini and Groq. Expect big time savings on reconciliation and more accurate records. Great for card spend alerts, vendor invoices, and receipt emails that show many charges in one message.