Windmill · Arazzo Workflow
Windmill Run a Flow and Await its Result
Version 1.0.0
Trigger a flow by path, poll job updates until completion, then read the result.
View Spec
View on GitHub
AutomationInternal ToolsOpen SourceProCode API CompositionScriptsWebhooksWorkflow EngineWorkflowsArazzoWorkflows
Provider
Workflows
run-flow-and-await-result
Run a Windmill flow by path and wait for the asynchronous job result.
Resolves the flow, starts an asynchronous run, polls job updates until the run is completed, then returns the result of the completed job.
1
getFlow
getFlowByPath
Fetch the flow metadata to confirm the path exists before running it.
2
runFlow
runFlowByPath
Submit an asynchronous run of the flow by path. The response body is the newly created job UUID as plain text.
3
pollUpdates
getJobUpdates
Poll the job-updates endpoint. While the job is still running the completed flag is false and the flow loops back to poll again; once completed it proceeds to read the result.
4
getResult
getCompletedJobResult
Read the completed job result once the flow run has finished.