Analyze invoices and predict cash flow with Gemini, Google Sheets, Gmail, and Slack
Ready for 3.0What 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.
- Process Invoice Data (Code): runs custom JavaScript code
- AI Invoice Analyzer (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Parse AI Response (Code): runs custom JavaScript code
- Fraud Risk Check (If): checks a condition and branches into true / false
- Send Alert (Slack): uses Slack
- Log to Financial Database (Google Sheets): uses Google Sheets
- Cash Flow Predictor (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Send Financial Report (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
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…