Guidance Needed for Generating and Sending Execution Logs

I need to retrieve execution logs each time a bot is triggered by a person. After every execution, whether it succeeds or fails, I want to send the log file to the developer via email.

Could you please suggest if this can be achieved by building custom logs, utilizing Orchestrator APIs, or any other approach? Your guidance on the best solution would be greatly appreciated.

Note: I do not wish to use the default logs located in AppData\Local\UiPath\Logs. Instead, I require a solution that ensures logs are captured and emailed after every human-triggered bot execution.

Looking forward to your support.

Thank you,
Prathamesh Hulavale

you refer below

1 Like

Thank you, but I have already checked, and it seems the only available option is the POST method.

Manually, we can export logs in Studio by clicking the “Export Logs” option in output. I wanted to know if there’s a similar functionality available for automation. That’s the reason I raised this query.

@Prathamesh_Trimurti_Hulav

These are the two available methods

  1. Will get logs as json and need to write to excel
  2. Will get the logs directly as a csv file

Cheers