⌘K
IntegrationsActionsRun JavaScript
Run JavaScript

Run JavaScript

Action

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.

About

This action will execute the specified operation when your workflow runs.

Input

5 fields

Output

3 fields

Discussion

Loading chat...
ID: code-transform
5 Inputs(2 required)
3 Outputs(3 required)
... active workflows