web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Bookings to Excel

(0) ShareShare
ReportReport
Posted on by 4

Hello everyone,

 

Thank you in advance for any assistance you can provide. I'm currently working on setting up a flow that transfers booking data from Microsoft Bookings into an Excel spreadsheet.

Right now, I’m using a basic flow: When an appointment is created → Add a row to a table. This setup works perfectly for the default fields like Name, Email, Date, etc. However, I’m running into issues with the custom questions we've added.

The problem is that all custom question responses are grouped into an array, and I’m having trouble extracting each response into its corresponding column in Excel. I’ve tried several approaches but haven’t found a reliable way to parse and assign the values correctly.

Any guidance or suggestions would be greatly appreciated!

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at
    Hi ,
     
    By default, MS Bookings put all of your custom fields into a single array of objects, so you will need to access the answers by referencing its index. Let's take this sample Booking page, with 2 custom fields:
     
    In Power Automate, I'm first assigning the Custom Question Answers dynamic content to a Compose, just to visualize its outputs:
     
     
    And they are an array of objects, where the order of the elements follows the same order of the fields in the Booking page:
     
     
    Then in a email action (this is not your exact use case, but you can leverage the same logic), I'm simply using an expression to reference the Compose output, followed by the index of the custom field (0 for first, 1 for the second, and so on, highlighted in yellow), and the Answer property (in green):
     
    For your use case, you can use the same expression, but passing it as input to your Excel column inputs in the Add a row present into a table action. You also won't need the For each loop, which was added by default to your flow by Power Automate.
     
    After submitting the booking request, this is the output in Outlook in the email message for the dynamic content corresponding to the custom fields answers:
     
    I'm also sharing some content about the topics discussed here for further reference, which can be helpful for you or for other users that find this thread in the future:
    - Using dynamic content in Power Automate: https://youtu.be/jpledJfaEPQ
    - Using loops and accessing array elements in Power Automate: https://digitalmill.net/2023/07/12/using-loops-and-accessing-array-elements-in-power-automate/
     
    Let me know if it works for you or if you need any additional help!
     
    If this is the answer to your question, please mark the post as Accepted Answer.
    If this answer helps you in any way, please give it a like.

    Check more Power Platform content on my website.
    Lets connect on LinkedIn.
  • CC-02042357-0 Profile Picture
    4 on at
    Thank you  !
     
    I appreciate you taking time to share your advice. You have solved my original inquiry but now for some reason, it just won't add anything to the excel spreadsheet. Even though it flags the flow as successful and the output shows all the right answers in the correct location. Nothing is actually added to excel. 
     
    I rebuilt a brand new flow and still experienced the same issue. 
     
    Note: The for each container had to stay because its the only way I found to correctly display the booking staff member display name assigned to the appointment. 
     
  • rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at
    Hi @CC-02042357-0,
     
    I'm glad that the access via index worked for you! About the issue with adding the record to the Excel table, it's a weird behavior, since the screen shared by you suggests that the operation was executed successfully (status 200 + body containing the data added to the table). My recommendation: for testing purposes only, create another Add a row into a table action, but this time select a different file/table. The idea is just to validate if the error persists even with different Excel resources.
     
    Let me know if it works for you or if you need any additional help!
     
    If this is the answer to your question, please mark the post as Accepted Answer.
    If this answer helps you in any way, please give it a like.

    Check more Power Platform content on my website.
    Lets connect on LinkedIn.
  • CU06051331-0 Profile Picture
    5 on at
    @rzaneti No B.S man, I've been trying to find an answer to this for months. THANK YOU. i will tell your tale for generations to come 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard