I’ve recently got a note from a good MVP pal Daniele Grandini about Azure Logic Apps. If you are like me, I had not heard about it before, although I spend a good chuck of my time working with Azure services. That’s how Azure is. There is always something new and cool to be looked at. But I digress. Let’s take a look at Logic Apps.
You can find it in the new portal:
Then you need to select a pricing tier. Note that the tiers are the same to this and to websites, which of course, makes me think the Logic Apps all run as Web Services/Web Apps.
You are then asked to set up a trigger. You can start it manually as well. So, the first thing I thought about was to send myself a summary of Microsoft Azure related tweets on a daily basis. I know I have enough e-mails but often I can’t skim through all the tweets everyday.
So, I’ve setup a recurrence:
Ok, but at what time? Let’s see it later. Once you click the check mark, you are asked to set the first step. I believe I will need to connect to twitter:
You, of course, need to authorize it. You will need to logon and click as below:
Interestingly enough, you can read and write information:
I’m going to try and search tweets with the #MicrosoftAzure tag:
Let’s then send that list to me, using, of course, office 365!
You again, will need to authorize:
Then I will simply send me an email with the tweets content:
Just after creating the logic app, I’ve got the e-mail:
So, to answer the question about the time for the recurrence, it seems it will be 24 hours from the first creation.
But there is a way and the answer is documented here: https://msdn.microsoft.com/en-us/library/azure/dn948511.aspx
Click on CodeView:
Ok, don’t panic with all the code in there. It is all good.
Look for the “Triggers” section:
Add the starttime parameter as below (don’t forget the comma in the previous line):
Save it. And wait…
In a nutshell, it seems like a very handy mechanism to create basic and complex workflows, with great capabilities and breadth.
Hope this helps!