Hi,
I am trying to get Flow to target a folder within a document library then delete all files below this folder, ideally leaving the folder structure intact. The flow is pretty simple as you can see here

The files are all deleted from the folders, great! then the Flow fails with an error (below), the error is saying it can't find the folder "100-SiteName-Test", although it does exist.

I can't figure out if it thinks the folder is a file and thus failing to delete it. I've tried to use a condition that uses "IsFolder" but this just ends up with the Flow timing out.
Any thoughts gratefully received.
Rob