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 / Power automate for tra...
Power Automate
Answered

Power automate for tracking SP file updates

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

i am a newbie and I need some help on power automate. My requirement is when a new file is placed or existing file on a Sharepoint folder is modified, I have to capture the changes in excel file.

 

columns in excel:

Folder Name

File Name

Modified Date

Modified by

 

can someone tell me step by step process to create the flow for my requirement.

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Abhi1223 ,

     

    I made a sample for you:

     

    Create a library in sharepoint, includes two folders and an excel for getting changes information.

    vxiaochenmsft_0-1670998438613.png

     

     

    Create a flow, and I will explain it step by step.

    vxiaochenmsft_1-1670998438623.png

     

     

    Add a trigger that fires when a file is created or modified in the library.

    Because Excel is also in the library, need to set the trigger condition to avoid the flow being triggered by a loop.

    vxiaochenmsft_2-1670998438625.png

     

     

    The condition is set to the following formula, when the modified file is excel file that used to capture the changes, the flow is not triggered.

    @not(equals(triggerOutputs()?['body/{Name}'], 'Excel File Name'))

    vxiaochenmsft_3-1670998438628.png

     

     

    Get the folder name of the modified file by the folder path.

    vxiaochenmsft_4-1670998438630.png

     

     

    Add row into the excel table with ‘Folder Name’ from the dynamic content of the action 'Get folder metadata using path'.

    vxiaochenmsft_5-1670998438633.png

     

     

    The other three columns from the dynamic content of the trigger 'When a file is created or modified (properties only)'.

    vxiaochenmsft_6-1670998438636.png

     

     

    Save and run flow. Modify File1 in Folder1.

    vxiaochenmsft_7-1670998438637.png

     

     

    Excel add a new row.

    vxiaochenmsft_8-1670998438638.png

    Best Regards,

    Wearsky

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard