Forum Discussion
rduverna3-dev
Aug 13, 2024Copper Contributor
Single Power Automate Flow that supports Multiple Booking Page
In Microsoft Bookings with Power Automate can we create a single flow that supports multiple booking pages? It seems like a trigger flow will only support a single booking page. Is this possible and how?
Also, I ChatGPT the question and it thinks this is possible using a "Single Flow with Conditional Logic." I am not familiar with that so any suggestion would help.
Thank you
Ralph
2 Replies
Sort By
I thought conditions work like this:
actions:
- type: 'Condition'
expression: '@equals(triggerOutputs()?['bookingPage'], 'BookingPage1')'
actions:
- type: 'Send an email'
to: 'email address removed for privacy reasons'
subject: 'New Booking on Page 1'
body: 'A new booking has been created on Booking Page 1.'
- type: 'Condition'
expression: '@equals(triggerOutputs()?['bookingPage'], 'BookingPage2')'
actions:
- type: 'Send an email'
to: 'email address removed for privacy reasons'
subject: 'New Booking on Page 2'
body: 'A new booking has been created on Booking Page 2.'
- type: 'Condition'
expression: '@equals(triggerOutputs()?['bookingPage'], 'BookingPage3')'
actions:
- type: 'Send an email'
to: 'email address removed for privacy reasons'
subject: 'New Booking on Page 3'
body: 'A new booking has been created on Booking Page 3.'- rduverna3-devCopper Contributor
Kidd_Ip Thank you for your suggestion. I will take a look at this and let you know what we decide to do.