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 Platform Community / Forums / Power Apps / Power Automate for MS ...
Power Apps
Unanswered

Power Automate for MS Forms to SharePoint List

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am using a Microsoft Form, for getting feedback from multiple stakeholders.

I used Power Automate to save the Form details to the SharePoint list.

The issue is, if the current user keeps the value blank for a particular field and submit the form, on SharePoint list it becomes blank, however I want the value submitted by the previous user saved on the SharePoint list intact.

And if the current user modifies the current value, it should get updated on the SharePoint list.

How should I build a power automate flow for this scenario?

Thanks in advance!

Categories:
I have the same question (0)
  • hthpowerapper Profile Picture
    364 Super User 2024 Season 1 on at

    I believe this can be achieved by checking the input and then using a condition to update the value or not.. Something Like..

    • Trigger:

      • Trigger: "When a new response is submitted" (Microsoft Forms).
    • Actions:

      • "Get response details" (Microsoft Forms) – to get the details of the submitted form.
      • "Get item" (SharePoint) – to retrieve the existing SharePoint list item.
    • Condition:

      • Add a condition to check if the field in the form response is blank. For example, use an expression like empty(triggerOutputs()?['Your Value']) to check if a field is empty.
    • Yes branch (if the field is blank):

      • Do nothing (keep the existing SharePoint list item values).
    • No branch (if the field has a value):

      • "Update item" (SharePoint) – to update the SharePoint list item with the new values from the form response.
  • Community Power Platform Member Profile Picture
    on at

    Thanks for the suggestion.

    I have used the empty expression as per your suggestion. 

    Still not able to retain the previous value using Update item. 

     

    Thanks

    Varsha

  • Community Power Platform Member Profile Picture
    on at

    As per your suggestion I have made changes to my flow.

    Now the issue is, 

    For the first time when I submit both the value for PM Name and PM email, it comes properly, however if 2nd time for the same Customer name if I change the PM name and keep the PM email blank, after the flow run, the PM name remains same (not getting updated) and the PM email field shows the Customer name.

     

    varshpark_0-1699372670645.png

     

    Get Items:

    varshpark_1-1699372670651.png

     

     

     

     

     

     

     

    length(outputs('Get_items')?['body/value'])

     

    varshpark_2-1699372670652.png

     

    varshpark_3-1699372670655.png

     

     

    PM Name: Internal PM name is ‘field_6’

    if(empty(outputs('Get_response_details')?['body/r8a05669fe13a4fc4a3f3f7cc3b69b9a5']),item()?['field_6'],outputs('Get_response_details')?['body/r8a05669fe13a4fc4a3f3f7cc3b69b9a5'])

    PM email: Internal PM email is ‘field_8’

    if(empty(outputs('Get_response_details')?['body/r50d6f4b60c104d3eb22ad3ce84afb33c']),item()?['field_8'],outputs('Get_response_details')?['body/r50d6f4b60c104d3eb22ad3ce84afb33c'])

    For the first time when I submit both the value for PM Name and PM email, it comes properly, however if 2nd time for the same Customer name if I change the PM name and keep the PM email blank, after the flow run, the PM name remains same (not getting updated) and the PM email field shows the Customer name.

    varshpark_4-1699372670656.png

     

     

    After flow run, the email field updated as Customer Name (Title)

    varshpark_5-1699372670657.png

     

    Thanks

    Varsha

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard