Run Custom Python Code
Execute a Python snippet. Variables are supported two ways: {{{name}}} markers are replaced before running, and the live 'variables' dict is also available to read/write. Set 'result' to store an output.
Programs & ProcessesRunCustomCode
What it does
Execute a Python snippet. Variables are supported two ways: {{{name}}} markers are replaced before running, and the live 'variables' dict is also available to read/write. Set 'result' to store an output.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Python code | multiline | Required | Variables are supported: {{{name}}} markers are replaced with their value before running. The 'variables' dict is also available, e.g. variables['a']. Example: result = {{{a}}} + {{{b}}} Supports variables | |
| Store 'result' in | variable | Optional | Example: result |
More Programs & Processes commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.