Templates / Generate multi-period financial reports from Google Sheets with AI analysis

Generate multi-period financial reports from Google Sheets with AI analysis

Ready for 3.0

by DuyTran ✓ · 1,155 views · created 2025-07-30 · Document Extraction, AI Chatbot

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 25 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects DeepSeek Chat Model and Google Sheets.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. AI Agent: runs an AI agent, with model: DeepSeek Chat Model; 1 tool (Call n8n Workflow Tool); memory: Window Buffer Memory
  2. Format Date (Edit Fields (Set)): sets or maps fields
  3. Get revenual from google sheet (Google Sheets): uses Google Sheets
  4. Format data current circle (Edit Fields (Set)): sets or maps fields
  5. Format data last circle (Edit Fields (Set)): sets or maps fields
  6. Format data last year circle (Edit Fields (Set)): sets or maps fields
  7. Pivot current circle (Code): runs custom JavaScript code
  8. Pivot last circle (Code): runs custom JavaScript code
  9. Pivot last year cirle (Code): runs custom JavaScript code
  10. Sum data current transfer month (Merge): merges the data from its input branches

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

Services it uses

DeepSeek Chat ModelGoogle Sheets

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 (11)

From the author

Description: 1. Overview This workflow generates automated revenue and expense comparison reports from a structured Google Sheet. It enables users to compare financial data across the current period, last month, and last year, then uses an AI agent to analyze…

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