Hello:
Does anybody know how to create a Flow that identifies specific files in a SharePoint folder, with a condition that 445082 is in the file name, and then delete it from Sharepoint?
What I have so far:
I'm stumped. It looks like it wants me to specify a file to delete, but, I've already done so in the conditions section? How do I delete files that match the condition? Thanks!!
This worked great! Thank you so much!
Hi @mwolf222,
Do you want to delete the file if the file name contains “445082” when a new file is created in a SharePoint library?
Or delete all files whose file name contains “445082” within a SharePoint library?
If you want to delete the file whose file name contains “445082” when a new file is created, please take a try with the following workaround:
Note: Within “Delete file” action, specify Site Address, File Identifier field set to File identifier dynamic content of the trigger.
The flow works successfully as below:
If you want to delete all files whose file name contains “445082” within a SharePoint library, please take a try with the following workaround:
Note: Within “Delete file” action, specify Site Address, File Identifier field set to identifier dynamic content of “Get files (properties only)” action.
The flow works successfully as below:
Best regards,
Kris
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2