Forum Discussion
Single Power Automate Flow that supports Multiple Booking Page
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.'
Kidd_Ip Thank you for your suggestion. I will take a look at this and let you know what we decide to do.