Match Japanese bank transfers to invoices with Gemini, Google Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs when someone submits an n8n form (“Upload bank deposit CSV”). Along the way it connects Google Sheets, Slack and Google Gemini Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Upload bank deposit CSV”).
- Set configuration (Edit Fields (Set)): sets 9 fields: invoicesSheetUrl, depositLogSheetUrl, slackChannelId…
- Extract deposit CSV rows (Extract from File): extracts data from a file (csv)
- Parse deposit rows (Code): runs custom JavaScript code
- Has deposit rows? (If): checks a condition and branches into true / false
- Read deposit log (Google Sheets): uses Google Sheets
- Stop: no deposit rows (Stop and Error): stops the run with an error
- Drop already processed deposits (Code): runs custom JavaScript code
- Any new deposits? (If): checks a condition and branches into true / false
- Read open invoices (Google Sheets): uses Google Sheets
- Notify nothing new (Slack): uses Slack
…plus 14 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Slack templates (309)
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 (14)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Switch
n8n-nodes-base.switch - Split Out
n8n-nodes-base.splitOut - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow lets you upload a Japanese bank deposit CSV, matches credit transfers to open invoices in Google Sheets using kana normalization and rule-based logic, asks Google Gemini for suggestions on remaining deposits, then logs results…