Hi!
I have been trying to create a item in a sharepoint list from an booking page appointment creation trigger.
I have already tested and it is creating the item, but I need some information inputted into it, and I'm struggling with it.
The appointment has some custom questions, one of which is "Type", and the customer select the answer from a list of options.
I'm trying to make a Select from the appointment, mapping both questions and answers, but when I try to compose them, specifically to 'Type' (index 2), I can't really do it.
Selection:
From: @triggerOutputs()?['body/CustomQuestionAnswers']
Map:
Questioon: @item()?['Question']
Answer: @item()?['Answer']
Compose:
@outputs('Select')[2]['Answer']
and then referencing the Compose Output at the create sharepoint item action.
I'm using Copilot for support and already tried many alternatives in order to do it (defining variables, parsing JSON etc.), but still no success.
Is there a way of referencing the specific answer?
I can provide more information if needed.