You can do this with the “Check If File Exists” action.
First, go to Tools -> Edit Variables and define a Project variable called “EmptyFolder” (or something similar.)
Then, add the Check If File Exists action. Set the path to C:\Path\To\My\Folder*.* to match any file in the directory. Set “Fail action if…” to “Do not fail” and set the variable to “Emptyfolder”.
Then, use an If…Then action with LHS = %EmptyFolder% and RHS = True.
Put the actions for the empty folder as a child of the If… Then, then add an Else action and put the actions for a full folder as the child of the Else.
Regards,
Angus
PS If there are a lot of actions as children of the If…Then or the Else, you may want to consider putting them in an action list. Right-click the “Main” tab and choose “Add Action List…”, then use a Run Action List action to run that action list from the If…Then.
PPS Please let us know if you’d like us to mock up an example project for you.