Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (2023)

  • Article
  • 11 minutes to read

Applies to:Azure Logic Apps (Verbraucher)

This quickstart shows you how to create a sample automated workflow that integrates two services, an RSS feed for a website and an email account. More specifically, it will create oneconsumptionLogic app function and workflow are runningGlobal and multi-tenant Azure Logic Apps.

Use

To create a workflow in a standard logic app resource running on single-tenant Azure Logic Apps, seeCreate a single-tenant Azure Logic Apps integration workflow.For more information on multi-tenant and single-tenant Azure Logic Apps, seeSingle-Tenant- vs. Multi-Tenant-Integrationsdienstumgebung.

The workflow you created uses both the RSS connector and the Office 365 Outlook connector. The RSS Connector provides a trigger that checks an RSS feed based on a schedule. The Office 365 Outlook Connector provides an action that sends an email for each new item. The connectors in this example are just two of themHundreds of connectionsthat you can use in a workflow. Although this sample is cloud-based, Azure Logic Apps supports workflows that connect apps, data, services, and systems across cloud, on-premises, and hybrid environments.

The following screenshot shows the sample high-level workflow:

Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (1)

As you work through this quickstart, you will learn the following basic steps:

  • Create a Consume Logic App resource running on multi-tenant Azure Logic Apps.
  • Select the blank logic app template.
  • Add a trigger that indicates when the workflow should run.
  • Add an action that runs a task after the trigger fires.
  • Run your workflow.

To create and manage a Consume Logic Apps resource using other tools, see these other Azure Logic Apps quickstarts:

  • Build and manage logic apps in Visual Studio Code
  • Build and manage logic apps in Visual Studio
  • Build and manage logic apps with the Azure CLI

previous requirements

  • An Azure account and subscription. If you don't have a subscription,Sign up for a free Azure account.

  • An email account from a service that works with Azure Logic Apps, e.g. B. Office 365 Outlook or Outlook.com. For information about other supported email providers, seeConnectors for Azure Logic Apps.

    Use

    If you want to use theconector tun gmail, only G Suite accounts can use this connector in Azure Logic Apps without restrictions. If you have a personal Gmail account, you can only use this connector with certain Google-approved services, unless youCreate a Google client app to authenticate with your Gmail connector. For more information, seeData security and privacy policies for Google Connectors in Azure Logic Apps.

  • If you have a firewall that restricts traffic to specific IP addresses, make sure you configure your firewall to allow access to bothVerbotenjoutgoingIP addresses used by Azure Logic Apps in the Azure region where you create your logic app workflow.

    This example uses the RSS and Office 365 Outlook connectorsmanaged by Microsoft. These connectors require you to configure your firewall to allow all accessOutbound IP addresses of the managed connectorin the Azure region for your logic app resource.

Create a consuming logic app resource

  1. login inblue portalwith your Azure account.

  2. Type in the Azure search boxLogic-Appsand selectLogic-Apps.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (2)

  3. About itLogic-Appspage, selectAdd to.

    (Video) Quickstart: Create your first automated integration workflow by using Azure Logic Apps- Azure portal

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (3)

  4. About itCreate logic appmake sure you select the plan type for your logic app feature first.

    go toPlanosection and then toplanttype, chooseconsumption, which shows only the settings for a consuming logic app resource. HeplanttypeThe property specifies the resource type and the logic app's billing model to use.

    planttypeDescription
    StandardThis logic app type is the default choice that runs on single-tenant Azure Logic Apps and theStandard billing model.
    consumptionThis type of logic app runs on global multi-tenant Azure Logic Apps and uses theconsumption billing model.
  5. Now provide the following information for your Logic Apps resource:

    PropertyMandatoryValentinaDescription
    enrollmentSim<Name of Azure-Subscriptions>Your Azure subscription name.
    resource groupSim<Azure resource group name>IsAzure resource groupwhere you create your logic app and associated resources. This name must be unique across all regions and can only contain letters, numbers, hyphens (-), underlines (_), brackets (()) and periods (.).

    This example creates a resource group namedMy-First-LA-RG.

    Logic app nameSim<logic application name>The name of your logic app, which must be unique across all regions and contain only letters, numbers, dashes (-), underlines (_), brackets ((,)) and periods (.).

    This example creates a logic app namedMy first logic app.

    RegionSim<blue region>The Azure data center region to store your application's information. This sample deploys the sample logic appwestern United StatesRegion in Azure.
    Enable log analysisSimNOThis option only appears and applies when you selectconsumptionLogic App Type.

    Change this option only if you want to enable diagnostic logging. Keep the default selection for this quickstart.

    Use

    If you selected an Azure region that supports Availability Zone Redundancy, thezone redundancyThe section will be activated automatically. This preview section provides the option to enable Availability Zone redundancy for your logic app. However, currently supported Azure regions do not includewestern United States, so you can skip that section for this example. For more information, seeProtect logic apps from regional failures with availability zones and zone redundancy.

    When you're done, your configuration will look like this:

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (4)

  6. When you're done, selectReview + Create.

  7. On the validation page that appears, confirm all the information provided and selectCreate.

Choose a blank template

  1. After Azure has successfully deployed your application, selectgo to the resource. Or search for and select your logic app resource by typing its name in the Azure search box.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (5)

    The designer template page opens to show an introductory video and commonly used triggers.

  2. Scroll down past the video and section viewedStart with an ordinary trigger.

  3. Lowmodels, chooseblank logic app.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (6)

    After selecting the template, the designer displays an empty workflow.

Add triggers

A workflow always begins with a singleDeduction, which specifies the condition that must be met before any action in the workflow occurs. Each time the trigger fires, Azure Logic Apps creates and runs a workflow instance. If the trigger doesn't fire, no instances are created or run. You can start a workflow by choosing from several different triggers.

This example uses an RSS trigger that checks an RSS feed based on a schedule. When the feed contains a new item, the trigger fires and a new workflow instance runs. If there are multiple new items between checks, the trigger fires for each item and a new separate workflow instance runs for each item.

  1. Select in the designer's search boxat.

  2. Type in the designer's search boxRSS. SincetriggersList, select the called RSS triggerWhen a feed item is published.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (7)

    (Video) Azure Logic Apps -1 | Introduction | Create first Logic App | Step by Step Guide | Business WorkFlow

  3. Provide the following information for the trigger:

    PropertyMandatoryValentinaDescription
    A URL feeds RSSSim<RSS-Feed-URL>The URL of the RSS feed to monitor.

    This example uses the Wall Street Journal RSS feed athttps://feeds.a.dj.com/rss/RSSMarketsMain.xml. However, you can use any RSS feed that does not require HTTP authorization. Choose an RSS feed that is published frequently so you can easily test your workflow.

    The selected property is used for determinationNOrelease dateThe property that determines which elements are new.
    IntervalSim1The number of wait times between feed checks.

    This example uses1like the break.

    frequencySimProtocolThe frequency unit to use for each interval.

    This example usesProtocollike the frequency.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (8)

  4. For now, gather the details of the trigger by clicking in the title bar.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (9)

  5. Select on the designer toolbarSave on computerto store your logic app, which is immediately activated in the Azure portal.

    The activator does nothing but check the RSS feed. So you need to add an action that defines what happens when the trigger fires.

add an action

After a trigger, aactionis each subsequent step that performs an operation in the workflow. Each action can use the outputs of the previous step, which can be the trigger or another action. You can choose from many different actions, add multiple actions up to theLimit pro Workflow, and even create different procedures.

This example uses an Office 365 Outlook action that sends an email when the trigger for a new RSS feed item fires. If there are multiple new articles between reviews, you will receive multiple emails.

  1. Under theWhen a feed item is publishedactivate, selectnew step.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (10)

  2. Under thechoose an operationSelect search fieldat.

  3. Type in the search boxsend an email. to filterBehaveList for a specific application or service, first select the icon for that application or service.

    For example, if you have a Microsoft work or school account and want to use Office 365 Outlook, selectOutlook macht Office 365. Or choose if you have a personal Microsoft accountOutlook.com. This example continues with Office 365 Outlook.

    Use

    If you use another supported email service in your workflow, the user interface might look slightly different. However, the basics of connecting to a different email service remain the same.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (11)

    Now you can find and select the action you want more easily, e.g. B.Send an email:

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (12)

  4. If you need to sign up for the selected email service and authenticate your identity, do this step now.

    Many connectors require you to connect and authenticate your identity before proceeding.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (13)

    Use

    This example shows manual authentication to connect to Office 365 Outlook. However, other services may support or use other types of authentication. Depending on your scenario, you can handle connection authentication in different ways.

    For example, if you use Azure Resource Manager templates for your deployment, you can increase security for frequently changing entries by parameterizing values ​​such as connection details. For more information, see the following documentation:

    • Template parameters for deployment
    • Authorize OAuth connections
    • Authenticate access with managed identities
    • Authenticate connections for logic app deployment
    (Video) Build automated workflows with Logic Apps on Azure Government
  5. NOSend an emailAction, specify the information to be included in the email.

    1. NOAEnter the email address of the recipient. Use your email address for this example.

      Use

      Isadd dynamic contentThe list appears when you click in theABox and other boxes for specific types of input. This list shows the results of previous steps that you can select as inputs for the current action. You can ignore this list for now. The next step uses the dynamic content list.

    2. NOThemeEnter the subject of the email. For this example, enter the following text with a trailing space:New RSS item:

      Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (14)

    3. Sinceadd dynamic contentlist, belowWhen a feed item is published, chooseFeed-Titel.

      The feed title is a trigger output that references the title of the RSS item. Your email uses this output to display the title of the RSS item.

      Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (15)

      Advice

      In the dynamic content list when there are no issues from thatWhen a feed item is publishedSelect triggers next to the action headerSee more.

      Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (16)

      When you're done, the subject of the email will look like this example:

      Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (17)

      Use

      It is aFor everyLoop shown in the designer, so you've selected an output that references an array, such asArticle CategoriesProperty. For this output type, the designer automatically adds theFor everyCircle the action that references the output. That way, your workflow will perform the same action on each item in the array.

      To delete the loop, select the ellipses (...) and then selectExtinguish.

      (Video) Introduction to Azure Logic Apps

    4. NOBodyIn the field, enter the content of the email body.

      In this example, the body contains the following properties, preceded by descriptive text for each property. To insert blank lines in an edit box, press Shift + Enter.

      descriptive textPropertyDescription
      Title:Feed-TitelThe title of the article
      Release date:feed posted onDate and time the article was published.
      Shortcut:main power connectionURL tun Artikel

      Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (18)

  6. Save your logic app. Select on the designer toolbarSave on computer.

Run your workflow

To verify that the workflow is running correctly, you can wait for the trigger to check the RSS feed according to the defined schedule. Or you can run the workflow manually from the designer toolbar.

  • open thistrigger executionmenu and selectRun.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (19)

If the RSS feed contains new items, your workflow will send an email for each new item. Otherwise, your workflow will wait until the next interval to check the RSS feed again.

The screenshot below shows a sample email sent by the sample workflow. The email includes the details of each trigger output you selected, along with descriptive text for each item.

Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (20)

solve problems

If you're not receiving workflow emails as expected:

  • Check the junk or spam folder of your email account if the message was improperly filtered.

  • Make sure the RSS feed you are using has published articles since the last scheduled or manual check.

clean resources

When you are finished with this quickstart, delete the sample logic app resource and all related resources by deleting the resource group that you created for this sample.

  1. Type in the Azure search boxresource groupsand then selectresource groups.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (21)

  2. Locate and select the resource group for your logic app. About itgeneral descriptionpanel, selectDelete resource group.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (22)

  3. When the confirmation box appears, enter the resource group name and selectExtinguish.

    Quickstart: Create an automated workflow with the Azure portal - Azure Logic Apps (23)

Next Steps

In this quickstart, you created your first logic app workflow in the Azure portal to query an RSS feed and send an email for each new item. For more information about advanced scheduled workflows, see the following tutorial:

Control traffic with a schedule-based logic app workflow

(Video) Azure Logic Apps Tutorial

FAQs

Which Azure serverless computing technology provides the ability to execute workflows to automate business scenarios by using triggers without writing any code? ›

Azure Logic Apps is a cloud platform where you can create and run automated workflows with little to no code.

Which logic apps use workflows to automate business processes? ›

Azure Logic Apps is a serverless application that enables users to integrate applications and define workflows; the user can schedule or automate business processes and workflow.

Which Azure app service offering allows you to develop workflows visually and enables process automation based on triggers or third party application integration s )? ›

Azure Logic Apps is a cloud service that helps you schedule, automate, and orchestrate tasks, business processes, and workflows when you need to integrate apps, data, systems, and services across enterprises or organizations.

What is the difference between Azure logic apps and workflow? ›

Azure Functions is a serverless compute service, while Logic Apps represents a serverless workflow. In Azure Functions, the event triggers the code; in Logic Apps, the event triggers the workflow. Overall, Logic Apps enables serverless applications to automate and orchestrate business processes and workflows.

Which Azure services are used for integration and automation of business workflows? ›

Microsoft Azure provides several different ways to host and execute code or workflows without using Virtual Machines (VMs) including Azure Functions, Microsoft Power Automate, Azure Logic Apps, and Azure WebJobs.

Which tool can be used to automate steps when adding an Azure cloud account? ›

Azure Automation is a new service in Azure that allows you to automate your Azure management tasks and to orchestrate actions across external systems from right within Azure. It is built on PowerShell Workflow, so you can take advantage of the language's many features.

What is the difference between Power Automate and Azure logic apps? ›

Logic Apps and Power Automate are low code/no code products developed by Microsoft. While Power Automate allows users to automate Microsoft 365, Logic Apps allow users to automate not only Microsoft 365, but also Azure.

What are the two main features provided by the Microsoft Azure automation service? ›

Configuration Management in Azure Automation is supported by two capabilities: Change Tracking and Inventory.

Which Azure DevOps service lets you create continuous workflows to build test and deploy code to production? ›

Azure Pipelines automatically builds and tests code projects. It supports all major languages and project types and combines continuous integration, continuous delivery, and continuous testing to build, test, and deliver your code to any destination.

Which Azure product is used to run automated playbooks in response to alerts? ›

Playbooks in Microsoft Sentinel are based on workflows built in Azure Logic Apps, a cloud service that helps you schedule, automate, and orchestrate tasks and workflows across systems throughout the enterprise.

What are the three ways to automate a process? ›

There are three ways to automate a process:
  • Automate individual tasks.
  • Automate an entire process.
  • Automate a process by using software and hardware.
Dec 31, 2022

What is an example of workflow automation? ›

Workflow automation can promote task management by creating to-dos out of emails. For example, if someone sends you an email in Gmail, that email can then be repurposed into a task inside Basecamp — automatically, of course.

Can logic app have multiple workflows? ›

A single logic app can have multiple stateful and stateless workflows. Workflows in a single logic app and tenant share the same processing (compute), storage, network, and so on.

What are the disadvantages of Azure logic apps? ›

Likes and dislikes about Azure Logic Apps

Slow and clunky designer/development experience. Confusing split of capability / lack of parity between Standard and Consumption SKUs. Quickly runs out of steam and becomes hard to manage when trying to implement complex workflows.

What is Azure logic apps examples? ›

Azure Logic Apps helps you orchestrate and integrate different services by providing hundreds of ready-to-use connectors, ranging from SQL Server or SAP to Azure Cognitive Services. The Logic Apps service is "serverless", so you don't have to worry about scale or instances.

What is workflow in logic apps? ›

A workflow definition always includes a trigger for instantiating your logic app, plus one or more actions that run after the trigger fires. The definitions for one or more actions to execute at workflow runtime. For more information, see Triggers and actions.

Why do we use logic apps in Azure? ›

Azure Logic Apps is a leading integration platform as a service (iPaaS) built on a containerized runtime. Deploy and run Logic Apps anywhere to increase scale and portability while automating business-critical workflows anywhere.

Which tool can be used for automating workflows? ›

Zapier: Best Workflow Automation Software for Connecting Apps. With the ability to connect to and share data with over 1,000 web apps, like Facebook, QuickBooks, and Google Drive, Zapier can automate almost any type of business process.

What is Azure automation process? ›

Azure automation is a service that allows for orchestrating and automating a series of different Azure-specific tasks via Automation Runbooks. It includes all tasks and processes that enable Azure system to react and adjust its operations and performance in accordance with the requirements, event or issue.

Which Azure service can be used for automation? ›

Use Azure Configuration Management to monitor and automatically update machine configuration across physical and virtual machines, Windows, or Linux—in the cloud or on-premises.

What is the first step of an automated cloud flow in Power Automate? ›

First, you will need to select what event, or trigger, starts your flow. In Power Automate, select My flows from the navigation bar on the left. Select New, and then select Automated-from blank. Give your flow a name in the Add a name or we'll generate one field.

Which of the following Azure tools you should use if you need to automate a set of complex or repetitive tasks? ›

Azure Automation orchestrates repetitive processes using graphical, PowerShell, and Python runbooks in the cloud or hybrid environments.

Should I use Power Automate or logic apps? ›

Both offer a great way to automate business processes, but which one is better? Power Automate has some clear advantages over Logic Apps. First of all, Power Automate is much easier to use. The user interface is more intuitive and user-friendly, and it requires less code to get started.

How do I call logic apps from Power Automate? ›

From your logic app's menu, select Export. On the Export pane, for Name, enter a name for the custom connector to your logic app. From the Environment list, select the Power Automate or Power Apps environment from which you want to call your logic app. When you're done, select OK.

Is logic apps and Power Automate same? ›

Azure Logic Apps provide a user-friendly designer surface similar to Power Automate with the option to build complex integration solutions, utilise advanced development tools, DevOps and monitoring, if required.

How do I deploy logic app workflow Azure DevOps? ›

  1. Step 1 – Creating the Logic App infrastructure ARM template. ...
  2. Step 2 – Creating the Managed connections ARM template. ...
  3. Step 3 – Setup the Infrastructure as Code (IaC) pipeline. ...
  4. Step 4 – Setup the CI pipeline.
  5. Step 5 – Setup the CD pipeline.
Jun 23, 2022

How do I create a custom workflow in Azure DevOps? ›

Open Settings>Process
  1. Choose the Azure DevOps logo to open Projects. Choose the project collection whose processes you want to customize, and then choose Collection Settings.
  2. Then, choose Process.
Oct 4, 2022

What is workflow in logic app? ›

Workflow in an Azure Logic App is a sequence of actions or processes defined in steps. The actions will perform the business operations when input is provided through the managed connectors. Every workflow will be initiated by the trigger being fired.

Can a logic app have multiple workflows? ›

Using the Logic App (Standard) resource type, you can create and run multiple workflows in the same single logic app resource and tenant. With this 1-to-many mapping, these workflows share resources, such as compute, processing, storage, and network, providing better performance due to their proximity.

What is the difference between power automate and logic apps? ›

The main difference between Power Automate and Logic Apps is that Power Automate is a Robotic Process Automation tool while Logic Apps is an Integration Platform as a Service. Both tools can be used to automate business processes, but they differ in terms of the scale and scope of automation possible.

How do I deploy code to logic app? ›

To deploy it, click on create release. Select the build number to be deployed and then click to create it. Then click deploy. The deployment will start, after the Azure subscription-based Logic App is created, or if it is already created, then it will be updated with the checked-in template.

How do you create a workflow process in 5 easy steps? ›

How To Write a Workflow
  1. Define Current Resources and Processes. ...
  2. Outline Your Workflow Steps. ...
  3. Select an Easy-To-Use Online Workflow Tool. ...
  4. Design a Step by Step Workflow With the Tool. ...
  5. Test the New Business Workflow. ...
  6. Train Everyone To Use the New Workflow.

What are the steps to create a workflow? ›

Here is a 5-step framework to help you build any workflow.
  1. Step 1: Establish boundaries. The single most important thing to remember about workflows is that they need clearly defined beginnings and endings. ...
  2. Step 2: Identify components. ...
  3. Step 3: Organize the sequence. ...
  4. Step 4: Review handoffs. ...
  5. Step 5: Optimize your workflow.
Sep 28, 2021

What is the best way to create a workflow? ›

Steps to Create a Workflow Online
  1. Identify your resources.
  2. List out the tasks that should be accomplished.
  3. Find out who is accountable for each step and assign roles.
  4. Create a workflow diagram to visualize the process.
  5. Test the workflow you created.
  6. Train your team on the new workflow.
  7. Deploy the new workflow.

What are the 3 basic components of workflow? ›

The three basic components of a workflow diagram are input, transformation, output. Every step within a workflow is assigned one of these statuses.

What are the four types of workflow actions? ›

There are four different Rule Actions allowed in Workflow Rules:
  • Create a Task.
  • Send an Email Alert.
  • Send an Outbound Message.
  • Update a Record.
Jan 2, 2020

What is the limit of logic app standard workflow? ›

For Standard logic app workflows, you can decrease or increase the 90-day default limit, but you need to add the following settings and their values to your logic app resource or project: An app setting named Workflows.

Can logic app have multiple triggers? ›

As per MSDN, you can't trigger the logic app once for multiple file uploads when you set a trigger like "When a blob is added".

Videos

1. How to use Logic Apps in Microsoft Cloud Azure to automate your business process
(Arthur Wang)
2. Introduction to Azure Automation
(Travis Roberts)
3. Azure logic Apps | First Workflow Creation | #2
(HiToAI)
4. 03. All about Logic App workflow
(Bee a Learner 🐝🌨️)
5. Send automatic email using Azure Logic App
(Sidou Mahmoud)
6. How to Create Standard LogicApps Using ARM Template
(The Techie Talk)

References

Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated: 07/03/2023

Views: 5619

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.