Block 1 - DeepSeek Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatDeepSeek - lmChatDeepSeek
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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 perio...
@n8n/n8n-nodes-langchain.lmchatdeepseek, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by DuyTran.
Original n8n.io sourceDescription:
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 and summarize the results for business reporting.
Prerequisites A connected Google Sheets OAuth2 credential.
A valid DeepSeek AI API (or replaceable with another Chat Model).
A sub-workflow (child workflow) that handles processing logic.
Properly structured Google Sheets data (see below).
Required Google Sheet Structure Column headers must include at least: Date, Amount, Type.
Setup Steps Import the workflow into your n8n instance.
Connect your Google Sheets and DeepSeek API credentials.
Update:
Sheet ID and Tab Name (already embedded in node: Get revenual from google sheet).
Custom sub-workflow ID (in the Call n8n Workflow Tool node).
Optionally configure chatbot webhook in the When chat message received node.
Fetches raw transaction data from Google Sheets.
Segments and pivots revenue by classification for:
Current period
Last month
Last year
Aggregates totals and applies custom titles for comparison.
Merges all summaries into a final unified JSON report.
Change the date fields or cycle comparisons (e.g., quarterly, weekly).
Add more AI analysis steps such as sentiment scoring or forecasting.
Modify the pivot logic to suit specific KPI tags or labels.
If parsing errors: verify that all dates follow the expected format.
Sub-workflow must be active and configured to accept the correct inputs (6 dates).
More template: https://auton8n.pw/product_info.php?cPath=5&sort=1a&products_id=13
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate multi-period financial reports from Google Sheets with AI analysis |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | Document Extraction, AI Chatbot |
| Author | DuyTran |
| Published | 30 Jul 2025 |
Use the JSON export at /data/workflows/6679/6679.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 perio...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Chatbot use case.