How can i mention

hi
i want to mention a space name in webex space how can i do
i am using send group message activity where in text field i have mentioned @name but it just passing as text

Instead of using the @name directly in the text field, try using the Webex API to send messages with mentions.

Hey @manoj_verma
Try something like:
<@personEmail:email@domain.com>
or in HTML format:
<spark-mention data-object-type="person" data-object-id="personId">Display Name</spark-mention>

HI @manoj_verma

Try to use the HTTP Request activity with the Webex API. Send a POST request to https://webexapis.com/v1/messages , including the roomId or toPersonId and a message formatted with @username. Set the appropriate Authorization header with your Webex access token.

If you found helpful, feel free to tick as a solution.
Happy Automation

there is no email id i want to call out a bot in that space @sharazkm32 @pikorpa @prashant1603765

This is the reply I got from copilot. Sharing to see if this makes any sense to you

  1. Format the Mention: When sending a message to mention a bot, you can use the bot’s username in the markdown format. For example:
{
  "roomId": "YOUR_ROOM_ID",
  "markdown": "Hello <@personId:sharazkm32>"
}

@manoj_verma

Check below steps , might be helpful.

To mention a bot in a Webex space using UiPath:

  1. Get a valid Webex Access Token.

  2. 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?”
      }
  3. 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!

thanks i was able to mention using markdown

@prashant1603765 @sharazkm32 @pikorpa
do you how can enter data in response field that was in response of my mention
is there any way we can enter data using any activity we have dont want to use UI based activities

like when i mention chat bot
now it has given me to fields where i need to type data and other one i need to select type