Azure Logic Apps
Logic App is a cloud-based service that allows us to react to an event in one service (such as SharePoint online) and do something with the data from that event into another service (such as Twitter). It makes it practical and simple for business processes. The users build workflows that automatically perform some business tasks and processes across applications and services. We can connect our business-critical apps and services with Azure Logic Apps, automating our workflows without writing a single line of code.
Before reading this article, please go through some important article links mentioned below,
- Deep Dive Into Azure Logic Apps
- Connect OneDrive To Google Drive With Azure Logic Apps
- Connect Facebook To Twitter With Azure Logic App
- Connect Outlook Mail To Excel Sheets With Azure Logic App
- Save Email Attachment From Outlook To Dropbox With Microsoft Azure Logic
- Save Specific Twitter Tweet To Excel Spreadsheet With Azure Logic App
- Connect Box To OneDrive Using Azure Logic Apps
- Save Only A Positive Tweet To Excel Spreadsheet Using Microsoft Cognitive
- Using Cognitive Service Face API with Azure Logic App
- Convert Tweet Into Audio File Using Cognitive Service With Azure Logic App
- Using Cognitive Service Computer Vision API, Text Analytics API With Azure
- Get Daily Weather Reports Delivered To Your Phone Using Azure Logic Apps
- How To Retweet A Specific Tweet With An Approval Email In Azure Logic App
- Set Auto Tier Azure Blobs Using Azure Logic App
- Set The Auto Delete For Old Azure Blobs Based On The Last Modified Time Us...
- How To Move The Specific Email To Specific Folder Using Azure Logic App
- Email Yourself New Tweet With Specific Keyword Using Azure Logic App
- Connect Dropbox To OneDrive Using Azure Logic App
Prerequisites
- Microsoft Azure Account
Follow the below steps to build a Workflow using a template.
Step 1
- Log into https://portal.azure.com/.
- In the dashboard, choose to create a resource and click on Integration. Now, select "Logic App".

Step 2
Enter the name you want to assign to the logic. Select the subscription and resource group where you organize the related resources and location where your logic app is stored. Then, click on "Create".

Here is the dashboard. Click "Logic App Designer".

Step 3 - Choosing the template
Now, choose the template "Blank Logic App".

Step 4 - Mapping the Twitter account
- Search for twitter

- Choose the triggers

- Next, we sign in.

- We give permission to access our accounts.

- Next, set the Specific Keyword ( Eg. #cognitiveinlogicapp) which you want to store that specific tweet to Blob. And then, give the time interval and frequency for checking the workflow as three seconds.

Step 5
Configure the Text Analytics for detecting the Language of the tweet.
- Search for Azure Cognitive service for Language.

- Choose the Action.

We will get

- After that, Configure with Azure Cognitive service for Language – Account Key & URL.

- Configure the conditions like document id as Tweet id and document text as Tweet text.

Step 6 - Configure the Condition.
- Configure the condition

- Then,

- Now, it looks like this

- Choose a value as name and its equal to English

- Next, click on add an action in True

- Configure blob storage

- Choose the action

- Now, it look like this

- Add the folder path as twitterinenglish

- Then, choose blob name and blob content

- Now, configure False condition

- Choose Azure blob storage

- Choose an action

- Mapping the folder to twitter in other language container

Now, the Condition will look like this,

- The final workflow will be like this.

Now, let us save and run the workflow.
Output
Run the Logic App

Its successfully run

Expand the Detect Language

Expand the condition block

Just refresh the blob storage to see the result. Now, copy the link

Summary
I hope you understood how to split and store the different language tweets in blob storage Using Azure Logic App. Stay tuned for more Logic App articles.

Join the conversation! Your thoughts help the community grow.