Run Agent
Run another agent with the inputs you give it, and keep the outputs it gives back.
Command in the Core toolkit · id core/run_bot · 11 inputs (1 required), 4 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Automation | String | Yes | Id of the published automation. | |
| Version | Any | No | Version number or 'production' (default). | |
| Inputs | Dictionary | No | Values for the child's input variables. | |
| Output map | Dictionary | No | Child output name to the variable of this agent that receives it, e.g. {"total": "invoice_total"}. | |
| Timeout (seconds) | Number | No | Stop the child with CHILD.TIMEOUT when one run takes longer than this; no limit when empty. | |
| Same session | Boolean | No | false | Share this agent's open sessions (workbooks, browsers, connections) with the child; sessions the child opens stay open for this agent. |
| Fail on error | Boolean | No | true | Fail this step when the child fails; when off, set status to failed and the error output and carry on. |
| Repeat | Number | No | 1 | Run the child this many times in a row. |
| Repeat delay (seconds) | Number | No | 0 | Wait between repeated runs. |
| Repeat mode | String | No | times | How often the child runs: a number of times, again and again for a length of time, or again and again until the run is stopped. |
| Repeat for (seconds) | Number | No | Start the child again until this many seconds have passed since the first run began; a run that has started always finishes. |
Outputs
| Output | Type | What it is |
|---|---|---|
| outputs | Dictionary | The child's output variables (of the last run when repeated). |
| status | String | Child run status: success or failed. |
| error | Dictionary | The child's error (code, message, stepId) when it failed and fail_on_error is off; empty otherwise. |
| runs | Number | How many times the child ran. |