Skip to main content

Code

Execute arbitrary JavaScript inside an automation step. Use it when built-in connectors and Transform nodes are not expressive enough for a transformation or calculation.

Authentication

Auth type: None

How it works

The Code node runs in an isolated sandbox via the Collabase code-runner microservice. Write a function that receives the step’s inputs and returns an object — the returned keys become the node’s output variables.

Fields

The Code node does not have access to Node.js built-ins like fs, http, or require. Network access is blocked inside the sandbox. For external HTTP calls, use the HTTP connector instead.
For complex multi-step transformations that need external libraries, use the Python node (AI Microservices) or the HTTP connector to call a dedicated function endpoint.
Last modified on April 2, 2026