Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Data from Forms to Sharepoint Lists

I have an issue like what's been posted here but my boss has requested an addition that makes my current solution too complex for me now.


We have a contact form on our website. Originally the form had only one multiple choice question (and our flow worked great handling it). Now that we've added a second multiple choice question, I cannot figure out how to adjust our flow to work.


Our flow progression:

  1. In forms, if a user selects multiple items in a question, the answers are put in the field as answer1;answer2;answer3. 
  2. I've created a field in Sharepoint List for each response to one question.
  3. That means, we use a Flow to determine if that question has an answer "True" for "False" using an expression 
    contains(outputs('Get_response_details')?['body/rde53802b57cc45ca8b5f0bf4be9d1802'], 'Living Free Discipleship Program')


  4.  From those outputs, I use Create Item to get them into Sharepoint.



The problem arises when I attempt to add this same procedure for the second question

The error I am getting: 

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Create_item' at line '1 and column '1848' cannot reference action 'Contact-Black'. The action 'Contact-Black' is nested in a foreach scope of multiple levels. Referencing repetition actions from outside the scope is supported only when there are no multiple levels of nesting.'.'.


I'm not a power user so don't fault me if I say use the wrong wording. But can I add another "Apply to Each" and get a new list of responses to parse out true/false data on a second question and have all of these answers be applied to the same Output Item in Sharepoint in the SAME Flow?


If so, how do I do this?

If not, can you help me figure this out?


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,637)