Check vendor statements against a Google Sheets ledger and email a summary
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs when someone submits an n8n form (“Vendor statement check”). Along the way it connects Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Vendor statement check”).
- Settings (Edit Fields (Set)): sets 16 fields: ledgerSheetId, ledgerTab, reconTab…
- Read The Ledger (Google Sheets): read
- Take The Uploaded File (Code): runs custom JavaScript code
- Mark Ledger Rows (Edit Fields (Set)): sets 1 field: source
- Which File Type? (Switch): routes items into 2 branches
- Join Statement And Ledger (Merge): merges the data from its input branches
- Read The Statement (CSV) (Extract from File): extracts data from a file (csv)
- Read The Statement (Excel) (Extract from File): extracts data from a file (xlsx)
- Explain The Problem (Code): runs custom JavaScript code
- Normalise Both Sides (Code): runs custom JavaScript code
…plus 14 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - Merge
n8n-nodes-base.merge - Compare Datasets
n8n-nodes-base.compareDatasets - Stop and Error
n8n-nodes-base.stopAndError - Gmail
n8n-nodes-base.gmail - n8n Form
n8n-nodes-base.form
From the author
Quick overview A monthly accounts-payable check: upload a supplier's statement and each invoice on it is matched to your Google Sheets ledger by invoice number and amount. Every invoice gets one of four results, written to a Reconciliation tab and emailed to…