File supplier invoice emails into Google Sheets using MailMint
UnknownWhat this workflow does
This workflow has 8 nodes and runs when a new email arrives over IMAP. Along the way it connects Google Sheets and Mailmint (community).
How it runs
Trigger: When a new email arrives over IMAP.
- Set your sheet and policy (Edit Fields (Set)): sets 4 fields: spreadsheet_id, sheet_name, expected_currency…
- Read the invoice fields (Mail Mint): parse
- Did MailMint answer? (If): checks a condition and branches into true / false
- Build a row that says review (Edit Fields (Set)): sets 10 fields: status, invoice_number, amount_due…
- Build the spreadsheet row (Code): runs custom JavaScript code
- Build a row that says error (Edit Fields (Set)): sets 3 fields: status, reason, subject
- Append the invoice to the sheet (Google Sheets): append
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-mailmint is verified or supports 3.0 (used in Read the invoice fields).
Nodes used (6)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Edit Fields (Set)
n8n-nodes-base.set - Mail Mint
n8n-nodes-mailmint.mailMint - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets
From the author
File invoice emails into a spreadsheet with MailMint Who's it for Anyone whose supplier invoices arrive as email and end up being retyped into a sheet by hand. This watches the mailbox, reads the fields out of each message, and appends one row per invoice —…