Trigger the process from orchestrator when ever a new mail is recieved in Outlook

Hi Team,

We have a requirement to trigger the Uipath process from orchestrator when ever a new mail is recieved in Outlook.

Please support us to achieve the requirement.

1 Like

Hi
We can create one separate process and publish that process to orchestrator, running in schedule for every five mins
—that process swill actually fetch the mail from outlook for every five mins as set by schedule
—with any filter condition set in get outlook Mail activity using mail body or received date or subject we can look for the mail we need and store that in a variable named list_mailmessages
—now we need to check the count if it is more than one or not
list_mailmessages.Count > 0
If true then it goes to then part where use START PROCESS activity or ORCHESTRATOR API activity to call for a specific process

This above process will run for every five mins in orchestrator with a schedule set on it
So that mails will be read for every five mins and if any appropriate mail is seen with filter conditions the process can be triggered

Cheers @Sajin_91