Skip to main content
If no version is provided, the latest version is used.
workflow = notte.Workflow("<your-workflow-id>")
workflow.run(variable1="value1", variable2="value2")
Make sure that the correct variables are provided based on the python file previously uploaded. Otherwise, the workflow will fail.
You can use local=True to run the workflow locally if you have access to the decryption key

Parameters

version
UnionType[str, None]
default:"None"
local
bool
default:"False"
restricted
bool
default:"True"
timeout
UnionType[int, None]
default:"None"
stream
bool
default:"True"
raise_on_failure
bool
default:"True"
workflow_run_id
UnionType[str, None]
default:"None"
log_callback
UnionType[Callable[[<class 'str'>], None], None]
default:"None"
variables
Any
required

Returns

WorkflowRunResponse
I