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 / Replace excel files on...
Power Automate
Unanswered

Replace excel files on OneDrive

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I would like that emails with attachments that I receive from a source will be updated with the next attachment that I receive from that source. Attachments are in zip. In my Flow, I convert the attachments that I receive from this source to OneDrive and convert zip to excel. But I would like all emails in which the respective attachment starts with the same name (but they all differ in name because of the date but at the beginning is always the same) to replace the previous ones in OneDrive. 

That's my Flow:

ticket.PNG

Can you help me please?

Thank you

Categories:
  • efialttes Profile Picture
    14,756 on at

    Hi

    "But I would like all emails in which the respective attachment starts with the same name (but they all differ in name because of the date but at the beginning is always the same) to replace the previous ones in OneDrive. "

     

    Can you give an example of the name structure?

    My suggestion is to use an expression to extract the pattern from the file name, then search for files in the same folder (since they are stored also in the same target folder as the one you stored, right?) matching that pattern, and delete all of them

    Hope this helps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

    I already done this across move and rename a file.

    Do you know if possible convert .csv to .xlsx on Microsoft Flow?

     

    Thank you 

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
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#2
Henil Profile Picture

Henil 128

#3
anirudhev Profile Picture

anirudhev 124

Last 30 days Overall leaderboard