Govern energy portfolios with GPT-4o, Perplexity, Slack, Gmail and Sheets
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model, HTTP Request, Perplexity and Google Sheets and 2 more.
How it runs
Trigger: On a schedule (every hour).
- Fetch Weather Data (HTTP Request): calls an HTTP API
- Fetch Energy Demand (HTTP Request): calls an HTTP API
- Fetch Renewable Generation (HTTP Request): calls an HTTP API
- Combine Energy Data (Merge): merges the data from its input branches
- Energy Governance Agent (AI Agent): runs an AI agent, with model: Governance Model; 7 tools (Energy Calculator, External Data API Tool, Weather Analysis Agent, Policy Compliance Agent…); output parser: Structured KPI Output
- Prepare Sheet Data (Edit Fields (Set)): sets 8 fields: timestamp, renewablePercentage, nonRenewablePercentage…
- Send Sustainability Alert (Slack): uses Slack
- Email Performance Dashboard (Gmail): uses Gmail
- Store Energy KPIs (Google Sheets): append
Services it uses
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 (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Http Request Tool
n8n-nodes-base.httpRequestTool - Perplexity Tool
n8n-nodes-base.perplexityTool - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Edit Fields (Set)
n8n-nodes-base.set
From the author
How It Works This workflow automates energy portfolio governance for energy managers, sustainability teams, and policy compliance officers. It eliminates the manual effort of aggregating multi-source energy data, applying forecasting and optimisation logic,…