In this Azure article, we will discuss the logic app tutorial.
Table of Contents
Azure Logic Apps Tutorial
This is going to be an Azure Logic Apps tutorial for beginners and for experienced as well.
First, let’s discuss what is Azure logic apps.
Azure Logic Apps is an excellent cloud-based service or platform that allows you to create and run workflows that integrate with your application, data, etc. This helps you perform certain actions in your workflow based on trigger fires.
One of the best choices to automate many tasks and business processes for your enterprise and B2B scenarios.
Connectors play an important role inside the Azure logic app and are called Logic app connectors. Now let’s discuss what Logic app connectors are.
What is the Logic app connector?
Logic app connectors are mainly responsible for performing different actions. Connectors are the main components of the Azure logic apps.
Many connectors are available for the Azure logic apps, like Enterprise connectors. Another important point is that you can create custom connectors based on your needs.
We will discuss how to create a Logic app connector, but before that, let’s discuss a few related concepts that you must be aware of when you are working with the Azure Logic App.
Workflow is the main component when you are thinking of Azure Logic App. Workflow is a sequence of tasks or a set of processes that can be used to perform a particular business task or to automate a task.
The workflow starts based on the triggers.
Azure logic apps Actions
The main task of the Actions is to perform some tasks in the workflow. The trigger initiates actions. Actions perform different tasks for your business based on the input data provided.
Azure logic apps Triggers
Triggers determine the business logic or condition. The trigger fires once the input data the user provides meets the condition. These are the entry points of the Azure logic app workflows.
Benefits of Azure logic apps
There are a couple of cool benefits that you can utilize while working with Azure logic apps. Below are a few key benefits of Azure logic apps.
- Azure logic apps are quite simple and easy to use.
- Azure logic apps help you automate your business tasks based on your needs.
- You can easily debug in case of any issues you want to troubleshoot.
- It is one of the cost-effective platforms.
- Seamless integration with web and mobile applications.
- You also have the provision to connect to your on-premise data quickly.
- It is a flexible platform.
Well, now let’s discuss how to create Azure logic apps but before that, we will discuss how to create logic app connectors.
How to create Azure logic Apps
Before discussing Azure logic app examples, you must know the prerequisites needed here.
- You must have an Azure subscription or an Azure account. If you don’t have an Azure account now, nothing to worry about, Create an Azure free account now.
Assuming you are ready with the Azure account, let’s discuss the steps to create the Azure logic app using Azure Portal.
- Log in to the Azure Portal.
- Search for ” logic apps” and click on the search result “logic apps”.
3. On the Logic apps window, click the + Add button.
4. On the Create Logic App window and under the Basics tab, provide the below details
- Subscription: Choose a valid subscription that you want to use here.
- Resource Group: Select an existing resource group, or if you want, click on the Create new link to create a new resource group.
- Type: Choose the type. It can be Standard or Consumption.
- Logic App name: Provide a unique name for your logic app.
- Publish: Choose the Publish option.
- Region: Select the region.
Then, click the Next: Hosting > button to navigate to the Hosting tab.
On the Hosting tab, enter the following details
- Storage type: Choose the storage type as Azure storage.
- Storage account: Choose an existing storage account or click on the Create new link to create a new one. You can also choose the default option as it is.
- Windows Plan: Choose an existing plan or click the Create new link to create a new one. You can also choose the default option.
- SKU and size: Choose the SKU and size based on your needs. You can click on the Change size to change the size.
Click the Next: Monitoring > button to navigate to the Monitoring tab.
On the monitoring tab, choose the below options
- Enable Application Insights: Select the Yes option. By default, it will be selected as Yes.
- Application Insights: Select the existing Application Insights. You can also create a new one by clicking on the Create new link or keep the default option as it is.
Leave the other options as it is and click on the Review + Create button.
Now, it will validate all the details once all the entries are fine. You can able to see the Create button on the next window.
5. Finally, click on the Create button in the next window.
Now, you can able to see the deployment has been completed successfully. Click the Go to Resource button to navigate to the Azure logic app we created.
Creating a workflow in Azure Logic App
To create a new workflow in the Azure logic apps, click on the Workflow option from the left side menu on the Azure Logic App page.
To create a new workflow, click on the + Add button as highlighted below.
On the new workflow window, provide a unique name for the workflow and then choose the state type as Stateful or Stateless.
Then, click on the Create button to create the workflow.
You can check out a complete example of the implementation of workflow now.
How to create logic apps custom connector
You can create Azure logic apps with custom connectors based on your requirements. You can quickly follow the steps below to create the Azure logic app’s custom connectors.
- Log in to the Azure Portal.
- Search for “logic apps custom connector” and click on the search result Logic Apps Custom Connector
3. On the Logic Apps Custom Connector window, click on the + Create button or click on the Create Logic Apps custom connector button to create the new Logic Apps Custom Connector.
4. On the Create logic apps custom connector window, provide the below details
- Subscription: Select a valid Azure subscription that you want to use here.
- Resource Group: Select an existing resource group or click on the Create new link to create a new resource group.
- Custom Connector name: Provide a unique name for the custom connector.
- Region: Select the region.
If you want, you can also associate with the integration service environment. For that, you need to provide the below details but these are optional.
Associate with integration service environment: You must check the check box or select the option. Once you select this option, the integration service environment option will be enabled.
Integration Service Environment: Select your integration service environment option from the dropdown.
Let the other options be as in the other tabs. Now click on the Review + Create button.
5. Once you click on the Review + Create button, the system will validate all the details entered by you, and once everything is okay, it will enable the Create button on the next window. Finally, click the Create button to create the logic app’s custom connector.
It will take a few seconds, and you will see the deployment is complete, as shown below. Click the Go to Resource button to navigate the logic app’s custom connector.
You may also like following the articles below
Well, in this article, we have discussed Azure Logic Apps Tutorial. I hope you have enjoyed this article !!!
I am Rajkishore, and I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machine, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.