New to power automate so please be gentle! I am stuck trying to automate a calendar reservations workflow. When a reservation request form comes in, I want it to automatically check for current scheduled reservations for this location on this date requested BEFORE creating an event.
The automation I have now, does everything I need it to except for actually filter the events for this information and everything I try either fails or does not retrieve the information.
I have Get Events with a filter of "subject eq "request location from form"
Then I Filter Array the outputs and say the Event Start Time is equal to "reservation request date from form, formatted for outlook"
Last I set Conditional Control so that if Get Events = 1 and Filter Array = 1, then TRUE
This starts the path of whether to create event or reject reservation form.
See attached images of current flow.
I am sure there is an easier way but I have been battling this for a month now. I purposefully have an current reservation on the date when testing but the flow absolutely does not want to pull it to appropriately finish flow.