Python Code
The Python Code node executes custom Python scripts. It enables workflow developers to implement advanced logic, computations, and data transformations that require full scripting capabilities. Execution takes place in a sandboxed environment with limited resources and must follow these rules:
- Use the built-in
paramsdictionary to access input parameters from preceding nodes. - Store the return value in the
resultvariable. This becomes the node’s output for subsequent workflow steps. - The following standard libraries are available:
json,requests,datetime,math, andre. - Maximum execution time is five seconds.

Configuring the node
- Click in the node header.
- The Configure Python Code dialog will open.
- Provide a descriptive Name for the tool.
- Write your custom script in the Python Code editor.
