Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library asset reference

Compose alert

Creates a typed warning from a device reading.

23 Oct 2026 · 2 min read
Markdown ↗JSON ↗

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#

FieldValue
Source keyapp.core.demo.alert
Kindnode
Familyapp-core
PackSee library discovery

Integration guide · Browse the catalog

Inputs#

Socket IDLabelTypeRequiredMeaning
execExecutecontrolNo
readingReadingtype.device-readingYes

Outputs#

Socket IDLabelTypeRequiredMeaning
nextNextcontrolNo
alertAlerttype.alertNo

Configuration schema#

json
{}

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.mjs
  • shared/seed.ts
  • shared/storage-library.ts
  • shared/variable-library.ts
  • shared/control-flow.ts
  • shared/remote-routes.ts
  • server/runtime-library.ts
  • shared/error-library.ts
  • shared/storage-model.ts
  • shared/builtin-documentation.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗