Deploying Logic App Templates

Last Updated: 20 September, 2018

Note: This article assumes that you already have an active Azure subscription. If you do not have an Azure subscription, you can create one at https://azure.microsoft.com/.

Introduction

The freely available ElasticOCR connector can be leveraged inside of Azure Logic Apps, providing managed, scalable workflows to the enterprise. Use the templates on the ElasticOCR Github repo to easily get started using ElasticOCR with Azure Logic Apps.

Deploying a Logic App Template

To deploy an Azure Logic App template, navigate to https://portal.azure.com and click the “Create a resource” button. Search for “Template Deployment”.

2.png

Select “Template Deployment” from the list of Azure resources.

3.png

Click the “Create” button to start a new Template deployment.

4.png

From the “Custom deployment” screen, select “Build your own template in the editor”.

5.png

Replace the text in the editor with the full text of the Azure Logic Apps ElasticOCR template that you want to deploy, then click “Save”.

7.png

Select the Subscription and Resource Group where you want your Logic App to reside, then complete the “Settings” section to name your Logic App and provide names for any connectors consumed by the Logic App. In this case, we’re deploying the template to process email attachments from Office 365 and store the processed attachments in OneDrive for Business. This means we have three connections to name (ElasticOCR, OneDrive for Business, and Office365).

9.png

Scroll down and check the box to accept the terms and conditions, then click the “Purchase” button.

10.png

Wait for the template to be provisioned, then click the “Go to resource group” button on the notification when deployment has completed.

11.png

The template has deployed all three connections, as well as the Logic App itself.

12.png

Each of these connections will need to be authorized by editing the API connection and providing the credentials for that connector to use.

12a.png

Lastly, if navigating to the Logic App in the resource group, in this case “OCREmailAttachments”, we can test the Logic App and monitor it’s behavior as explained in Building Your First Logic App.

13.png