Azure Azure Automation Configuration

MS Flow – Trigger Azure Automation Webhook

In one of my previous post I showed you how you could trigger a webhook to trigger an Azure Automation runbook using IFTTT (If This Than That) . Well, the great news are that Microsoft is investing a great deal of money into a similar technology called Microsoft Flow. For a short summary and differences to other task automation engines see this post here. In Microsoft Flow there is also a way to trigger a webhook similar to IFTTT, it works like this…

image

…in this template I used Twitter as a starting activity, but you can use any other. I used the Http activity and configured it like this Method => POST and Uri => copy and paste the webhook URI from your Azure Automation runbook. Within the body I used previous data from Twitter like who tweeted and tweet text. If you are new to webhooks, there is an excellent documentation here. 

The webhook data will look something like this…

image

As you can see it is very easy to trigger an Azure Automation runbook via MS Flow. The very cool thing of MS Flows is, it’s tight integration into the Microsoft products. Although MS Flow is in preview, there are quite some templates available for automating your daily (business) tasks. Have fun!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.