Poll an automation until it terminates
action1_wait_for_automationWait for an Action1 automation instance to reach a terminal status—Stopped, Success, Warning, or Error—or time out. Use it to poll script runs and optionally fetch filtered output.
Instructions
Block until an automation instance reaches a terminal status (Stopped/Success/Warning/Error) or timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | No | Org UUID. | |
| endpoint_id | No | If set, also fetch filtered script output. | |
| instance_id | Yes | Instance UUID. | |
| response_format | No | Output format. Default markdown. | |
| timeout_seconds | No | Polling timeout. | |
| poll_interval_seconds | No | Poll interval seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | string | |
| status | No | object |