Run custom logic
Transform data, validate fields, calculate values, and shape payloads.
Code Executor
Use JavaScript inside workflows for transformations, calculations, validation, formatting, and edge cases that need precise control.
Core Capabilities
Transform data, validate fields, calculate values, and shape payloads.
Use data from previous steps and return structured output for later actions.
Use code for targeted logic while workflow structure remains visible.
Developer-friendly extension
Most workflows should stay visual. Code Executor gives technical teams an escape hatch for the cases where exact logic matters.
How It Works
Place JavaScript where the workflow needs custom logic.
Use outputs from earlier steps.
Send structured data to the next workflow step.
Inspect output and errors during workflow runs.
Common Use Cases
Clear answers about how this capability fits into real workflow automation.