Check Japanese invoices against the NTA qualified invoice registry with Gemini and Slack approval
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs when someone submits an n8n form (“Check invoices”) (plus 1 other trigger). Along the way it connects Google Gemini and Slack.
How it runs
Trigger: When someone submits an n8n form (“Check invoices”) (plus 1 other trigger).
- Config (Edit Fields (Set)): sets 5 fields: api_base, max_files, tax_tolerance_yen…
- From Form? (If): checks a condition and branches into true / false
- Split Files (Code): runs custom JavaScript code
- Load Accepted Checks (Data table): get
- Read Invoice (Google Gemini): analyze (document)
- Group Suppliers (Code): runs custom JavaScript code
- Check Fields (Code): runs custom JavaScript code
- Look Up Current Status (HTTP Request): calls an HTTP API
- Valid Number? (If): checks a condition and branches into true / false
- Find Changes (Code): runs custom JavaScript code
…plus 13 more steps. See the full node list below.
Services it uses
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 (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Data table
n8n-nodes-base.dataTable - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow reads Japanese invoices with Gemini, checks the required fields and the tax for each rate, and looks up the seller’s registration number in the National Tax Agency qualified invoice registry on the invoice date. An accountant…