Logic Apps help you to build complex workflows in simple steps using any of its 200+ connectors. As the Logic Apps are serverless, you do not need to worry about server sizing. The platform will scale to meet your demand and you will be charged only for what you use. Logic Apps provide a drag and drop developer experience in which pretty much any level of a developer can drag shapes on to a UI and create a really powerful solution.
This article will show you how you can build a logic app that checks Twitter to detect negative feedback and get a mail on receiving one.
- Twitter connector to monitor twitter feed for a new message is posted with a specific hashtag
- Cognitive Services, a service inside Microsoft Azure, to do sentiment analysis on the text which returns a value between 0 and 1 as to the positive or negativity
- E- mail connector in order to send an email
Here, in this tutorial, the logic app is going to be triggered when a new tweet is posted with the hashtag, #LetsLearnLogicApp.
Step 1
Log in to your Microsoft Azure portal, click on "Create new resource" and select Text Analytics API from AI + Cognitive category to enable sentimental analytics. Enter the Name, what Subscription you want it to belong to, what Pricing Tier and the Resource Group you like. Here, we are creating a new resource group. Wait for a few minutes for that to be created.
Step 2
Once the deployment has succeeded, open the resource and obtain the Keys, to interact with this service. You will be having a primary and a secondary key where you can regenerate both in case one is compromised. Take note of any key to be used in the Logic App
Step 3
Create a Logic App, from the Web + Mobile category. Give it a Name, set your Subscription, and here we are using our existing Resource Group in the same Location. Click on Create and wait for few minutes.
Step 4
Once the deployment is completed, open your Logic App, which will take you right to the Designer.
Step 5
Select the "When a new tweet is posted trigger" from the common trigger which will create a logic app that already uses the Twitter connector as our trigger.




Hadshana KamalanathanPosted Jul 17, 2018, 6:36 PM
Thank you for sharing.
Debendra DashPosted May 19, 2018, 2:05 AM
Nice One.....................