Utility
| Node | Description | Inputs | Outputs |
|---|---|---|---|
| app_info | Outputs the application version and data directory. | version Text, data_dir Text | |
| args | Provides a named input argument. In compiled graphs, this becomes a CLI argument; in the editor, it outputs the default value. | name Text, default Any | value Any |
| batch_collect | Accumulates one value per batch iteration into an output array. | value Any | results Json |
| batch_input | Provides items to a batch execution loop. | items Json | value Any, index Number, total Number |
| boolean | Outputs a constant boolean value. | value Boolean | value Boolean |
| date_add | Adds a duration to a timestamp. | timestamp Number, amount Number, unit Text | result Number |
| date_diff | Calculates the difference between two timestamps. | a Number, b Number, unit Text | result Number |
| expression | Evaluates a JavaScript expression with up to four variable inputs. | expression Text, a Any, b Any, c Any, d Any | result Any |
| format_date | Formats a Unix timestamp into a date string. | timestamp Number, format Text | result Text |
| image_constant | Outputs a constant image from embedded base64 data. | image Image | |
| json | Outputs a constant JSON value from a text editor. | value Text | result Json |
| now | Outputs the current Unix timestamp in milliseconds. | timestamp Number | |
| number | Outputs a constant number. | value Number | value Number |
| parse_date | Parses a date string into a Unix timestamp. | text Text | timestamp Number |
| platform | Outputs the current operating system and architecture. | os Text, arch Text | |
| preview | Passes through the input value unchanged. | value Any | value Any |
| reroute | Pass-through waypoint for organizing wire layout. | value Any | value Any |
| text | Outputs a constant text value. | value Text | value Text |
| to_boolean | Converts any value to a boolean. | value Any | result Boolean |
| to_json | Converts input to a JSON string. | value Any | result Text |
| to_number | Converts any value to a number. | value Any | result Number |
| to_text | Converts any value to text. | value Any | result Text |
| type_of | Returns the runtime type of the input as text. | value Any | result Text |
| uuid | Generates a random v4 UUID string. | result Text |
app_info
Outputs the application version and data directory.
Outputs:
version(Text) — application versiondata_dir(Text) — application data directory path
See also: platform, io/env_var
args
Provides a named input argument. In compiled graphs, this becomes a CLI argument; in the editor, it outputs the default value.
Inputs:
name(Text) — argument name (used as the CLI flag)default(Any) — default value when the argument is not provided
Output: value (Any) — the resolved argument value
batch_collect
Accumulates one value per batch iteration into an output array.
Inputs:
value(Any) — value to collect from this iteration
Output: results (Json) — accumulated array of collected values
See also: batch_input
batch_input
Provides items to a batch execution loop.
Inputs:
items(Json) — JSON array of items to iterate over
Outputs:
value(Any) — current item from the batchindex(Number) — zero-based iteration indextotal(Number) — total number of items
Example: items = [1,2,3] → 1
See also: batch_collect
boolean
Outputs a constant boolean value.
Inputs:
value(Boolean) — constant to output
Output: value (Boolean) — the boolean value
date_add
Adds a duration to a timestamp.
Inputs:
timestamp(Number) — base Unix timestamp in millisecondsamount(Number) — number of units to add (negative to subtract)unit(Text) — seconds, minutes, hours, or days
Output: result (Number) — adjusted timestamp in milliseconds
Example: amount = 1, timestamp = 0, unit = days → 86400000
date_diff
Calculates the difference between two timestamps.
Inputs:
a(Number) — first timestamp in millisecondsb(Number) — second timestamp in millisecondsunit(Text) — seconds, minutes, hours, or days
Output: result (Number) — difference in specified units (a - b)
Example: a = 86400000, b = 0, unit = days → 1
expression
Evaluates a JavaScript expression with up to four variable inputs.
Inputs:
expression(Text) — JavaScript expression to evaluatea(Any) — first variableb(Any) — second variablec(Any) — third variabled(Any) — fourth variable
Output: result (Any) — expression result
Example: a = 10, b = 5, expression = a + b * 2 → 20
Example: a = hello, b = world, expression = a.toUpperCase() + ' ' + b → HELLO world
format_date
Formats a Unix timestamp into a date string.
Inputs:
timestamp(Number) — Unix timestamp in millisecondsformat(Text) — format pattern (YYYY, MM, DD, HH, mm, ss)
Output: result (Text) — formatted date string
Example: format = YYYY-MM-DD, timestamp = 0 → 1970-01-01
See also: now, parse_date
image_constant
Outputs a constant image from embedded base64 data.
Output: image (Image) — the image
See also: image/load
json
Outputs a constant JSON value from a text editor.
Inputs:
value(Text) — JSON text to parse
Output: result (Json) — parsed JSON value
now
Outputs the current Unix timestamp in milliseconds.
Output: timestamp (Number) — current time in Unix milliseconds
See also: format_date, date_add
number
Outputs a constant number.
Inputs:
value(Number) — constant to output
Output: value (Number) — the number value
parse_date
Parses a date string into a Unix timestamp.
Inputs:
text(Text) — date string to parse
Output: timestamp (Number) — Unix timestamp in milliseconds
Example: text = 1970-01-01T00:00:00.000Z → 0
See also: format_date, now
platform
Outputs the current operating system and architecture.
Outputs:
os(Text) — operating system (windows, macos, linux)arch(Text) — cpu architecture (x86_64, aarch64)
See also: app_info, io/env_var
preview
Passes through the input value unchanged.
Inputs:
value(Any) — any value to preview
Output: value (Any) — same value, unchanged
reroute
Pass-through waypoint for organizing wire layout.
Inputs:
value(Any) — value to route through
Output: value (Any) — same value, unchanged
text
Outputs a constant text value.
Inputs:
value(Text) — constant to output
Output: value (Text) — the text value
to_boolean
Converts any value to a boolean.
Inputs:
value(Any) — value to convert
Output: result (Boolean) — truthy/falsy evaluation
to_json
Converts input to a JSON string.
Inputs:
value(Any) — value to serialize
Output: result (Text) — JSON string representation
to_number
Converts any value to a number.
Inputs:
value(Any) — value to convert
Output: result (Number) — numeric representation (0 if invalid)
to_text
Converts any value to text.
Inputs:
value(Any) — value to convert
Output: result (Text) — text representation
type_of
Returns the runtime type of the input as text.
Inputs:
value(Any) — value to inspect
Output: result (Text) — type name (string, number, etc.)
uuid
Generates a random v4 UUID string.
Output: result (Text) — v4 UUID string
See also: math/random, math/random_int