⌘K
IntegrationsActionsRun 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.

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

Quick Test

Valid

Edit the JSON to set test values.

Multiple test failures

Run JavaScript Action | B3OS Integrations