Azure Logic Apps
Logic App is a cloud-based service. It 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,
Here, we will see how to convert specific Twitter tweets from one language to another language automatically.
Prerequisites
- Microsoft Azure Account.
- Twitter Account.
- OneDrive.
Follow the below steps to build a workflow using a template.
Step 1
Log into https://portal.azure.com/
- In the dashboard, search for "Microsoft Translator" and click on "Translator Text".
- Enter the name, subscription, pricing tier, and resource group for the Translator Text API. Then, click on "Create".
- Under Keys, you have keys for accessing the Translator Text.
Step 2
Now, let us create the Logic App for converting the specific tweet into an audio file and storing it on the OneDrive.
- In the dashboard, choose to create a resource and click on Integration. Now, choose Logic App.
- Enter the name you want to assign to the logic, choose the subscription, resource group where you organize related resources, and location where your logic app is stored. Then, click on "Create".
- Here is the dashboard. Click on Logic App Designer.
Step 3
Now, click on the Blank Logic App.
Step 4
Configure the data by signing into Twitter and OneDrive.
- Search Twitter on the search bar.
- Give permission to access our accounts.
- Next, set the specific keyword ( Eg. #Azure) for which you want to convert that specific tweet from one language to another language . And then, give the time interval and frequency for checking the workflow as one minute.
Step 5
Configure the Text Analytics for detecting the sentiment of the tweet.
- After that, given the Cognitive Service Connection name and key.
Step 6
- Next, we want to save the file. So, search for Excel Online.
- Then, choose an Action for the workflow.
- Next, choose the folder path, file name, and file content for saving the tweet.
Choose the column and required field
- The final workflow will be like this.
Step 6
Now, we need to save the workflow and run it.
Output
Send a Tweet with a specific hashtag.
Now, the Original Tweet converts from English to Tamil and is saved on Excel File in OneDrive.
Translated Tweet
Summary
I hope you understood how to convert a tweet from one language to another language about a specific hashtag into an Excel file and save that automatically into OneDrive. Stay tuned for more.