Azure Logic Apps is a cloud based solution that can be used to create, develop and deploy cloud-based integrations and automated workflows.
It helps you to automate tasks, business processes, and workflows when you need to integrate applications, data, systems, and services.
It can be used to create simplified dynamic applications that can connect to numerous applications including legacy, web and cloud based applications.
Azure LogicApps is made up of 4 main Components, which are:
- Triggers: All logic apps start with a trigger, this trigger is a condition which must be met for the workflow to start.
An example of a trigger can be “When a new Sales Order is received”.
This workflow might include conditions such as “Was the payment successful?”
2. Actions: this is the next step after the trigger step which results in an event. E.g. Receiving a new sales order would trigger the Sales Order Process, which is completed when the order is delivered to the Customer.
3. Connectors: This is used to connect to various data sources and services that is needed to access and store the data. e.g. the ERP system, SQL Database and Cosmos Database.
4. Workflows: Once the business Process is set up, it would create a visual representation of your business processes as a series of steps.
Some examples of Azure Logic Apps workflows are:
Sending an email notification when a specific event happens such as when the company’s name is mentioned on twitter.
Automatically moving documents to an archived location if the document creation date is more than 1 year from today’s date.
Moving the data to the ERP system to create a Sales Order process when a new order is placed by a customer on a shopping website.
How do you create a new Logic App?
The following screenshot is an example of a Sales Order Process that can be automated using Logic Apps.
In this process the Azure Logic Apps trigger would be at step 8, which is after the Customers’ payment has successfully been processed.
Once that condition is triggered, then the Azure Logic app workflow would send the Sales Order data that was made on a 3rd party shopping website, to the Organization’s Enterprise Resource Planning System which would automatically recreate that Sales Order and post it.
Once the Sales Order is posted, then a shipment order would be created for the warehouse team to prepare and ship the sales order and the customer would receive their goods.
Azure Logic Apps can be created in the Azure portal, Visual Studio Code, or Visual Studio.