Trigger a process when mail arrives

How we can achieve it in On-Prem orchestrator ?

I have only this for OnPrem:

This again we need to put a Bat file to trigger when a outlook email with specific subject arrives,
Is there any in way in On-Prem to get triggered via email (office 365) Graph API approach.

This would be bot running state forever until we keep the timings to stop the bot execution, I don’t think so this serves the purpose. this is still ok if we keep particular time frame to stop execution.