Aller au contenu principal

Code Executor

Category: Transform Standards: Code review required

Execute custom Python/JavaScript code

What this node does

  • Python/JavaScript
  • Sandboxed execution
  • Package support
  • Async

How to use

  1. In the Agentic Studio, open or create a workflow
  2. In the node palette on the left, find Code Executor under the Transform category (or use the search bar)
  3. Drag the node onto the canvas
  4. Double-click the node to open its configuration dialog
  5. Fill in the required parameters (see Configuration below)
  6. Connect the Input Data input port from an upstream node
  7. Connect the Execution Result output to the next node downstream

Inputs

PortTypeRequiredDescription
Input Dataanyany data

Outputs

PortTypeDescription
Execution Resultanyany data

Configuration

Open the configuration dialog by double-clicking the Code Executor node on the canvas.

ParameterWhat to enter
languageConfigure language in the node settings
codeConfigure code in the node settings
packagesConfigure packages in the node settings
timeoutMaximum time in seconds to wait for a response before failing

When to use this node

  • Custom transformations
  • Complex logic
  • Data processing

Need help configuring this node?

Go to Settings → Connectors to set up the connection this node depends on, then reference the connector ID in the node configuration dialog.