{"product_id":"scada-grid-frequency-anomaly-alerts-with-n8n-apis","title":"SCADA Grid Frequency Anomaly Alerts with n8n APIs","description":"\u003ch3\u003eDetect grid frequency anomalies fast—automatically calculate deviation \u0026amp; ROCOF by region and alert operators via n8n APIs\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors grid frequency readings every minute (or on-demand), computes frequency deviation and ROCOF per region, classifies severity (Normal, Watch, Warning, Critical), enriches anomalies with recent stability history, and then posts operator alerts and Critical incidents through dedicated APIs.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eRuns on schedule or manually:\u003c\/b\u003e executes every minute for continuous SCADA-style monitoring, or starts manually for testing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eUses configurable classification inputs:\u003c\/b\u003e sets API endpoints, region scope (regionId), nominal frequency, and deviation\/ROCOF thresholds used to classify events.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003ePulls recent telemetry and settles the batch:\u003c\/b\u003e fetches grid frequency readings from the telemetry API, then waits briefly to allow the telemetry batch to settle.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCalculates per-region metrics:\u003c\/b\u003e computes each region’s frequency deviation, rolling average, and \u003cb\u003eROCOF (rate-of-change of frequency)\u003c\/b\u003e, then classifies severity.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eEnriches non-Normal events:\u003c\/b\u003e for \u003cb\u003eWatch \/ Warning \/ Critical\u003c\/b\u003e regions, retrieves the last \u003cb\u003e6 hours\u003c\/b\u003e of stability events from the history API to help identify likely cause and recommended actions.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eNotifies operators:\u003c\/b\u003e sends a structured alert payload to an operator dashboard API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCreates incidents for Critical only:\u003c\/b\u003e opens a grid stability incident in the incident management API \u003ci\u003eonly\u003c\/i\u003e for Critical-tier alerts; otherwise it ends after dashboard notification.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eReal-time detection of grid frequency anomalies across multiple regions using SCADA telemetry.\u003c\/li\u003e\n  \u003cli\u003eOperator notification workflows that include recent stability history for better incident triage.\u003c\/li\u003e\n  \u003cli\u003eAutomated incident creation when frequency deviation\/ROCOF crosses Critical thresholds.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eNodes \/ logic:\u003c\/b\u003e Set, Code, Wait, Switch, Sticky Note, HTTP Request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAPI integrations:\u003c\/b\u003e grid telemetry API + history API (header auth), operator dashboard API + incident management API (basic auth).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eOutput behavior:\u003c\/b\u003e dashboard alerts for Normal\/Watch\/Warning\/Critical; incident management only for Critical events.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45830382321843,"sku":"N8N-18247","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/V_J4piSHyOYoGiGyjDk_V_UBuAKz32.png?v=1786698157","url":"https:\/\/buyflowscripts.com\/products\/scada-grid-frequency-anomaly-alerts-with-n8n-apis","provider":"N8N Commerce","version":"1.0","type":"link"}