Templates / Analyze invoices and predict cash flow with Gemini, Google Sheets, Gmail, and Slack

Analyze invoices and predict cash flow with Gemini, Google Sheets, Gmail, and Slack

Ready for 3.0

by Oka Hironobu ✓ · 28 views · created 2026-02-16 · 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 AI workflow has 11 nodes and runs when someone submits an n8n form. Along the way it connects Google Gemini Chat Model, Google Sheets, Slack and Gmail.

How it runs

Trigger: When someone submits an n8n form.

  1. Process Invoice Data (Code): runs custom JavaScript code
  2. AI Invoice Analyzer (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  3. Parse AI Response (Code): runs custom JavaScript code
  4. Fraud Risk Check (If): checks a condition and branches into true / false
  5. Send Alert (Slack): uses Slack
  6. Log to Financial Database (Google Sheets): uses Google Sheets
  7. Cash Flow Predictor (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  8. Send Financial Report (Gmail): uses Gmail

Services it uses

Google Gemini Chat ModelGoogle SheetsSlackGmail

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.

Nodes used (8)

From the author

Analyze invoices and predict cash flow with Gmail, Google Sheets, and Gemini AI What this workflow does This workflow automates invoice processing and cash flow prediction by combining Google Gemini AI with form-based invoice capture, fraud detection, and…

Excerpt from Oka Hironobu'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.