Compose alert
Creates a typed warning from a device reading.
Compose alert#
Constructs a typed warning from a Device reading. It always produces the same alert category; it does not evaluate a threshold, send a message or choose severity from input.
Sockets and configuration#
- exec (control): optional branch gate.
- reading (Device reading custom type, required): validated source measurement.
- alert (Alert custom type): composed object.
- next (control): automatic success route.
- No asset-specific configuration schema.
The output title is Demand threshold exceeded, severity is warning, message is <deviceId> is drawing <value> <unit>, and deviceId is copied. The reading's timestamp is omitted because the Alert schema does not declare it. All readings passed to this node produce an alert, including normal/negative/zero values; policy belongs upstream.
Example#
Use a Condition with operator greater and compare 80. Wire True to this node's Execute and the normalized reading to its reading socket. Input {"deviceId":"meter-example","value":95,"unit":"kW","timestamp":"2026-01-01T12:00:00.000Z"} produces a warning message meter-example is drawing 95 kW. Route alert to Workflow output or a separately authored notification/API node.
Boundaries#
A data wire alone orders execution but does not gate it by threshold; wire the appropriate control route. A missing/invalid required reading fails input validation, and an unselected control branch skips. Custom input/output type versions are pinned by publication. The body has no logging, secret access, state writes or external calls. The composed message/device identity are retained data, so use fictional examples and avoid exposing unnecessary customer information.
Catalog identity#
| Field | Value |
|---|---|
| Source key | app.core.demo.alert |
| Kind | node |
| Family | app-core |
| Pack | See library discovery |
Integration guide · Browse the catalog
Inputs#
| Socket ID | Label | Type | Required | Meaning |
|---|---|---|---|---|
exec | Execute | control | No | |
reading | Reading | type.device-reading | Yes |
Outputs#
| Socket ID | Label | Type | Required | Meaning |
|---|---|---|---|---|
next | Next | control | No | |
alert | Alert | type.alert | No |
Configuration schema#
{}Source and installed versions#
This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See versioning, connections and integration setup.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
../OpenNodeFlow-Library/work/catalog-all.mjs../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjsshared/seed.tsshared/storage-library.tsshared/variable-library.tsshared/control-flow.tsshared/remote-routes.tsserver/runtime-library.tsshared/error-library.tsshared/storage-model.tsshared/builtin-documentation.ts