Templates / Detect campus energy leaks with Google Sheets, Google Calendar and Gemini

Detect campus energy leaks with Google Sheets, Google Calendar and Gemini

Needs changes

by iamvaar ✓ · 0 views · created 2026-11-08 · Engineering, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 21 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). Along the way it connects Google Sheets, Google Calendar, Slack and Google Gemini Chat Model. It also calls api.campus-bms-gateway.internal, api.open-meteo.com and api.maintainx.com over HTTP.

How it runs

Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).

  1. Merge: merges the data from its input branches
  2. Fetch Smart Meter Data (HTTP Request): calls api.campus-bms-gateway.internal
  3. Split Building Data (Split Out): splits a list into separate items
  4. Read Building Baseline from Sheets (Google Sheets): uses Google Sheets
  5. Get School Master Calendar (Google Calendar): get many
  6. Fetch Campus Weather Data (HTTP Request): calls api.open-meteo.com
  7. Set Schedule & Occupancy Fields (Edit Fields (Set)): sets 8 fields: building_id, building_name, is_weekend…
  8. Set Financial & Anomaly Fields (Edit Fields (Set)): sets 11 fields: weather_compensation_factor, dynamic_allowed_kw, current_kw…
  9. Filter: keeps only the items that match a condition
  10. Deduplicate Energy Alerts (Remove Duplicates): removes duplicate items

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

Services it uses

Google SheetsGoogle CalendarSlackGoogle Gemini Chat Model

HTTP calls to: api.campus-bms-gateway.internal, api.open-meteo.com, api.maintainx.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Energy Audit Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Energy Audit Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

Quick overview Youtube Video: https://www.youtube.com/shorts/vwW0553ZAJE This workflow monitors campus building power use by combining BMS telemetry with smart meter snapshots, Sheets baselines, Calendar occupancy signals, and local weather, then uses Gemini…

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