blokboard/ Open app

Node reference

Code

Transform data with custom JavaScript

CoreDatacode

Transform data with custom JavaScript

Part of Core / Data. This reference is generated from the node definitions shipped with Blokboard.

When to use it#

  • Transform an API response using JavaScript.

Parameters#

ParameterField typeDefaultDescription
JavaScript (code)code(empty)Runs locally when the workflow reaches this node. Build a JSON-compatible result.

JavaScript: Double-brace expressions are not resolved in this field.

Inputs#

PortValueDescription
inanyIncoming value exposed to the script as input.

Outputs#

PortValueDescription
outanyThe JSON-compatible value returned by the script.

Use in a workflow#

Connect this node to the path that should execute it. Run a small example, inspect its actual output, and use the expression picker to select values for later nodes.

See expressions for mapping values, workflow basics for connections, and troubleshooting for failed runs.