Azure

Creating Approval-Based Automated Workflows Using Azure Logic Apps

Azure Logic Apps

Azure Logic Apps is a convenient cloud service that enables users to respond to events in one service and take actions with the data from those events in another service. It simplifies business processes by allowing users to create workflows that automate various tasks and processes across different applications and services. By integrating with Azure Logic Apps, you can automate workflows seamlessly without the need to write any code.

Before we dive into this topic, make sure to check out some essential articles linked below.

Prerequisites

In this guide, we will demonstrate how to construct an approval-based automated workflow using Azure Logic App.

Follow the steps below to build a workflow using a template.

Step 1

  • Sign in to https://portal.azure.com/.
  • In the dashboard, choose to create a resource, click on Integration, and select “Logic App”.

Step 2

  • Specify a name for your logic app. Select the subscription, resource group, and location for storage. Then, click on “Create”.
    Create Logic App
  • Access the dashboard and click “Logic App Designer”.

Step 3

Click on Blank Logic App.

Blank Logic App

Step 4

Set up the Email by signing into Outlook

  • Search for Outlook in the search bar.
    Outlook.com
  • Select the Triggers.
    Choose the trigger
  • Sign in to Outlook.
    Sign into outlook
    Account details and login

Step 5

Set up the values.

  • Choose the Folder.
    Choose the folder
  • Add the parameter Subject Filter with a specific keyword (Eg. Sales).
    Subject filter
  • Finally,
    Details

Step 6

Configure Outlook to send approval emails

  • Search for the outlook mail.
    Search for mail
  • Select the action to send an approval email.
    Send approval mail
  • Map To address and subject.
    Mapping to address and subject

Step 7

Set up Control to check the approval email.

  • Look for Control operation.
    Search for control operation
  • Choose the condition as actions.
    Choose condition as action
  • Choose Selected options are equal to Approve.
    Select options

True

The flow will resemble this.

Flow

False

  • If false, choose Outlook to send a rejection email.
    Reject mail
  • Compose the email.
    Construct mail

The workflow will appear like this.

Flow

The final workflow will be displayed as follows.

Workflow

Workflow

Now, save and execute the workflow.

Output

Run the Logic App

Run the logic app

The operation has been successful.

Send a demo email with a specific keyword and refresh to view the outcome.

Demo mail

Finally, the system executes successfully and sends an Approval email.

Request for input

If you choose to Approve, it will.

Approve

Move the email attachment to the blob storage container folder.

Blob storage container folder

Additionally, the email is marked as Read.

email marked as read

The operation is successful.

Run successfully

If you opt for Reject.

Approval request

You will receive a notification email for the rejected request.

no file upload due to reject request

The operation is successful.

Run successfully

Summary

Now that you have learned how to create an approval-based automated workflow using Azure Logic App. Visit Logic App for more insightful articles.

Enhance your workflow automation experience by visiting our company Skrots. Check out our various services at Skrots Services. Also, explore more blogs on our platform at Blog at Skrots .

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button