Windmill · Arazzo Workflow
Windmill Run a Script and Await its Result
Version 1.0.0
Trigger a script by path, poll the job until it completes, then read the result.
View Spec
View on GitHub
AutomationInternal ToolsOpen-SourcePro-Code-API-CompositionScriptsWebhookWorkflow EngineWorkflowsArazzoWorkflows
Provider
Workflows
run-script-and-await-result
Run a Windmill script by path and wait for the asynchronous job result.
Resolves the script, starts an asynchronous run, polls until the job is completed, then returns the result and success status of the completed job.
1
getScript
Fetch the script metadata to confirm the path exists and to surface the expected argument schema before running it.
2
runScript
Submit an asynchronous run of the script by path. The response body is the newly created job UUID as plain text.
3
pollResult
Poll the completed-result-maybe endpoint. While the job is still running the completed flag is false, so the flow loops back to poll again; once completed it proceeds to read the full job record.
4
getResult
Read the full completed job record to capture the result payload, success flag and execution timing.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.