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 / Check file size on sha...
Power Automate
Answered

Check file size on sharepoint before and after Update

(0) ShareShare
ReportReport
Posted on by 6

 Hi, 

 

I have a flow that automatically uploads an excel file to a SharePoint folder on daily basis.

File is uploaded with the same name everyday, so, the existing file gets replaced with the newly uploaded file that contains today's data.

 

Sometimes the newly uploaded file has system glitches and missing data, therefore contains less data than the currently existing file.

 

Is there a way to make a check if the file size (or row count) of the new file vs the existing file before uploading ? and prevent replacing the existing one, if the new one is of less size or less row count.

 

 

Thankful for your help and support.

Categories:
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @mazer 

    Use the Get File metadata property.

    SudeepGhatakNZ_1-1705324549304.png

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard