Hi Ryan,
Great question! To run a bot using IBM Robotic Process Automation (RPA), you would typically follow these steps:
- Authenticate to the IBM RPA API Server
- This is a mandatory step before you request a resource in the API
- Will provide you with an access token that authorizes you to proper resources available to your IBM RPA account
- Call the Bot API Endpoint
- /v2.0/workspace/{workspaceId}/projects/{projectUniqueId/bots/{botUniqueId}
POST https://{region}api.wdgautomation.com/v2.0/workspace/{workspaceId}/projects/{projectUniqueId}/bots/{botUniqueId} HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: application/json Authorization: Bearer {token} Content-Length: 64 Host: {region}api.wdgautomation.com Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.1) { "additionalMessage": "Additional message here" }
For more details, please refer to the IBM RPA documentation: https://www.ibm.com/docs/en/rpa/23.0?topic=call-calling-api-run-bot
------------------------------
Martin Medina
------------------------------
Original Message:
Sent: Fri May 10, 2024 03:25 AM
From: RYAN BALTAZAR
Subject: Trigger bot thru Api
Hi. How to setup api for triggering a bot?
------------------------------
RYAN BALTAZAR
------------------------------