Conditional Message icon

Conditional Message

Conditional node with message display - combines If, Switch and Notice functionality

Conditional Message

AI-generated

Summary

Evaluate one or two user-defined conditions on string or numeric values using a variety of comparison operators, optionally combine these conditions with AND/OR logic, and route items based on the combined result while annotating them with conditional messages.

Inputs

  • Condition 1 (required) — Set the first condition by providing Value 1 and an Operator (e.g., equal, contains, greaterThan). For operators other than 'isEmpty', 'isNotEmpty', 'filter', and 'select', you must also provide Value 2 or a filter string if operator is 'filter'.
  • Use Second Condition — Enable to evaluate a second condition in addition to the first, allowing more complex logic.
  • Condition 2 — When enabled, configure the second condition with Value 1, an Operator, and Value 2 or filter string similarly to Condition 1.
  • Combine Conditions — When using a second condition, choose how to combine both conditions' results: 'AND' requires both to be true, 'OR' requires at least one to be true.

Output shape

Two output streams named 'True' and 'False' routing items whose combined condition evaluation passes or fails, respectively.

Each output item contains the original data plus a 'conditionalMessage' JSON property detailing overallResult (boolean), messages array for each condition with titles, bodies, and types, counts of total and met conditions, combining logic, timestamps, and individual condition results for diagnostics.

Links

Discussion