Templates / Detect smart meter anomalies and route critical alerts via HTTP API

Detect smart meter anomalies and route critical alerts via HTTP API

Ready for 3.0

by Oneclick AI Squad ✓ · 19 views · created 2026-08-20 · Engineering, AI Summarization

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 workflow has 13 nodes and runs on a schedule (cron 0 * * * *) (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: On a schedule (cron 0 * * * *) (plus 1 other trigger).

  1. Set Configuration Parameters (Edit Fields (Set)): sets 10 fields: meterApiUrl, meterGroupId, lookbackHours…
  2. Fetch Smart Meter Readings (HTTP Request): calls an HTTP API
  3. Wait: pauses before continuing
  4. Analyze Consumption Patterns (Code): runs custom JavaScript code
  5. If: checks a condition and branches into true / false
  6. Classify Anomaly & Build Alert Payload (Code): runs custom JavaScript code
  7. No Anomaly - No Action (Edit Fields (Set)): sets 1 field: note
  8. If: checks a condition and branches into true / false
  9. Wait: pauses before continuing
  10. Prepare Standard Alert Log (Edit Fields (Set)): sets 2 fields: dispatchChannel, readyForDispatch

…plus 1 more step. See the full node list below.

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 (7)

From the author

Quick overview This workflow runs hourly (or manually) to pull recent smart meter readings from a metering API, detect abnormal consumption patterns (spikes, drops, leakage, and stuck meters), and prepare either a critical escalation payload or a standard log…

Excerpt from Oneclick AI Squad'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.