Building automated workflows on Azure Government with Logic Apps
Azure Logic Apps allows users to automate and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations. Logic Apps simplifies how you design and build scalable solutions with an easy to use drag-drop user interface and hundreds of pre-built connectors allowing easy integration with other applications and services.
The video below shows several examples of working with Azure Logic Apps in Azure Government. We start out by creating a workflow from scratch using a scheduling trigger. Every logic app workflow starts with a trigger, which fires when a specific event happens, or when new available data meets specific criteria. Many triggers include basic scheduling capabilities so that you can specify how regularly your workloads run. Our trigger then connects to an RSS news feed, iterates through each news article, and translates it to English using the Text Translation connector. We then construct a custom JSON object which we write to a Cosmos Database. Lastly, we have a condition that if the summary contains the word “Azure”, using an O365 Connector an email will be sent with the article. We then walk through a second workflow that uses a Twitter trigger, which allows for easily pulling tweet data from Twitter using the search term #Azure. We translate our tweet, then send the text to Cognitive Services’ Sentiment Analysis API. We connect to an Azure function that gets the keyword phrases through the Text Analytics API and formats the response. All of these data points are then written to a streaming dataset in Power BI, where we can build visualizations to analyze our data. Lastly if that sentiment analysis score is less than 0.3, the tweet is written to a Teams Channel.
Through these two examples we have shown some of the various connectors that are available to use when building out a Logic App workflow. By following the video below you can have a Logic App workflow running in a matter of minutes!