Deploying Logic App Templates
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/.
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”.
Select “Template Deployment” from the list of Azure resources.
Click the “Create” button to start a new Template deployment.
From the “Custom deployment” screen, select “Build your own template in the editor”.
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”.
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).
Scroll down and check the box to accept the terms and conditions, then click the “Purchase” button.
Wait for the template to be provisioned, then click the “Go to resource group” button on the notification when deployment has completed.
The template has deployed all three connections, as well as the Logic App itself.
Each of these connections will need to be authorized by editing the API connection and providing the credentials for that connector to use.
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.