Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Updating an existing item in a sharepoint list when there is a new microsoft forms response

(0) ShareShare
ReportReport
Posted on by 9

Hi all, 

 

Hoping you can help as I've been trawling the forum for solutions but nothing I have found so far has helped. I'm trying to update an existing SharePoint list item with new information received as a microsoft forms response. The current point I'm using to try and locate the item in the list is the employee's name, so it is both a column in the list (Name) and a field in the form response (New starter's name). 
I've included pics of what I have tried so far, if you can see something wrong with them or have a different way of achieving what I need please let me know. Thankyou!

 

One thing I have noted is that in many of the processes I am trying to follow, the initial output selected is a list action, whereas the only one I have available is the response ID 

Chloe3_2-1665551354019.png

 

 

The first was following this process 

Solved: I want Flow to use a FORM that, when submitted, wi... - Power Platform Community (microsoft.com)

Chloe3_0-1665550382765.pngChloe3_1-1665550433689.png

 

Where the functions in the update item action are 

body('Filter_array')[0]?['ID']
and 
body('Filter_array')[0]?['Title']
 
The other I followed was as follows: 
Chloe3_3-1665551482414.pngChloe3_5-1665551542759.png

 

 

 
 
  • Chloe3 Profile Picture
    9 on at
    Re: Updating an existing item in a sharepoint list when there is a new microsoft forms response

    Sorry ignore this, I was looking at the wrong flow. With this one the flow succeeded, however the data did not populate the sharepoint list 

  • Chloe3 Profile Picture
    9 on at
    Re: Updating an existing item in a sharepoint list when there is a new microsoft forms response

    Just to follow that one, I have tried rebuilding the flow as you described, however the flow failed. I've attached the run info: 

    Chloe3_0-1665701243854.png

    The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.

  • Chloe3 Profile Picture
    9 on at
    Re: Updating an existing item in a sharepoint list when there is a new microsoft forms response

    Hi @v-liwei-msft

     

    Forgive me if I'm incorrect, but that looks like the steps I've taken in the second flow I provided, which is not currently adding the output to my sharepoint list. Based off the pictures I included in my original post, am I doing something wrong at one of the steps? 

    And yes you're correct, I am trying to update an existing sharepoint list item with the answer from a microsoft form. 

  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Updating an existing item in a sharepoint list when there is a new microsoft forms response

    Hi @Chloe3 

     

    Could you please tell me:

    Are you trying to update SharePoint based on the answer returned by the Form? 

    I think the overall idea of your flow is correct, but it could be a bit more streamlined. 

    I made a test for your reference:

    1.

    vliweimsft_0-1665565737309.jpegvliweimsft_1-1665565757631.png

    2.

    vliweimsft_2-1665565776643.png

    3.

    vliweimsft_3-1665565786671.png

    4.

    vliweimsft_4-1665565812503.png

     

    vliweimsft_5-1665565821569.png

     

    Best Regards,

    Levi

     

     

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,596 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow