Templates / Rename Japan e-bookkeeping receipts and invoices with Gemini and Google Drive

Rename Japan e-bookkeeping receipts and invoices with Gemini and Google Drive

Ready for 3.0

by 池田 誠 ✓ · 8 views · created 2026-07-06 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Folder Configurations (Edit Fields (Set)): sets 4 fields: inputFolderId, outputFolderId, skipFolderId…
  2. Retrieve Input Folder Files (Google Drive): work with file folder
  3. Process Files Individually (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Download from Google Drive (Google Drive): download
  5. Encode File and Detect MIME (Code): runs custom JavaScript code
  6. Check Supported File Type (If): checks a condition and branches into true / false
  7. Send to Gemini for OCR (HTTP Request): calls an HTTP API (POST)
  8. Copy to Manual Review Folder (Google Drive): copy
  9. Generate Compliant Filename (Code): runs custom JavaScript code
  10. Validate Single Document Status (If): checks a condition and branches into true / false

…plus 1 more step. See the full node list below.

Services it uses

Google Drive

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

Quick overview Helps Japanese businesses digitizing paper invoices and receipts under Japan's Electronic Bookkeeping Act. Files in a Google Drive INPUT folder are read with Google Gemini OCR, then copied to OUTPUT with a compliant searchable filename…

Excerpt from 池田 誠's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.