Azure Automation has the ability to integrate and automate processes across Azure and on-premises environments using a hybrid worker. This hybrid management capability has been extended to now deliver an automatic response to events in your datacenter using watcher tasks.
Watcher tasks deliver the ability to author a watcher runbook that polls a system in your environment and then call an action runbook to process any events found.

Read about it in the Azure blog.