Skip to main content

Documentation Index

Fetch the complete documentation index at: https://ai-kb.automationanywhere.com/llms.txt

Use this file to discover all available pages before exploring further.

The Automation Anywhere Toolkit allows your workflows to interact with Automation Anywhere’s APA Control Room — deploying bots, monitoring their status, retrieving their output, listing available bots, and canceling active executions.

Authentication

All Automation Anywhere tools require a Control Room connection. Each tool includes a Connection selector. If no connection is configured, click Add Connection to create one. When creating a connection, provide the following:
FieldRequiredDescription
Connection NameYesA label to identify this connection (e.g., control-room-connection).
Control Room URLYesThe URL of your Automation Anywhere Control Room (e.g., https://your-company.automationanywhere.digital).
UsernameYesYour Automation Anywhere username.
Authentication VersionYesSelect V2 Authentication to use an API Key, or V1 Authentication to use a Password.
CredentialYesYour API Key (for V2) or Password (for V1). Type @ to reference a vault secret.

Tools

Deploy Bot

Deploys an Automation Anywhere bot from the connected Control Room.
FieldRequiredDescription
ConnectionYesSelect a configured Control Room connection.
Bot IdYesThe ID of the bot to deploy. Type @ to select a variable.
Automation NameNoName of the automation. Default is null.
Automation DescriptionNoDescription of the automation being deployed. Default is null.
Bot InputNoArray of inputs for the bot. Click Add Item to add entries, or enable JSON Mode to paste data or use @ variables. Default is null.
Deployment TypeNoType of deployment request. Options: Attended Request, Unattended Request, Headless Request. Default is Unattended Request.
Run As User IdsNoArray of user IDs to run the bot as. The bot will be deployed on one of the devices from the list provided. Type @ in any item to reference a variable. Default is null.
Pool IdsNoArray of pool IDs specifying the number of run-as-users to use. Type @ in any item to reference a variable. Default is null.
Num Of Run As UsersNoHow many run-as users should be used from the Run As User Ids list. If not specified, the deployment will happen on all devices available under the list. Default is 0.
Launch In Child WindowNoSpecifies how deployment devices are selected. Options: RUN_ONLY_ON_DEFAULT_DEVICE — only the default device is used; PREFER_DEFAULT_DEVICE — prefers the default device, and if unavailable, uses another device from the pool; RUN_ON_POOL_DEVICES — the bot will be deployed on any available device from the pool. Default is RUN_ONLY_ON_DEFAULT_DEVICE.
Continue On FailureNoIf true, skips this step and continues the workflow normally if it fails. Default is false.
Retry On FailureNoIf true, automatically retries up to four attempts when the step fails. Default is false.

Get Bot Status

Retrieves the current execution status of a deployed bot.
FieldRequiredDescription
ConnectionYesSelect a configured Control Room connection.
Deployment IdYesThe deployment ID to check status for. Type @ to select a variable.
Poll Until DoneNoWhen enabled, keeps checking the bot status until it completes or fails, instead of returning immediately.

Get Bot Output

Retrieves the output returned by a completed bot deployment.
FieldRequiredDescription
ConnectionYesSelect a configured Control Room connection.
Deployment IdYesThe deployment ID to get output for. Type @ to select a variable.

List Bots

Retrieves a list of bots available in the connected Control Room.
FieldRequiredDescription
ConnectionYesSelect a configured Control Room connection.
Filter NameNoFilter bots by name. Default is null.
LimitNoMaximum number of bots to return. Default is 50.

Cancel Bot Execution

Cancels an active bot deployment in the connected Control Room.
FieldRequiredDescription
ConnectionYesSelect a configured Control Room connection.
Deployment IdYesThe deployment ID of the bot execution to cancel. Type @ to select a variable.