|
| 1 | +--- |
| 2 | +title: Create workflows from prebuilt templates |
| 3 | +description: Learn to use a prebuilt template as a starting point for building workflows that run in Azure Logic Apps. |
| 4 | +services: azure-logic-apps |
| 5 | +ms.suite: integration |
| 6 | +ms.reviewer: estfan, azla |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 07/03/2025 |
| 9 | +# Customer intent: As a developer, I want to use a template as a faster way to build my workflows that run Azure Logic Apps. |
| 10 | +--- |
| 11 | + |
| 12 | +# Create workflows from prebuilt templates in Azure Logic Apps |
| 13 | + |
| 14 | +[!INCLUDE [logic-apps-sku-consumption-standard](../../includes/logic-apps-sku-consumption-standard.md)] |
| 15 | + |
| 16 | +Azure Logic Apps provides prebuilt templates so that you can more quickly build workflows for integration solutions by using the Azure portal. These templates follow commonly used workflow patterns and help you streamline development because they offer a starting point or baseline with predefined business logic and configurations. |
| 17 | + |
| 18 | +For example, the following screenshot shows the workflow templates gallery for creating Standard logic app workflows: |
| 19 | + |
| 20 | +:::image type="content" source="media/create-workflows-from-templates/templates-gallery.png" alt-text="Screenshot shows Azure portal and workflow templates gallery for Standard workflows." lightbox="media/create-workflows-from-templates/templates-gallery.png"::: |
| 21 | + |
| 22 | +This guide shows how to use a template to kickstart your workflow. |
| 23 | + |
| 24 | +## Prerequisites |
| 25 | + |
| 26 | +- An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 27 | + |
| 28 | +- A Standard or Consumption logic app resource with a blank workflow. |
| 29 | + |
| 30 | + For more information, see the following articles: |
| 31 | + |
| 32 | + - [Create an example Standard logic app workflow](create-single-tenant-workflows-azure-portal.md) |
| 33 | + - [Create an example Consumption logic app workflow](quickstart-create-example-consumption-workflow.md) |
| 34 | + |
| 35 | +- Access or sign-in credentials for each connection that the template creates for the workflow. |
| 36 | + |
| 37 | +- 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. |
| 38 | + |
| 39 | + 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. |
| 40 | + |
| 41 | + 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: |
| 42 | + |
| 43 | + - [What are managed identities for Azure resources](/entra/identity/managed-identities-azure-resources/overview)? |
| 44 | + |
| 45 | + - [Authenticate access to Azure resources with managed identities in Azure Logic Apps](authenticate-with-managed-identity.md?tabs=standard) |
| 46 | + |
| 47 | +## Select a template from the gallery |
| 48 | + |
| 49 | +To find and choose a template for your workflow, follow the corresponding steps for your Consumption or Standard logic app. |
| 50 | + |
| 51 | +### [Consumption](#tab/consumption) |
| 52 | + |
| 53 | +1. In the [Azure portal](https://portal.azure.com), open your Consumption logic app resource. |
| 54 | + |
| 55 | +1. On the sidebar menu, under **Development Tools**, select **Logic app templates**, which opens the templates gallery. |
| 56 | + |
| 57 | +1. In the gallery, from the **Subscriptions** list, select the Azure subscriptions associated with the templates that you want to view, for example: |
| 58 | + |
| 59 | + :::image type="content" source="media/create-publish-workflow-templates/subscription-filter.png" alt-text="Screenshot shows Azure portal, templates gallery for Consumption workflow, and Subscriptions list filtered with example Azure subscriptions." lightbox="media/create-publish-workflow-templates/subscription-filter.png"::: |
| 60 | + |
| 61 | + > [!NOTE] |
| 62 | + > |
| 63 | + > You can view only the workflow templates in the Azure subscriptions where you have access. |
| 64 | +
|
| 65 | +1. Find and select the template you want by using the search box or other filters. |
| 66 | + |
| 67 | +1. Select your template, which opens the templates overview pane where you can review the workflow's purpose. |
| 68 | + |
| 69 | + - The **Summary** tab shows more detailed information, such as any connections, prerequisites, and more information about the workflow. |
| 70 | + |
| 71 | + - The **Workflow** tab shows a preview for the workflow that the template creates. |
| 72 | + |
| 73 | + The following example shows the **Summary** tab and **Workflow** tab for a template information pane: |
| 74 | + |
| 75 | + :::image type="content" source="media/create-workflows-from-templates/template-information.png" alt-text="Screenshot shows template information with Summary and Workflow tabs." lightbox="media/create-workflows-from-templates/template-information.png"::: |
| 76 | + |
| 77 | +1. Select **Use this template** and continue to the next section. |
| 78 | + |
| 79 | +### [Standard](#tab/standard) |
| 80 | + |
| 81 | +1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource. |
| 82 | + |
| 83 | +1. On the sidebar menu, under **Workflows**, select **Workflows**. |
| 84 | + |
| 85 | +1. On the **Workflows** page toolbar, select **Add** > **Add from Template**, which opens the **Templates** gallery. |
| 86 | + |
| 87 | +1. In the gallery, from the **Subscriptions** list, select the Azure subscriptions associated with the templates that you want to view, for example: |
| 88 | + |
| 89 | + :::image type="content" source="media/create-publish-workflow-templates/subscription-filter.png" alt-text="Screenshot shows Azure portal, templates gallery for Standard workflow, and Subscriptions list filtered with example Azure subscriptions." lightbox="media/create-publish-workflow-templates/subscription-filter.png"::: |
| 90 | + |
| 91 | + > [!NOTE] |
| 92 | + > |
| 93 | + > You can view only the workflow templates in the Azure subscriptions where you have access. |
| 94 | +
|
| 95 | +1. Find and select the template you want by using the search box or other filters. |
| 96 | + |
| 97 | +1. Select your template, which opens the templates overview pane where you can review the workflow's purpose. |
| 98 | + |
| 99 | + - The **Summary** tab shows more detailed information, such as any connections, prerequisites, and more information about the workflow. |
| 100 | + |
| 101 | + - The **Workflow** tab shows a preview for the workflow that the template creates. |
| 102 | + |
| 103 | + The following example shows the **Summary** tab and **Workflow** tab for a template information pane: |
| 104 | + |
| 105 | + :::image type="content" source="media/create-workflows-from-templates/template-information.png" alt-text="Screenshot shows template information with Workflow and Summary tabs." lightbox="media/create-workflows-from-templates/template-information.png"::: |
| 106 | + |
| 107 | +1. Select **Use this template** and continue to the next section. |
| 108 | + |
| 109 | +--- |
| 110 | + |
| 111 | +## Provide information about your workflow |
| 112 | + |
| 113 | +1. In the **Create a new workflow from template** pane appears, on the **Basics** tab, provide the following information about your workflow: |
| 114 | + |
| 115 | + | Parameter | Required | Description | |
| 116 | + |-----------|----------|-------------| |
| 117 | + | **Workflow name** | Yes | Enter the name to use for your workflow. | |
| 118 | + | **State type** | Yes | Select either **Stateful** or **Stateless**, which determines whether to record the run history, inputs, outputs, and other data for the workflow. <br><br>For more information, see [Stateful and stateless workflows](single-tenant-overview-compare.md#stateful-stateless). | |
| 119 | + |
| 120 | +1. Select **Next** and continue to the next steps. |
| 121 | + |
| 122 | +## Create connections for your workflow |
| 123 | + |
| 124 | +The **Connections** tab lists any connections that the workflow needs to create and authenticate. |
| 125 | + |
| 126 | +1. To create each listed connection, in the **Connection** column, select **Connect**. |
| 127 | + |
| 128 | +1. For each connection type, follow the prompts to provide the necessary connection information. |
| 129 | + |
| 130 | + If a connection type supports using a managed identity to authenticate access, choose this option. |
| 131 | + |
| 132 | +1. Select **Next** or the **Parameters** tab and continue to the next steps. |
| 133 | + |
| 134 | +## Provide values for action parameters |
| 135 | + |
| 136 | +1. On the **Parameters** tab, provide the necessary values for various action parameters in the workflow. |
| 137 | + |
| 138 | + The parameters on this tab vary, based on the actions that appear in the workflow template. |
| 139 | + |
| 140 | +1. Select **Next** or the **Review + create** tab and continue to the next steps. |
| 141 | + |
| 142 | +## Review details and create workflow |
| 143 | + |
| 144 | +1. On the **Review + create** tab, review all the provided information for your workflow. |
| 145 | + |
| 146 | +1. When you're ready, select **Create**. |
| 147 | + |
| 148 | +1. When Azure finishes creating your workflow, select **Go to my workflow**. |
| 149 | + |
| 150 | +## Review the created workflow in the designer |
| 151 | + |
| 152 | +### [Consumption](#tab/consumption) |
| 153 | + |
| 154 | +1. On the logic app sidebar, under **Development Tools**, select the designer to open the workflow. |
| 155 | + |
| 156 | +1. Continue working on the workflow by adding or removing the operations that you want. |
| 157 | + |
| 158 | +1. Make sure to provide the information necessary for each operation. |
| 159 | + |
| 160 | +### [Standard](#tab/standard) |
| 161 | + |
| 162 | +1. On the workflow menu, under **Tools**, select the designer to view the workflow. |
| 163 | + |
| 164 | +1. Continue working on the workflow by adding or removing the operations that you want. |
| 165 | + |
| 166 | +1. Make sure to provide the information necessary for each operation. |
| 167 | + |
| 168 | +--- |
| 169 | + |
| 170 | +## Related content |
| 171 | + |
| 172 | +[Create and publish workflow templates for Azure Logic Apps](create-publish-workflow-templates.md) |
0 commit comments