Is Folder Empty
Check to see if a folder is empty and store the result (TRUE/FALSE) in a designated variable.
When adding a 'Is folder empty' command, you have the option to select either the Local File System or SharePoint Online as the file storage location.
-
Select Local File System as your file storage location.
-
Enter the full path of the folder you would like to check.
-
Enter the name of the variable where you would like to store the result of the check. The result will be either TRUE or FALSE, depending on whether the folder is empty or not.
You can check whether a folder is empty in SharePoint Online.
See here for details, SharePoint Online.