Hi everyone! I was wondering if someone could help me set my Automatic Replies based on where my shift is based.
We currently have 4 options in our shifts - Home, Office, Leave, Sick
What I have at the moment is:
1. Repeat the trigger everyday at midnight

2. Get my profile

3. Get the current date and time

4. List all the shifts

I was following this forum post: https://powerusers.microsoft.com/t5/General-Power-Automate/Get-my-shifts-using-flow/m-p/384718/highlight/true#M37964 but couldn't seem to get past the Select area.
I think that in the list shifts (step 4) I would pass in the Start Datetime from step 3.
Then I would parse the JSON.
Filter the array for both User ID and then get the next day entry.
If it matched "Leave" or "Sick", then set the Automatic Reply action - start time and end time of the shift.
Any help would be appreciated!