Data Monitor¶
A multipurpose node for visualizing, transforming, and forwarding data. It can either pass through incoming data (optionally converting it to a target type) or process manually entered text into a chosen output type. It also supports variable replacement using auxiliary inputs and renders a preview of the processed value.

Usage¶
Use this node to inspect and convert data flowing through your workflow, or to generate structured values from text. Typical patterns include: forwarding upstream values while converting them to STRING/INT/FLOAT/BOOLEAN/LIST/TUPLE/DICT/JSON; composing values with placeholders like %aux% using Aux inputs; or evaluating a simple expression via FORMULA. Place it at the end of a branch to visualize outputs or in-line to normalize data types before passing to other nodes.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| text | True | STRING | Manual input text to be processed when no Passthrough is supplied. Also serves as the displayed preview text. Supports placeholder replacement using Aux inputs. | Total: %aux% items |
| output_type | True | CHOICE | Controls how Passthrough/Text is converted before output. Options: ANY, STRING, INT, FLOAT, BOOLEAN, LIST, TUPLE, DICT, JSON, FORMULA. | JSON |
| passthrough | False | ANY | Optional incoming value to visualize and forward. When provided, this takes precedence over the Text field. Placeholders within string-like values can be replaced using Aux inputs. | User score: %aux% |
| aux | False | ANY | Auxiliary value used for placeholder replacement in Passthrough/Text. Replaces %aux% (case-insensitive). | 42 |
| aux2 | False | ANY | Auxiliary value used for placeholder replacement. Replaces %aux2% (case-insensitive). | beta |
| aux3 | False | ANY | Auxiliary value used for placeholder replacement. Replaces %aux3% (case-insensitive). | 3.14 |
| aux4 | False | ANY | Auxiliary value used for placeholder replacement. Replaces %aux4% (case-insensitive). | true |
| aux5 | False | ANY | Auxiliary value used for placeholder replacement. Replaces %aux5% (case-insensitive). | {"k":"v"} |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| output | ANY | The processed value after applying Output Type conversion to either Passthrough (if provided) or Text. Can be string, number, boolean, list, tuple, dict/JSON, or any original value when Output Type is ANY. | {"total": 42} |
Important Notes¶
- The node prioritizes Passthrough over Text: if Passthrough is provided, Text is only used as a visual representation and the output is derived from Passthrough.
- Placeholder replacement is case-insensitive and supports %aux%, %aux2%, %aux3%, %aux4%, and %aux5% within Passthrough/Text.
- Output Type behaviors: ANY forwards the value as-is; STRING casts to text; INT/FLOAT/BOOLEAN cast to numeric/boolean; LIST/TUPLE attempt to convert or wrap into sequences; DICT expects an iterable of key/value pairs; JSON parses a valid JSON string; FORMULA evaluates the string as a Python expression.
- JSON requires valid JSON (for example, keys in double quotes). Invalid JSON will cause a conversion error.
- FORMULA evaluation executes the expression from Text/Passthrough; only use simple, safe expressions you trust.
- When Passthrough is a scalar (e.g., number/boolean), the preview may appear encapsulated, but the actual output type matches the chosen Output Type.
Troubleshooting¶
- Conversion failed: Ensure the input is compatible with the selected Output Type. For example, INT/FLOAT require numeric text, and LIST/TUPLE require iterable-compatible content.
- Invalid JSON: Provide a properly formatted JSON string (e.g., {"key": "value"}) before selecting JSON as Output Type.
- DICT conversion not working: DICT expects an iterable of (key, value) pairs or a structure convertible to a dictionary. If starting from text, prefer JSON instead.
- Placeholders not replaced: Confirm you used %aux%, %aux2%, etc., exactly (case-insensitive). Ensure corresponding Aux inputs are connected or set.
- Unexpected output preview: Some scalar values may display as encapsulated in the preview; verify the actual output by inspecting downstream inputs.
- Formula errors: If FORMULA is selected, verify the expression is valid and that any referenced values are provided via placeholders and Aux inputs.