Introduction

Logic Apps is a part of Azure App Service and it is basically used to automate the access and use of data across clouds without writing code. Logic Apps is basically designed to orchestrate Business processes and System Integration based on some workflow defined according to the process by the user. Logic Apps is a fully managed iPaaS (integration Platform as a Service) which allows developers to not worry about building hosting, scalability, availability, and management; in fact, Logic Apps will scale up automatically to meet demand. Such applications are “no code” solutions that are authored by dragging and dropping elements onto a design canvas. This empowers developers and IT pros alike to create useful integration workflows that solve a variety of needs.

It’s suitable in the scenarios like when you have a predefined series of events that need to be followed in a business process, such as - if you want to replicate records from a line of business systems back to a SQL database and notify the front desk via an email; Send an SMS notification when a certain condition is met; Identify negative Tweets and post into a Slack channel. Logic Apps can help each of these scenarios and more.

Workflows are initiated with a “trigger” event, such as a particular email, or a change in an Azure Storage account. Workflow steps then take place as “actions”, which operate against a series of “connectors” for data flow. To get going even more quickly, check out the numerous pre-built Logic app templates in the Azure Marketplace.

Azure Logic Apps Workflow

Let us discuss about a few of the terminologies we used above :

Advantages of using Logic Apps include the following,

Shortcomings of the Azure Logic Apps

Cost

Cost of the logic app is directly related to the actions and based on the slab below it will be charged.

Note

Even polling for a new record is considered as an action. In our example we are polling for new Instagram media upload every minute so if this logic apps runs for 7 days then it will be 7(days) * 24 (hours) * 60 (minute) = 10080 actions for the polling. In addition to that Posting on Facebook will also be considered as an action and will be charged according to the plan below. However if the condition dissatisfies or fails it will not be charged.

Azure logic app cost

Developer Tools Required

Working Demo

We will create a sample Logic App in our Azure Portal that’s going to look out for new media in my Instagram account and post it to facebook .

I can further drill down to see the details of the Media in each step
Azure
Azure Logic Apps

Code

The Designer has generated a code for the work that you have done and you can go back to the Developer Tools blade and select Logic App Code View. The code is stored in the JSON format and you can directly create this JSON Template from Visual Studio and publish it to azure directly instead of using the designer on the Azure Portal.

Logic App Code View

Conclusion

Azure Logic Apps is the part of the Azure App Service and its one of the most important additions for the Enterprise Applications. Logic Apps are basically designed to orchestrate Business processes and System Integration. Logic App service is a Code-less integration service for communicating with different services or platforms. It is fully managed and with a lot of connectors available and custom APIs and you can design and orchestrate your complete business workflow.