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 / Every time user upload...
Power Automate
Answered

Every time user upload an excel file into a sharepoint folder, Power Automate will automatically copy the data inside the uploaded excel and paste it into my master data(which is also an excel file)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone! I wanted to create a flow in which everytime I upload an excel file(which has the same file everytime but with different data), Power automate will copy all of the data inside and then paste it into another excel file located in OneDrive.

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

    Hi @Anonymous 

     

    You can try same with power automate cloud flow,

     

    Or else, you want to try that only with desktop flow ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Nived, I want to do a cloud flow, Im just having trouble what flow will I use to execute the process

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Anonymous 

     

    Yes you can try this way

     

    For demo purposes i have created a master excel file 

    Nived_Nambiar_0-1682692417170.png

     

    Now i have file present in sharepoint folder whose data need to append to master file

    Nived_Nambiar_1-1682692458088.png

     

    Flow looks like this

    Nived_Nambiar_2-1682692485438.png

     

    Step 1: add a trigger which trigger the flow when file is added to sharepoint

    Nived_Nambiar_3-1682692536946.png

     

    Step 2: List rows present in file under ths sharepoint folder

    Nived_Nambiar_4-1682692568066.png

     

    Note: here i am assuming that table would have same name Table1, so i have hardcoded it here.

     

    Step 3: use apply to each to loop through each row in newly added file and append the row details to master file in onedrive 

    Nived_Nambiar_6-1682692687174.png

     

    Nived_Nambiar_8-1682692719992.png

     

    Nived_Nambiar_9-1682692743996.png

     

    Nived_Nambiar_10-1682692762072.png

     

     

     

    After run, the master excel file has newly added row from file in sharepoint

    Nived_Nambiar_11-1682692792096.png

     

     

    (Extra point: if you have a requirement that you need flow only when file excel file is added to that folder location, as adding other file may cause error while running the flow, so use trigger condition in triggger like below)

    Nived_Nambiar_12-1682693185623.png

     

    trigger condition: @endsWith(triggerOutputs()?['body/{FilenameWithExtension}'],'.xlsx')

     

    This will help to run the flow only when only excel file is added 🙂

     

    Hope this helps

    Mark it as solution if it resolves your query !

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    • Thank you very much Nived! It works. One question, for the Apply to each expression, is it the name of the table of the newly added file?
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Anonymous 

     

    did you meant about Table 1 value in the Table Name field? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Nived_Nambiar  in the case I want to extract the content from an specific cell which is not in a table how can I do it?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard