Welcome On Mobius

Mobius was created by professionnal coders and passionate people.

We made all the best only for you, to enjoy great features and design quality. Mobius was build in order to reach a pixel perfect layout.

Mobius includes exclusive features such as the Themeone Slider, Themeone Shorcode Generator and Mobius Grid Generator.

Our Skills


Azure Logic App Example – How To Build Your First Logic App

By Salman Bilal 3 years ago

Introduction to Logic Apps

Logic Apps are an integration services that communicates with different services without any code. Logic Apps helps you create and deploy cloud based workflows and integrations. The main goal is to jump from development to production in a few simple steps. Microsoft is promoting and investing strongly in this technology by introducing new connectors which are very much in demands of the integration requirements of enterprises.

There are a few components in logic apps that we need to understand before we start this tutorial.

  • Connector
  • Trigger
  • Condition
  • Action


Connector is basically used to allow connectivity to a service by using code elements that are bundled together. Every connector has its own API and needs configuring information to connect to the service. In the case of a Facebook connector, the developer would need to have a Facebook account and provide his credentials.


They are used in corresponding to the connector to start the Logic App workflow. Base on the Facebook example in the picture above, we can use “when there is a new post on my timeline” as a trigger to run the Logic App. Each connector has its own trigger definition.


Condition is an optional component and is used to put some logic in the workflow. The Logic App may be concerned with direct input in some cases, for example a post on your wall. However, if you need to be able to filter on people who post on your wall, then conditions component is used to do this job.


Actions are all the steps in the Logic App definition. An action is performed on result of the input that is received from a connector. This includes scopes, triggers, for-each loops, do until loops, control flow steps like conditions, calls to connectors and calls to native actions.

Here is my first step to make-out a simple tutorial on Integrating Facebook and Gmail using Azure Logic Apps.


  • Azure Subscription
  • Facebook Account
  • Gmail Account


  1. Login to Azure Portal

  1. From the left menu, choose NewEnterprise IntegrationLogic App

  1. Write the name of your logic app and select your subscription. Now create a new Azure resource group or if you have any existing resource group, select it. In the end select the location for hosting you App and click Create.

  1. When you open your logic app first time, it shows a list of templates that you can get started with. Select the “Blank Logic App” so that we can start this tutorial from the scratch.

  1. In the search box , type Facebook and select trigger When there is a new post on my wall to start off your Logic App

  1. The next step is to provide your credentials to Facebook connector so that it can access the trigger’s functionality

Once you link the connector with your Facebook Account, select the time interval and frequency you want the logic app to check for the corresponding trigger.

  1. Once you configure your trigger, you need to add an action after the trigger is fired. Click on the New Step button and select Add an action

The designer shows a list of available connectors so that you can select an action to perform when your trigger is fired. To send email from your Gmail account, in the search box, enter Gmail.  Under Actions, select Send email.

  1. Just like Facebook connector this Gmail connector needs to be configured as well by giving your credentials

Provide the details for this action, like the destination email address, and choose the parameters for the data to include in the email.

  1. Save your changes by clicking the Save button on top of the logic app designer

Now if your Logic App finds a new item posted on your wall it will send email with the selected data.

  1. On your Logic App select Overview to monitor your App’s run and trigger history.


  Logic Apps
this post was shared 0 times

 Salman Bilal

  (2 articles)