Run JavaScript
Write custom JavaScript to transform data any way you need — format numbers, sort arrays, calculate values, merge objects, and more. Define a transform(input) function; the result is available as {{nodeId.result.output}}. Runs in a secure sandbox with ES6+ support. Reads and mutates workflow variables via getVar('name') / setVar('name', value) — both are scoped to variables declared on the workflow.