Hello
I have a flow which saves attachments from mail to my SharePoint folder, it works perfectly, problem starts when I want to delete not needed files
I need only file named "braki na *date*", how to delete rest of them with Automate?
Attachments are being saved from five mails sent simultaneously, and I only want one file from each message
This is how flow looks like:
Solved! Go to Solution.
Hi @Anonymous
You could check the filename before it saves to SharePoint
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHI @Anonymous
You can do a condition before saving them in SharePoint and then you don't need to delete them. You can use a simple if statement like this:
The formula is the following:
indexOf(items('Apply_to_each')?['name'],'braki')
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @Anonymous
You could check the filename before it saves to SharePoint
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHI @Anonymous
You can do a condition before saving them in SharePoint and then you don't need to delete them. You can use a simple if statement like this:
The formula is the following:
indexOf(items('Apply_to_each')?['name'],'braki')
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
User | Count |
---|---|
26 | |
25 | |
22 | |
22 | |
11 |
User | Count |
---|---|
45 | |
33 | |
31 | |
31 | |
30 |