New: the AI firewall watches every module and explains each incident in plain words. See how it works

Flows

How flows relate to alarm rules and the Rules card, what the root flow does for alarms, and where to read about flows in depth.

A flow is a chain of blocks: a trigger starts it, and blocks check, transform, store and act. Flows are the most flexible of the three automation tools. You build them in Automation. This page shows how flows fit with alarms and rules; the full guide is the Flows section.

Where flows meet alarms and rules

SituationWhat happens
Every device messageThe root flow saves telemetry and client attributes, then its Alarm rules block evaluates the alarm rules of the device’s profile. Without that block, no profile alarm rule runs.
A Rules-card ruleRuns as a flow owned by the rule, shown with a Rules badge and opened read-only.
You need more than a rule can doDetach into an ordinary flow turns the rule’s flow into an ordinary flow (cannot be undone).
Logic an alarm rule cannot expressA flow raises, clears and acknowledges alarms with the Raise alarm, Clear alarm and Acknowledge alarm blocks. These alarms behave exactly like rule alarms: one per device and type, the same notifications, throttle and storm guard.
Reacting to alarmsAn alarm change enters the flows as a message of type alarm, so a flow can route, enrich or forward it.

Warning

Only flows store data. If you remove the save steps or the Alarm rules block from a root flow, readings are no longer stored or alarm rules no longer run for the devices it serves.

Read more

TopicPage
What flows are, and how they relate to the Rules cardFlows
The editor: canvas, palette, block settings, deployThe flow editor
The IoT and General hosts, the root flow, profile root flowsHosts, the root flow and profile root flows
Versions, the test runner and rollbackVersions, testing and rollback
Auto-pause, emergency stop, failed messages and replayProtections and failed messages
Alarm, command and notify blocksAlarm, command and notify blocks
Ready flowsFlow cookbook
When a flow misbehavesTroubleshooting flows