{"product_id":"n8n-smart-meter-anomaly-detection-workflow-http-api-alerts","title":"n8n Smart Meter Anomaly Detection Workflow (HTTP API Alerts)","description":"\u003ch3\u003eDetect smart meter anomalies and trigger HTTP API alerts automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow pulls recent smart meter readings on an hourly (or manual) run, detects abnormal consumption patterns like spikes, drops, leakage-like continuous off-hours flow, and “stuck” meters, then prepares structured alert payloads for downstream dispatch—sending critical alerts through a cooldown step and standard anomalies to logging.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSchedules hourly\u003c\/strong\u003e (cron) or supports a \u003cstrong\u003emanual test run\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses configurable inputs\u003c\/strong\u003e for the metering API URL, meter group ID, lookback window, and anomaly detection thresholds.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches readings\u003c\/strong\u003e from your smart meter API and waits briefly for aggregation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComputes per-meter baselines\u003c\/strong\u003e using mean and standard deviation, then evaluates anomalies such as:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eSpikes\u003c\/strong\u003e and \u003cstrong\u003edrops\u003c\/strong\u003e via thresholded z-score checks\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eOff-hours continuous flow\u003c\/strong\u003e (potential leakage pattern)\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eLow-variance “stuck” patterns\u003c\/strong\u003e indicating abnormal meter behavior\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAssigns an anomaly score\u003c\/strong\u003e, filters out meters with no detected issue, and outputs a \u003cstrong\u003eno-action note\u003c\/strong\u003e when appropriate.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies severity and category\u003c\/strong\u003e, then builds a structured alert payload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes critical anomalies\u003c\/strong\u003e through a \u003cstrong\u003ecooldown wait\u003c\/strong\u003e and marks them ready for critical dispatch; \u003cstrong\u003enon-critical anomalies\u003c\/strong\u003e are marked ready for standard logging.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSpotting sudden consumption spikes or drops across a meter group for utility or facility operations.\u003c\/li\u003e\n  \u003cli\u003eDetecting potential leakage through continuous off-hours usage patterns.\u003c\/li\u003e\n  \u003cli\u003eIdentifying “stuck” meters with low-variance readings to prioritize maintenance.\u003c\/li\u003e\n  \u003cli\u003eAutomating anomaly alerting from an HTTP-based metering API without manual review.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuth\u003c\/strong\u003e: configure an \u003cem\u003eHTTP Request\u003c\/em\u003e node with an HTTP Header Auth credential to your metering API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/logic\u003c\/strong\u003e: if, set, code, wait, sticky note, http request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore detection tuning\u003c\/strong\u003e: z-score limits, off-hours window, minimum flow, variance threshold, and critical score cutoff—set in the workflow configuration.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45872785391795,"sku":"N8N-18491","price":66.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/YORN5IKUsP9gLMCmXwsqs_G6ZCrdz1.png?v=1787216598","url":"https:\/\/buyflowscripts.com\/products\/n8n-smart-meter-anomaly-detection-workflow-http-api-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}