Templates / Automated invoice processing & filing with IMAP, AI, Google Drive & DateV

Automated invoice processing & filing with IMAP, AI, Google Drive & DateV

Unknown

by Jan Zaiser · 1,389 views · created 2025-10-09 · Invoice Processing, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 16 nodes and runs when a new email arrives over IMAP. Along the way it connects OpenAI, Google Drive, Google Sheets and Imap (community).

How it runs

Trigger: When a new email arrives over IMAP.

  1. Code: runs custom JavaScript code
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Upload file (Google Drive): uses Google Drive
  4. Search Month Folder (Google Drive): work with file folder
  5. Download file (Google Drive): download
  6. Extract From PDF (Extract from File): extracts data from a file (pdf)
  7. Extract & Format Data (OpenAI): uses OpenAI
  8. Get Additional Date Data (Code): runs custom JavaScript code
  9. Google Sheets: append
  10. Download file (Google Drive): download

…plus 5 more steps. See the full node list below.

Services it uses

OpenAIGoogle DriveGoogle SheetsImap (community)

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-imap is verified or supports 3.0 (used in MoveEmail email).
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 (9)

From the author

This n8n template demonstrates how to automatically process incoming invoice emails using AI to extract structured data, organize files in Google Drive, log everything in Google Sheets, and forward to your accounting system, completely hands-free. Use cases…

Excerpt from Jan Zaiser'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.