Skip to main content

CodeWorkflowNode

Workflow code execution node.

idId (string)required

Unique node ID

typeType (string)required

Node type

Constant value: code
config objectrequired

Type-specific node configuration

languageLanguage (string)

Possible values: [python, javascript]

Default value: python
sourceSource (string)required
input_mappings object
property name*string
outputs object
property name*any
Default value: {}
timeoutTimeout (integer)
Default value: 30
dependenciesstring[]
Default value: []
metadata object
property name*any
Default value: {}
CodeWorkflowNode
{
"id": "string",
"type": "code",
"config": {
"language": "python",
"source": "string",
"input_mappings": {},
"outputs": {},
"timeout": 30,
"dependencies": [
"string"
]
},
"metadata": {}
}