Forum Discussion

rduverna3-dev's avatar
rduverna3-dev
Copper Contributor
Aug 13, 2024

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

  • rduverna3-dev 

     

    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-dev's avatar
      rduverna3-dev
      Copper Contributor

      Kidd_Ip Thank you for your suggestion.  I will take a look at this and let you know what we decide to do.

Resources