I'm part of a team that uses a tool which automatically creates hundreds of unnecessary files that are clogging our SharePoint library when they are generated. I want to build a flow that will delete these files every night. My trouble is that these file paths are somewhat unique, so I can't tell the flow to just delete everything that matches a specific file path.
The files that need to be deleted are in a folder path akin to the following:
Workspace/<project name>/<project subset>/<version>/Output/<username>/Temporary
where everything in <> is a variety of values, and cannot be specifically determined by something other than a wildcard character.
Any solutions? I'm thinking that my file path would look something like Workspace/*/Output*/Temporary, but can't even get the Get Files (properties only) action to return all the files in the library.