How to get alert mails for package changes in orchestrator

I can only get basic alerts options in orchestrator. Please help me how to create custom alert mails for packages changes in orchestrator.

Hi @maha_sunder ,

To create custom alerts, you first need to monitor for package changes. Unfortunately, Orchestrator does not provide out-of-the-box options for custom alerts, so you’ll need to use a combination of Orchestrator’s API and UiPath workflows.

2. Create a UiPath Workflow to Check for Package Changes

  1. Get Package Information:
  • Use the HTTP Request activity to call Orchestrator’s API to get package information.
  • API Endpoint: /odata/Packages
  • Method: GET
  • Headers: Include necessary authentication headers (e.g., OAuth2 token).
  1. Store Package Information:
  • Extract and store package details (e.g., version numbers, upload dates) into a local file or database for comparison.
  1. Compare Package Versions:
  • Compare the currently stored package information with the latest information retrieved from Orchestrator.
  • If there is a change, trigger the alert.

3. Set Up Email Alerts

  1. Use Send SMTP Mail Message:
  • In the UiPath workflow, use the Send SMTP Mail Message activity to send an email alert when a change is detected.
  • Configure SMTP settings (SMTP server, port, sender email, recipient email, etc.).
  1. Email Content:
  • Include relevant details in the email body such as the package name, version, and the nature of the change.

4. Schedule the Workflow

  1. Create a Schedule:
  • Publish your UiPath workflow.
  • Use Orchestrator to schedule the workflow to run at regular intervals (e.g., hourly, daily) to check for package changes.

Regards
Sandy

Hi thanks for guidance, but I’m getting empty value when I use /odata/Processes in orchestrator http request but I have process in


Hi @maha_sunder

You can go to the orchestrator tenant and create a webhook for process version change notifications.

In url should I give orchestrator url. Sorry I was confused

So If you want to get alerts to you teams. you can create a channel and configure incoming webhooks. It will generate you a URL that can be used for this purpose.

Can you please share for mail

I created webhook in teams and tested with postman it’s working. When I created webhook in orchestrator when I create or delete any process webhook is not getting triggered. Can you please help me

Hey,
Great work! I had been testing the same earlier and I too did face the issue with webhook for create or delete of process.
It gave response when job is started. I’m digging into it. Maybe its a bug, I created a bug request for the same.

Actually UiPath can only trigger webhook as a json but teams cannot receive json format UiPath sends. So we need middleware since UiPath doesn’t have functionality to listen to webhooks. I used zapper for testing purposes as a middleware it’s working.

Actually you can trigger UiPath Job with Json input object and send an email.

But I have a question. Did the change in process trigger the webhook. I see starting a job is trigger the webhook. but updating the process isn’t trigger the webhook.

Webhook is triggering for process update also. I am using it for process update

1 Like

Instead of Using Zaiper as it is 3rd party. You can create a HTTP Webhook (Preview) connection in Integration Service → Connection Builder → Connections → HTTP Webhook configure this and edit connection to add trigger. After adding trigger a webhook URL gets generated. Use that generated URL in webhooks in Orchestrator → Tenant.

1 Like