Introduction
In today’s article, we will take a look at creating a logic application in Microsoft Azure. As we know Logic apps are serverless applications that allow us to create workflows without having to worry about the infrastructure in any way. Also, we can do this without any code. So, let us begin.
Creating the Azure Logic App
The application we will create will be a simple one. It will receive an Http request and then create a blob in a storage container. This is only to demonstrate how easy it is to create logic apps. In real-life scenarios, the logic apps would be more complex, but you will get an idea of the workflow and how easy it is to setup logic apps.
First, we will setup the storage account and create a blob container in which the blob will be created.
We now have the storage account. Let us add a blob container. Click on “+ Container” and add the container.
We now have the container.
Next, we will create the Logic App. Search for Logic Apps.
We are now ready to create the workflow in the logic app. Click on “Go to resource”.
Select “When a HTTP request is received”.
Click on “+ New Step” and select Azure Blob storage.
Select “Create Block Blob (V2)”.
Fill in the fields from the storage account we created previously.
We are now ready to run the logic app. Select “Run Trigger” and click the option “Run with Payload”
Click the “Run” button.
Now, if we go back to our container in the storage account, we will see that the blob has been created.
Summary
In this article, we took a look at creating a logic app in Microsoft Azure. It was a simple example but was a demonstration of how easy it is to create workflows using the Logic App service. Also, it is serverless and we do not need to worry about the infrastructure we run it on. It will scale automatically as required. Happy coding!