Azure Logic Apps Tutorial

Share

Summary

This tutorial provides an introduction to Azure Logic Apps, a service that allows you to schedule, automate, and orchestrate tasks across various services in Azure. The video covers the basics of how Logic Apps work, including actions, triggers, and the use of connectors. It also demonstrates how to create a simple Logic App to respond to HTTP requests and integrate with Azure Blob Storage and Outlook.

Highlights

Introduction to Azure Logic Apps
00:00:00

Azure Logic Apps is a service for scheduling, automating, and orchestrating tasks and business flows across multiple services in Azure. It allows you to create workflows for ETL processes, email notifications, and integrations with services like SharePoint or Blob Storage. Logic Apps are essentially workflow services that enable enterprise integrations.

How Logic Apps Work: Actions and Triggers
00:00:58

Every step in a Logic App is an action, which can be sequential or include conditions for more complex logic. Each action has an input and an output, allowing data to be passed between steps. Logic Apps start with a trigger, which can be a web request, a schedule, an Office 365 event, or a blob storage event. There are over 200 connectors available for various integrations.

Demo 1: Basic HTTP Request and Response Logic App
00:03:46

This section demonstrates creating a simple Logic App that responds to an HTTP GET request with 'Hello World'. The process involves creating a new Logic App resource, selecting a blank Logic App, adding an 'When a HTTP request is received' trigger, configuring it for a GET request, and adding a 'Response' action. The video shows how to save, test, and view the execution history of the Logic App.

Enhancing the Logic App: Passing Parameters
00:11:02

The tutorial then enhances the basic Logic App to accept a 'name' parameter in the URL and use it in the response (e.g., 'Hello Adam'). This demonstrates how to configure relative paths for parameters in the trigger and how to dynamically use outputs from previous steps in subsequent actions.

Demo 2: Integrating with Azure Blob Storage
00:13:08

This part shows how to integrate the Logic App with Azure Blob Storage. It involves creating a new storage account and a container. Then, an action is added to the existing Logic App to 'Create blob' in the storage account, saving the name parameter from the HTTP request as a text file with 'Hello [Name]' content. The video demonstrates how to set up the connection to Blob Storage and verify the created file.

Demo 3: Triggering on New Blobs and Sending Emails with Outlook
00:19:18

A new Logic App is created to demonstrate reacting to new files on Blob Storage. The trigger 'When a new blob is added or modified' is configured to monitor the created container. An 'Send an email' action using Outlook.com is then added, sending an email with the file's name and URL. The tutorial highlights the API connection creation for Outlook and the importance of checking the trigger frequency to manage costs.

Conclusion and Best Practices
00:25:03

The video concludes by summarizing the versatility of Logic Apps in creating function chaining and integrations without extensive technical knowledge. A key reminder is given to adjust the frequency of scheduled triggers (like the blob monitoring trigger) back to minutes or hours to avoid unnecessary costs, as Logic Apps can be expensive if overused for frequent, short-interval tasks.

Recently Summarized Articles

Loading...