Hi All
Am new to Power Automate so please excuse me if this is a basic question.
I have a large dataset that is currently filed in distinct and separate folders in SharePoint that I need to extract from the current SharePoint and copy to a new SharePoint site. The logic being that if the object is a file, I want to export it, but if it is a folder I want to extract all files within that folder and export them (but not the folder). End result should be a large dumping of files within the end SharePoint site.
I have managed to pull together the below flow from Google searches, but can't work out the logic on the left hand side - I assume I need to use some form of variable to move from each condition to the other, but am unsure how to do so.
Any help that can be offered will be extremely appreciated!
Thanks in advance