cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VanDan101
Regular Visitor

Accessing 'Custom Question' from MS Booking and inserting into a sharepoint list.

Hello,

I have a simple flow that grabs a Microsoft booking and then inserts it into an MS Sharepoint List.

 

The problem I encounter is when I try and access the 'CustomQuestion' fields.

Ref: Microsoft Bookings - Connectors | Microsoft Learn

 

 

Custom Fields
----------------------
Question 1- Do you require an agreement?
Answer- Yes

 

I need to get either the whole thing or just the 'Yes' or 'No' into a SharePoint list item.

 

 

 

 

When inserting 'Customer Answers' (An array - I get nothing back but no error)

When inserting 'Answer' (Answer to this custom question)

 

I get the below error:

 

Error;

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{triggerOutputs()?['body/Customers']}@{items('Apply_to_each_2')?['Answers']}' is of type 'String'. The result must be a valid array.

 

So I'm doing something wrong. How can I access this data in MS Booking connector and then use it? 

 

1 REPLY 1
Jameson
Regular Visitor

Having the same issue.  Looking at the raw output of the "When a booking is created", I see custom answers is blank:

 

CustomQuestionAnswers": [],
 
Seems to be an issue with the Bookings to Flow implementation and not anything you're doing.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,763)