Check below steps , might be helpful.
To mention a bot in a Webex space using UiPath:
-
Get a valid Webex Access Token.
-
Use the HTTP Request activity with the following configuration:
- Endpoint:
https://webexapis.com/v1/messages - Method: POST
- Headers:
- Authorization: Bearer YOUR_WEBEX_ACCESS_TOKEN
- Content-Type: application/json
- Body:
{
“roomId”: “YOUR_ROOM_ID”,
“text”: “Hello @YOUR_BOT_NAME, how are you?”
}
- Endpoint:
-
The bot will be mentioned in the Webex space. If you want to mention a bot directly, use the toPersonId instead of roomId and include the bot’s personId in the body.
Happy Automation!