Templates / Govern energy portfolios with GPT-4o, Perplexity, Slack, Gmail and Sheets

Govern energy portfolios with GPT-4o, Perplexity, Slack, Gmail and Sheets

Ready for 3.0

by Cheng Siong Chin ✓ · 54 views · created 2026-03-29 · Engineering, AI RAG

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-10-19.

What 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).

  1. Fetch Weather Data (HTTP Request): calls an HTTP API
  2. Fetch Energy Demand (HTTP Request): calls an HTTP API
  3. Fetch Renewable Generation (HTTP Request): calls an HTTP API
  4. Combine Energy Data (Merge): merges the data from its input branches
  5. 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
  6. Prepare Sheet Data (Edit Fields (Set)): sets 8 fields: timestamp, renewablePercentage, nonRenewablePercentage…
  7. Send Sustainability Alert (Slack): uses Slack
  8. Email Performance Dashboard (Gmail): uses Gmail
  9. Store Energy KPIs (Google Sheets): append

Services it uses

OpenAI Chat ModelHTTP RequestPerplexityGoogle SheetsSlackGmail

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)

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,…

Excerpt from Cheng Siong Chin'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.