Prerequisites

Logic apps

Logic apps offer a way to make things easier and implement scalable integrations and Workflows in the Cloud. It provides a visual designer a way to model and automate our process as a series of steps known as a Workflow. There are several connectors across the Cloud and On-Premises to quickly integrate across services and protocols. A logic app starts with a trigger and after firing can begin many combination actions, conversions, and logic conditions.

The advantages of using Logic apps consists of what is shown below.

Why Logic apps?

Logic apps brings speed and scalability into the enterprise integration space and ease of use of the designer, variety of available triggers and actions, and powerful management tools make centralizing our API's simpler than ever.

Logic app concepts

The following are some of the key points that make up the Logic apps experience.

Now, let's get started with the following steps.

Step 1

Sign in to the online Microsoft Azure portal.

Step 2

Click “+NEW” and choose “Enterprise Integration”. Select “Logic Apps”.



Step 3

In the Create logic app account blade, enter a name for our logic app, select a location, resource group and select Create.



Step 4

After creating our Logic app for the first time, we can select from a template to start. For now, click
Blank Logic App to build this from scratch.



Step 5

The first item which we need to create is the trigger. This is the event that will start our logic app. Search for twitter in the trigger search box and select it.

Step 6

Now, sign into our twitter account.

After entering the username and password, click Authorize app button.


Step 7

Now, we will type in a search text (Example: #Azure) to trigger on. The frequency and interval will determine how often our logic app will check for the new tweets.


Step 8

Select the New step button and then choose Add an action.

Step 9

Now, you can search from the available connectors to choose an action. For example, we can select Outlook.com - Send Email to send mail from an outlook.com address.

Now, sign into our Outlook mail account.


Step 10

After signing into the mail account, we have to enter the parameters for the E-mail, which we require.

Step 11

Finally, we can select Save to create our logic app live.



A few minutes later, we will get Logic app dashboard.

Output

Summary

This is how we create and use Logic apps in Microsoft Azure portal.