Skip to main content
Executes arbitrary Python code and returns the result. Use only for actions not supported by existing nodes. Supports all standard and data analysis libraries (e.g., pandas, numpy, requests, seaborn, urllib, nltk, beautifulsoup4) You can also install additional packages . The last line of your code must be the value to return. To return multiple values, combine them into a single dict (e.g., {‘key1’: value1, ‘key2’: value2}). Provide valid Python code as input. Dynamic values from other nodes are automatically injected as direct variables into the execution context, so you can reference them directly in your code without defining them (e.g., if you set ‘payload’ in variables, just use ‘payload’ directly).

Inputs

Output

Type: Any Returns whatever the last line of the code evaluates to. Can be any type (str, int, list, dict, etc). If files are created, returns dict with ‘result’ and ‘files’ keys.