web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PowerAutomate - Update...
Power Automate
Answered

PowerAutomate - Update SP excel database with excel submitted in forms response

(1) ShareShare
ReportReport
Posted on by 4

Hello everyone!

 

I need to do this in a power automate flow:

 

1. A Microsoft Forms response is submitted with an excel file attached.

2. This excel goes to a Sharepoint folder.

3. From this excel, that is a template with 1 table, 1 column and 50 rows to be filled by the responder, the values in that column have to be copied into a new column in a Sharepoint excel used as database (it has a empty table with same amount of rows) 

 

How could it be done?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @MasterG98 

     

    For this i have created a demo flow. for this purposes, I have created excel files

    1. File attached to form

    Nived_Nambiar_0-1720330159850.png

     

    2. Master excel file

    Nived_Nambiar_1-1720330183744.png

     

    form is like below

    Nived_Nambiar_2-1720330221597.png

     

     

    Flow is designed like below

    1. use trigger when response is submitted & get response details

    Nived_Nambiar_3-1720330247129.png

     

    2. form attachments are saved in onedrive normally by default. So we need to get details of excel file from onedrive

    use get tables to get list of tables present in form attachment

    Nived_Nambiar_4-1720330330424.png

     

    Expression - 

    first(json(outputs('Get_response_details')?['body/r9ba3d12c24464b029d2b7b481d7da9e0']))?['id']
     
    Note- expression may change as the r9ba3d12c24464b029d2b7b481d7da9e0 value may change in your case.
     
    Use list rows in table to get list of rows present in form attachment.
    Nived_Nambiar_5-1720330409373.png

     

    Expression - first(json(outputs('Get_response_details')?['body/r9ba3d12c24464b029d2b7b481d7da9e0']))?['id']

     

    Nived_Nambiar_6-1720330447584.png

     

    Expression - 

    first(outputs('Get_tables')?['body/value'])?['id']
     
    Next loop through each row in form attachment and add the row to master excel file present in sharepoint
    Nived_Nambiar_7-1720330505485.png

     

    In add row to table, following things may change- column name- I have used column name as A in your case, it may change in your's case , so update accordingly.

    Nived_Nambiar_8-1720330565419.png

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard