Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Replace new excel files with an old files wiht the same name in one drive


I created a flow that extaracts excel files attachment from outlook emails and gather them in one drive file. my problem is that I recive same emails with updated infomation in excel and the master file size is getting larger. is it possible for the flow, when extracting excel attachemnets from the emails, to replace the new attachments with the same name with an an old ones so I have less excel files?

Thank you

Super User
Super User

Re: Replace new excel files with an old files wiht the same name in one drive

Hi @Hamid , Thank you for your post!

I assume you are using an update file(or maybe create) action to acheive what you have, after you extract the excel attachment.

What you could do, is firstly delete the existing file, then use create file after that, this would save just the new file and the new data.

Please give that a try.

If stuck, please post a picture of your Flow and we can advise from there.


If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 42 members 4,950 guests
Please welcome our newest community members: