Code

Run JavaScript to transform data.

Built inSource

How it fits in a workflow

Code (code.js) is a built-in other step included with every zerodot server—no package install required. Connect it after a trigger or any earlier step on the canvas.

Options

  • codestring · required

    Starts as "// Return the data for the next node. console.log shows in the run.\n// You can read: $input, $trigger, $node[\"Name\"].data, $vars (read only), $run.\nreturn { ...$input };"

  • timeoutMsinteger

    Starts as 10000

Guides and related hubs