Create a Consumption logic app workflow from a prebuilt template
Applies to: Azure Logic Apps (Consumption)
To get you started creating workflows quickly, Azure Logic Apps provides prebuilt templates for logic app workflows that follow commonly used patterns.
Note
Workflow templates and the workflow template gallery are currently available only for Consumption logic app workflows.
This how-to guide shows how to use these templates as provided or edit them to fit your scenario.
Template categories
Template type | Description |
---|---|
Enterprise cloud | For integrating Azure Blob Storage, Dynamics CRM, Salesforce, and Box. Also includes other connectors for your enterprise cloud needs. For example, you can use these templates to organize business leads or back up your corporate file data. |
Personal productivity | For improving personal productivity. You can use these templates to set daily reminders, turn important work items into to-do lists, and automate lengthy tasks down to a single user-approval step. |
Consumer cloud | For integrating social media services such as Slack, and email. Useful for strengthening social media marketing initiatives. These templates also include tasks such as cloud copying, which increases productivity by saving time on traditionally repetitive tasks. |
Enterprise integration pack | For configuring validate, extract, transform, enrich, and route (VETER) pipelines. Also for receiving an X12 EDI document over AS2 and transforming it to XML, and for handling X12, EDIFACT, and AS2 messages. |
Protocol pattern | For implementing protocol patterns such as request-response over HTTP and integrations across FTP and SFTP. Use these templates as provided, or build on them for complex protocol patterns. |
Prerequisites
An Azure account and subscription. If you don't have a subscription, create a Trial.
Basic understanding about how to build a logic app workflow. For more information, see Create an example Consumption logic app workflow.
Create a Consumption workflow from a template
In the Azure portal, from the home page, select Create a resource > Integration > Logic App.
On the Create Logic App page, enter the following values:
Setting Value Description Subscription <your-Azure-subscription-name> Select the Azure subscription that you want to use. Resource Group <your-Azure-resource-group-name> Create or select an Azure resource group for this logic app resource and its associated resources. Logic App name <your-logic-app-name> Provide a unique logic app resource name. Region <your-Azure-datacenter-region> Select the datacenter region for deploying your logic app, for example, China North. Enable log analytics No (default) or Yes To set up diagnostic logging for your logic app resource by using Azure Monitor logs, select Yes. This selection requires that you already have a Log Analytics workspace. Plan type Consumption or Standard Select Consumption to create a Consumption logic app workflow from a template. Zone redundancy Disabled (default) or Enabled If this option is available, select Enabled if you want to protect your logic app resource from a regional failure. But first check that zone redundancy is available in your Azure region. Select Review + Create.
Review the values, and then select Create.
When deployment is complete, select Go to resource. The designer opens and shows a page with an introduction video. Under the video, you can find templates for common logic app workflow patterns.
Scroll past the introduction video and common triggers to Templates. Select a prebuilt template.
When you select a prebuilt template, you can view more information about that template.
To continue with the selected template, select Use this template.
Based on the connectors in the template, you're prompted to perform any of these steps:
Sign in with your credentials to systems or services that are referenced by the template.
Create connections for any systems or services that are referenced by the template. To create a connection, provide a name for your connection, and if necessary, select the resource that you want to use.
Note
Many templates include connectors that have required properties that are prepopulated. Other templates require that you provide values before you can properly deploy the logic app resource. If you try to deploy without completing the missing property fields, you get an error message.
After you set up the required connections, select Continue.
The designer opens and displays your workflow.
Tip
To return to the template viewer, select Templates on the designer toolbar. This action discards any unsaved changes, so a warning message appears to confirm your request.
Continue building your workflow.
When you're ready, save your workflow, which automatically publishes your logic app resource live to Azure. On the designer toolbar, select Save.
Update a Consumption workflow with a template
In the Azure portal, go to your Consumption logic app resource.
On the resource navigation menu, select Logic app designer.
On the designer toolbar, select Templates. This action discards any unsaved changes, so a warning message appears. To confirm that you want to continue, select OK.
Scroll past the introduction video and common triggers to Templates. Select a prebuilt template.
When you select a prebuilt template, you can view more information about that template.
To continue with the selected template, select Use this template.
Based on the connectors in the template, you're prompted to perform any of these steps:
Sign in with your credentials to systems or services that are referenced by the template.
Create connections for any systems or services that are referenced by the template. To create a connection, provide a name for your connection, and if necessary, select the resource that you want to use.
Note
Many templates include connectors that have required properties that are prepopulated. Other templates require that you provide values before you can properly deploy the logic app resource. If you try to deploy without completing the missing property fields, you get an error message.
After you set up your required connections, select Continue.
The designer opens and displays your workflow.
Continue building your workflow.
Tip
If you haven't saved your changes, you can discard your work and return to your previous workflow. On the designer toolbar, select Discard.
When you're ready, save your workflow, which automatically publishes your logic app resource live to Azure. On the designer toolbar, select Save.
Next steps
Learn about building logic app workflows through examples, scenarios, customer stories, and walkthroughs.