How to get Output from robot running from API

Hi. Im currently running robots over orchestrator API which works fine. Now i have this example: I want to know the weather. So i made a script that opens the browser and reads the weather. Now i want to run this over the API. Is there a way where the robot sends the text it reads as a response? Can i make him send me a response to the POST call to make it run? How can i get information from the script after it is completed?

Hello!

I’m not sure if I understand the situation correctly, but you can make the robot send POST requests using the HTTP Request activity.
Depending on what you’re trying to do, the Webhooks feature might also be a good option.

Hello Jan,
In the first video, you will see how Use Orchestrator Webhooks in Power Automate:

In the second video you can see how I use the Slack Webhooks to communicate with UiPath:

Thanks,
Cristian Negulescu