Predict and Forecast HDB Flat Prices with GPT-4o and Google Sheets Analytics
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every month at 02:00). Along the way it connects OpenAI Chat Model and Google Sheets.
How it runs
Trigger: On a schedule (every month at 02:00).
- Workflow Configuration (Edit Fields (Set)): sets 6 fields: hdbApiBaseUrl, currentYear, historicalYear1…
- Fetch Current Year HDB Data (HTTP Request): calls an HTTP API
- Fetch Historical Data Year (HTTP Request): calls an HTTP API
- Fetch Historical Data Year (HTTP Request): calls an HTTP API
- Fetch Historical Data Year (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Data Cleaning and Normalization (Code): runs custom JavaScript code
- Statistical Pattern Mining (Code): runs custom JavaScript code
- Time Series Analysis (Code): runs custom JavaScript code
- Aggregate: combines items into one
…plus 3 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets
From the author
How It Works The workflow runs on a monthly trigger to collect both current-year and multi-year historical HDB data. Once fetched, all datasets are merged with aligned fields to produce a unified table. The system then applies cleaning and normalization rules…