preview
We're still working on this feature, but we'd love for you to try it out!
This feature is currently provided as part of a preview program pursuant to our pre-release policies.
This page provides a comprehensive reference for authentication actions available in the workflow automation actions catalog. These actions enable you to create and manage JSON Web Tokens (JWT) for secure authentication in your workflows.
Run a script
Execute a python script and returns the response to a workflow.
Input Field | Optionality | Type | Description | Example |
|---|---|---|---|---|
script | Required | String | Any data transformation script |
|
runtime | Required | Enum | Run time version of script |
|
parameters | Optional | List | list of parameters to be used in script |
|
Output Field | Datatype | Examples |
|---|---|---|
success | Boolean |
|
payload | Object |
|
errorMessage | String |
|
Example |
|---|
|
What script.run can do
Supported python version
- PYTHON_3_13 runtime with full language features
Allowed imports
"python-dateutil", "simplejson", "re", "math", "decimal", "json", "datetime", "collections", "itertools", "functools", "operator", "string", "argparse"Data handling
- Parse and transform JSON data structures
- Process complex strings and perform text manipulation
- Format output as tables, markdown, or structured data
Parameter Ppssing
- Pass simple values via command-line arguments with argparse
What script.run cannot do
Restricted imports
base64- Not allowed for security reasonssys- Not allowed for security reasonsos- System operations restricted- Most third-party libraries not included in Python 3.13 stdlib
Parameter limitations
- Cannot pass complex JSON as command-line parameters (causes Unsafe script argument error)
- Cannot pass strings with special characters via parameters
Network/External access
- No network calls or external API access
- No file system access outside script execution