How to configure Azure Logic Apps

Usually for social media automation I used for a long time IFTTT, although with Azure Logic Apps I decide to give a try. I started to use Azure Logic Apps for a project not long time ago, and my experience was really good. So, I decide to apply to my personal life to see how it goes.
First I use my Azure Subscription to create the Logic Apps.

Then you have to fill all the information. In this case I created a new Resource Group, so in case I don’t want to use it, it’s the simple way to remove it. You just need to remove (in this case, delete) the Resource Group (RG) and everything on the RG will be gone.

From this step, your logic apps are ready to be configure.

 

So, lets configure the Logic Apps. First we need to go the Logic App Designer to start to create our logic. It’s a very simple process. In this example, I want every blog post to be published on different Facebook pages that I manage and I usually publish my blog post.

First step is to grab all the new posts from my blog to be published on Facebook pages. So in this example I will use a Blank Logic App. You have lot of templates that you can use, that are already prebuild and you have just to enter the right information. But I will complicate this time, just for you to see how simple it’s to create a Logic App in Azure.

Because my blog is in WordPress on Azure, I have to look for the WordPress connector.

When you select the WordPress connector appears all the action/triggers that you have available with that connector.

For this propose I will select the trigger “WordPress – When a post is created”. I want every post that I created as the trigger for this Logic App. Next, you should configure the frequency and the interval when this trigger will run. So, I decide to run every 3 hours.

Note: Because I already created before a WordPress activity on other Logic Apps, I didn’t need to configure the connection to WordPress. But it’s really simple, what you have to do is simple login in on WordPress on the separate window, that will open automatically, and that is it.

As the next step, I configure the actions that I want as a result of the new post created.

Lets look for the Facebook connector. Because I want to proceed on my flow of my Logic Apps I select the Action instead of the trigger actions. In this case, I select the “Facebook – Post to page” action.

Because you are linking all of this activities, when you click on the cell to fill the information, you can decide to use the dynamic content or the values that you want to insert. Just be aware, if you decide to insert manually the value, every time this Logic App run, will use the same value.

I love to use this Dynamic Content, because I can make this Logic App, way more automated.

That is it! I just configure this Logic App.

The last step is save the Logic App. After that you click on the Run Trigger, to start the Logic App.

BTW, this post was the first one to be published on Facebook using the Logic Apps.

Cheers,
Marcos Nogueira
azurecentric.com
Twitter: @mdnoga

Written by Marcos Nogueira

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents.

Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

One Reply to “How to configure Azure Logic Apps”

Leave a Reply

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