Docs
Steps

Set variable

Remember a value, a count or a time for later runs

Then step — What happens. Step type then-set-variable.

How it works

Remembers a value for later runs: set it, add to or subtract from it, store the current time, copy a device state or attribute, or forget it. Shared variables are visible to other flows.

Example

Device changes (Front door opened) → Set variable (doorCount + 1) → Variable is (doorCount above 10) → Send notification

Counts openings and alerts after the tenth.

Options

OptionKeyKindRequiredNotes
Variablenamevariableyes—
Doopselectyesoptions: set, increment, decrement, now, from-state, from-attribute, clear
Valuevaluetextyesshown when op is set
By (default 1)valuenumbernoshown when op is increment / decrement
DeviceentityIdentityyesshown when op is from-state / from-attribute
Attributeattributeattributeyesshown when op is from-attribute
Shared with other flowssharedbooleanno—

Wire format

What the step stores in the flow definition's data bag (JSON schema).

Generated from docs-bundle v0.1.0, novon-platform 9ce3486c (2026-10-09).

On this page