Skip to main content
The Code Runner connector lets you run custom JavaScript or Python code inside your workflows. Use it for custom logic, data transformations, and calculations that aren’t covered by the built-in utility connectors.
No connection required. This utility connector works out of the box.

Tools

Execute JavaScript code in a sandboxed VM environment.
string
required
JavaScript code to execute.
any
Input data, available in the code as the data variable.
number
default:"5000"
Execution timeout in milliseconds (max 30000).
Example request:
Example response:
Execute Python code in a sandboxed environment.
string
required
Python code to execute.
any
Input data, available in the code as the data variable.
number
default:"5000"
Execution timeout in milliseconds (max 30000).
Example request:
Example response:

Tips

  • Use the data variable to access input passed from previous workflow nodes.
  • Keep code focused; for simple transformations, consider using the JSON Tools or Text Tools connectors instead.
  • Both JavaScript and Python run in isolated environments with limited access to system resources.
  • Set an appropriate timeout for long-running computations.