DEV Community

Cover image for [Power Automate] Build an application that allows approval of leave applications via Teams when users fill out a form - Part 2
Duc Nguyen Thanh
Duc Nguyen Thanh

Posted on

[Power Automate] Build an application that allows approval of leave applications via Teams when users fill out a form - Part 2

Let's continue the previous part - if you haven't seen it, see the previous post here

First, make sure the Create an approval step is completed.

Create an approval

In case you want to allow a group of people to have the authority to approve/deny requests (eg leader, sub-leader, PM), you need to set Apply to each and Wait for an approval as shown below

Apply to each

Next, we need to create a condition (if-else) to handle possible situations, here is: Reject or Accept the request

If-Else statement

Here, you can choose the next options, it can be sending an email notification to the requester or simultaneously sending it to the channel/message in the Teams application, feel free to be creative!

The tutorial ends here, wish you success

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay