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

Top comments (0)