🧡 Skip to main content🔍 Skip to search

If Folder Action checks if the specified folder exists and whether it is empty or not. If the actual folder's status matches the criteria, the If Folder Action runs an associated group of Actions.

Can be complemented with Else Action which can run its nested group of Actions, if the folder status does not match the criteria.

CompareDetails
If folder Specify the folder whose status will be checked.
Compare Specify what status of the folder will lead to conditional execution of associated group of Actions:
  • Exists · runs if a specified folder exists.
  • Exists and is empty · runs if a specified folder is empty.
  • Exists and contains no files · runs if a specified folder exists and that its root is free of files (though files and subfolders within its subfolders are permitted).
  • Exists and is not empty · runs if a specified folder is not empty.
  • Does not exist · runs if a specified folder does not exist.
BrowseBrowse buttonUse Browse to select a particular file or folder on local disk, network share on LAN (local area network), etc.
Variable WizardVariable Wizard buttonUse dynamic data input—substitute a parameter from a file, web, connected Trigger, other Actions, date and time presets, etc.
YouTube video · Conditional flows using If Folder logic

Interconnect

  • If Folder integration and auditing—Variables (dynamic data) and Events (recorded activity). Access the folder name and condition, and whether the condition was met. Additionally, information events that indicate the current state of the folder are logged.

More comparisons…

Automation Workshop offers specialized Actions tailored to various resources. Each of them features an intuitive interface designed for a specific resource type. Explore more comparison options:

File comparison Actions allow you to verify the existence or absence of files and check if a file is currently being written to or used by other applications. Folder and directory comparison Actions enable you to verify the existence or absence of local folders and remote directories, as well as check if they are empty, not empty, or does not contain files.

Branching alternatives…

While If–then logic is the most widely used approach to split a Task into two execution paths, there are additional methods to branch an automated workflow · Action flow explained

Help at your fingertips…

If you have any questions, please do not hesitate to contact our support team.