web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I get a FLOW to...
Power Automate
Unanswered

How do I get a FLOW to limit one file per folder?

(0) ShareShare
ReportReport
Posted on by

I have my FLOW set up as an email comes in, save the attachment as a new file in SharePoint. I have it set as - If another file is already there "Replace"- but, the new files keep adding up in the folder. I would like it to be as a new one comes in, the old one is deleted. Thank you! I appreciate any help.

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

    Hi @Anonymous,

     

    You could add a Get files action to get all files in a folder, if the file name same with new coming file already existed in the folder, delete the file, then create the file. For example like this:

    Annotation 2020-07-16 144315.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard