Create a Standard logic app workflow from a prebuilt template (Preview)

Important

This capability is in preview and is subject to the Supplemental Terms of Use for Microsoft Azure Previews.

Applies to: Azure Logic Apps (Standard)

Azure Logic Apps gives you a faster way to start creating integration applications by providing prebuilt templates to use when you build Standard workflows in the Azure portal. These workflow templates follow commonly used patterns and help you streamline development because they offer a starting point or baseline with predefined business logic and configurations.

The following screenshot shows the templates gallery from which you can create a Standard workflow:

Screenshot shows Azure portal and workflow templates gallery for Standard workflows.

This how-to guide shows how to use a template to kickstart your workflow.

Limitations

Workflow templates are currently available only for Standard logic apps and single workflows.

Prerequisites

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

  • A Standard logic app resource. For more information, see Create an example Standard logic app workflow.

  • Access or sign-in credentials for each connection that the template creates for the workflow.

  • To authenticate access for connections that support using a managed identity, you need to set up your logic app resource and the managed identity with the necessary permissions.

    A managed identity provides the best option for keeping your data secure because you don't need to provide account or user credentials to sign in. Azure manages this identity and removes the burden on you to rotate credentials, secrets, access tokens, and so on. The managed identity option also reduces security risks because unauthorized users don't have access to your sign-in details.

    Before you can use a managed identity for authentication, you need to set up your logic app resource and the managed identity with the necessary permissions. For more information, see the following documentation:

  1. In the Azure portal, open your Standard logic app resource.

  2. On the logic app menu, under Workflows, select Workflows.

  3. On the Workflows page toolbar, select Add > Add from Template, which opens the Templates gallery.

  4. Browse the gallery or find the template you want by using the search box or filters.

  5. Select your template, which opens the templates overview pane, which summarizes the workflow's purpose.

    • The Workflow tab shows a preview for the workflow that the template creates.

    • The Summary tab shows more detailed information, such as any connections, prerequisites, and more information about the workflow.

    The following example shows the Workflow tab and Summary tab for a template information pane:

    Screenshot shows template information with Workflow and Summary tabs.

  6. Select Use this template.

Create connections for the workflow

After the Create a new workflow pane appears, the Connections tab lists any connections that the template needs to create.

  1. To create each listed connection, in the Connection column, select Connect.

  2. For each connection type, follow the prompts to provide the necessary connection information.

    If a connection type supports using a managed identity to authenticate access, choose this option.

  3. When you finish, select Next or the Parameters tab.

Enter values for action parameters

  1. On the Parameters tab, provide the necessary values for various action parameters in the workflow.

    The parameters on this tab vary, based on the actions that appear in the workflow template.

  2. When you finish, select Next or the Name + state tab.

Provide other workflow information

  1. On the Name + state tab, under Workflow name, provide the name to use for your workflow.

  2. Under State type, select either Stateful or Stateless, which determines whether to record the run history, inputs, outputs, and other data for the workflow.

    For more information, see Stateful and stateless workflows.

  3. When you finish, select Next or the Review + create tab.

Review details and create workflow

  1. On the Review + create tab, review all the provided information for your workflow.

  2. When you're ready, select Create.

  3. When Azure finishes creating your workflow, select Go to my workflow.

View the workflow in the designer

  1. On the workflow menu, under Developer, select Designer to view the workflow.

  2. Continue working on the workflow by adding or removing the operations that you want.

  3. Make sure to provide the information necessary for each operation.

Create and publish workflow templates for Azure Logic Apps