Skip to content

Commit 2d77577

Browse files
author
Esther Fan
committed
Draft
1 parent 9320c98 commit 2d77577

File tree

1 file changed

+88
-17
lines changed

1 file changed

+88
-17
lines changed

articles/logic-apps/create-publish-workflow-templates.md

Lines changed: 88 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/23/2024
8+
ms.date: 06/16/2025
99
#Customer intent: As a developer, I want to create and share workflow templates for use with Azure Logic Apps.
1010
---
1111

@@ -17,9 +17,94 @@ Azure Logic Apps provides prebuilt integration workflow templates that you can u
1717

1818
Not only can you kickstart development with workflow templates, you can create workflow templates for your own use or share them with others. Your template can include artifacts such as schemas, maps, and custom assemblies. To add your template to the templates gallery in the Azure portal, create a template package by using this how-to guide. When you're done, visit the [workflow template repository in GitHub for Azure Logic Apps](https://github.com/Azure/LogicAppsTemplates) where you can create a pull request for your template package and have the Azure Logic Apps team review your template.
1919

20+
## Prerequisites
21+
22+
- 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).
23+
24+
- An Standard logic app resource with at least one workflow to use as the source workflow definition for the template.
25+
26+
If you don't have this resource, see [Create an example Standard logic app workflow](create-single-tenant-workflows-azure-portal.md).
27+
2028
## Limitations
2129

22-
Workflow templates currently support only Standard logic apps and single workflows.
30+
Workflow templates currently support only Standard logic apps.
31+
32+
<a name="workflow-best-practices"></a>
33+
34+
### Workflow best practices
35+
36+
- Use the built-in operations as much as possible. For example, the Azure Blob Storage connector has the following versions available for Standard workflows:
37+
38+
- A built-in, service provider version, which appears in the connectors gallery under the **Built-in** filter. This version is hosted and run with the single-tenant Azure Logic Apps runtime, offering better performance, throughput, and other benefits.
39+
40+
- A Microsoft-managed API version, which appears in the connectors gallery with the **Shared** label. This version is hosted and run in multitenant Azure using shared global resources.
41+
42+
- Don't use hardcoded properties and their values in trigger and action definitions.
43+
44+
- Provide more context about trigger and action definitions by adding descriptive and helpful comments.
45+
46+
## Create a workflow template
47+
48+
### [Portal](#tab/portal)
49+
50+
#### Create a blank template
51+
52+
1. In the [Azure portal](https://portal.azure.com) search box, find and select **logic apps templates**.
53+
54+
1. On the **Logic Apps Templates** page toolbar, select **Create**.
55+
56+
1. On the **Create an Azure Logic Apps template** page, on the **Basics** tab, provide the following information:
57+
58+
| Parameter | Required | Value | Description |
59+
|-----------|----------|-------|-------------|
60+
| **Subscription** | Yes | <*Azure-subscription-name*> | The Azure subscription to use with the workflow template. |
61+
| **Resource group** | Yes | <*resource-group-name*> | The name for the Azure resource group to use with the template. |
62+
| **Name** | Yes | <*template-name*> | The name for the workflow template resource. |
63+
| **Region** | Yes | <*Azure-region*> | The Azure region for where to create the workflow template resource. |
64+
65+
1. When you're done, select **Review + create**. Review the provided information, and select **Create**.
66+
67+
Azure creates an empty template resource.
68+
69+
Next, choose the source workflow definition to use for your template.
70+
71+
#### Choose the source workflow definition
72+
73+
1. On the template resource menu, under **Template**, select **Template**.
74+
75+
1. On the **Template** page, on the **Workflows** tab, select **Manage workflows**.
76+
77+
1. On the **Manage workflows** pane, on the **Choose workflows** tab, provide the following information:
78+
79+
| Parameter | Required | Value | Description |
80+
|-----------|----------|-------|-------------|
81+
| **Subscription** | Yes | <*Azure-subscription-name*> | The name for the Azure subscription with the source logic app. |
82+
| **Resource group** | Yes | <*resource-group-name*> | The name for the Azure resource group with the source logic app. |
83+
| **Logic app instance** | Yes | <*source-logic-app*> | The name for the source Standard logic app with the workflow that you want to use. |
84+
| **Workflows** | Yes | <*source-workflows*> | Select at least one workflow to use in your template. |
85+
86+
1. When you're done, select **Next**.
87+
88+
1. On the **Set up workflows** tab, provide the following information for each selected source workflow:
89+
90+
| Parameter | Required | Value | Description |
91+
|-----------|----------|-------|-------------|
92+
93+
Workflow name (Can rename only once. Lowercase letters, numbers, and hyphens only)
94+
Workflow display name
95+
State (Stateful, Stateless)
96+
Trigger
97+
Summary
98+
Description (optional)
99+
Prerequisites (optional)
100+
Light mode image
101+
Dark mode image
102+
103+
104+
### [Manual](#tab/manual)
105+
106+
107+
---
23108

24109
## What does a template package include?
25110

@@ -59,25 +144,11 @@ As you build your workflow, the designer automatically includes references to an
59144

60145
After you're done, [copy the underlying workflow definition](#copy-workflow-definition) to an empty **workflow.json** file.
61146

62-
<a name="workflow-best-practices"></a>
63-
64-
### Workflow best practices
65-
66-
- Use the built-in operations as much as possible. For example, the Azure Blob Storage connector has the following versions available for Standard workflows:
67-
68-
- A built-in, service provider version, which appears in the connectors gallery with the **In App** label. This version is hosted and run with the single-tenant Azure Logic Apps runtime, offering better performance, throughput, and other benefits.
69-
70-
- A Microsoft-managed API version, which appears in the connectors gallery with the **Shared** label. This version is hosted and run in multitenant Azure using shared global resources.
71-
72-
- Don't use hardcoded properties and their values in trigger and action definitions.
73-
74-
- Provide more context about trigger and action definitions by adding descriptive and helpful comments.
75-
76147
<a name="copy-workflow-definition"></a>
77148

78149
### Copy the underlying workflow definition
79150

80-
1. In the Azure portal, on the workflow menu, under **Developer**, select **Code**.
151+
1. In the [Azure portal](https://portal.azure.com), on the workflow menu, under **Developer**, select **Code**.
81152

82153
1. From the code view window, copy the entire workflow definition, for example:
83154

0 commit comments

Comments
 (0)