Wednesday, September 16, 2020

Power Automate: How to create a Flow to Auto Approve Open Shifts in Microsoft Teams

My First Post on Microsoft Products!!!!

This post to give a step by step instructions on how to create a Flow to Auto Approve Open Shifts in Microsoft Teams.

This flow helps the Team Manager to automatically Approve Open Shifts in the team.

Since there is no triggers available in Shifts connector at the moment, we are using the Actions from Shifts connector and creating a scheduled flow.


Pre Req:

1. You need to create a Team in Microsoft Teams

2. Create a Schedule in Shifts App for the Team


Steps to Create the flow:

1. Open Power Automate in app or going to https://flow.microsoft.com

2. Click on My Flows --> New --> Scheduled -- from blank


3. Enter the details as below and click on Create.


4. Click on 'New Step'


5. Select  on 'List all Open Shift requests (preview)'


6. Enter Team name and Request State as 'Pending'


7. Add an 'Apply to Each' Control


8. Choose 'Open Shift Change Request' as the output


9. Add a Condition Control and select 'Open Shift Change Request Assigned To'

10. Enter the value as 'manager' and click on 'Add Action' in the Yes block.

11. Select 'Approve an Open Shift request (preview)'


12. Enter the Team Name and select 'Open Shift Change Request ID'


13. The final flow looks like below. Save the flow



Now your flow is ready for testing. Enjoy :)



Reference :


Feel free to point out if anything is wrong/missing in this post

3 comments:

  1. Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!! dienstplan kostenlos

    ReplyDelete
  2. Hello, do you have guide for auto approve time off and auto approve swap shift request in microsoft teams?

    ReplyDelete

PowerAutomate : How to send email from someone else using Sharepoint REST API

In this post I will explain how to send email as someone else and the reply to those email goes to this "someone". Business Scenar...