You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/create-publish-workflow-templates.md
+88-17Lines changed: 88 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: azure-logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 08/23/2024
8
+
ms.date: 06/16/2025
9
9
#Customer intent: As a developer, I want to create and share workflow templates for use with Azure Logic Apps.
10
10
---
11
11
@@ -17,9 +17,94 @@ Azure Logic Apps provides prebuilt integration workflow templates that you can u
17
17
18
18
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.
19
19
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
+
20
28
## Limitations
21
29
22
-
Workflow templates currently support only Standard logic apps and single workflows.
30
+
Workflow templates currently support only Standard logic apps.
31
+
32
+
<aname="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
+
---
23
108
24
109
## What does a template package include?
25
110
@@ -59,25 +144,11 @@ As you build your workflow, the designer automatically includes references to an
59
144
60
145
After you're done, [copy the underlying workflow definition](#copy-workflow-definition) to an empty **workflow.json** file.
61
146
62
-
<aname="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
-
76
147
<aname="copy-workflow-definition"></a>
77
148
78
149
### Copy the underlying workflow definition
79
150
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**.
81
152
82
153
1. From the code view window, copy the entire workflow definition, for example:
0 commit comments