Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

Automate: Update Sharepoint List when new excel file saved to sharepoint library

Like (0) ShareShare
ReportReport
Posted on 22 May 2020 22:47:09 by 8

Hi!

 

Each day, a new excel file is saved in a sharepoint library.  Each row in this file has a unique identifier (Reference Number), and potentially has updated information within the row (part numbers, costs..). The file also has new rows that were not in the previous day's file.

 

I am trying to build a flow that grabs the daily new excel file and updates existing items in my sharepoint list or creates new items if they do not already exist.

 

I am starting with the "When a file is created in a folder" SharePoint trigger to begin. I have watched a few videos to know I will want to use an If yes/no condition to either add or update rows, pending on if they exist of not. However, I am getting stuck on being able to correctly identify/using the automate nomenclature to use the daily created excel file to update or create new rows since it doesn't actually exist yet (as in, it is a new file daily with the same column names and table name).  I am not able to grab the dynamic data to grab the excel columns for updates to the sharepoint list, nor am I able to use the logic test of comparing the reference numbers since I cannot grab the reference number dynamic tag.

 

I would appreciate any help/support!

 

  • Verified answer
    Rodrigo Hentz Profile Picture
    on 25 May 2020 at 13:16:08
    Re: Automate: Update Sharepoint List when new excel file saved to sharepoint library

    Hi btucker how are you?

     

    I would like to suggest to use the same connector that you are using and after that add a control loop for each row in this file. Inside this control. Take a look on my sample:

     

    08.jpg 

    Remember that the data on Excel needs to be formatted as table and this table needs to have a name.

     

    06.jpg

     

     

    Is this what are you trying to do?

     

    Please , if you have doubts or questions , let me know.

     

    Thanks for using Community!

     

    Regards.

     

    Rodrigo Hentz

    Microsoft Support Engineer

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading complete