🧡 Skip to main content🔍 Skip to search
If Folder

Automation Workshop includes the If Folder Action that verifies whether a specified folder exists, and optionally, if it is empty or not. Depending on the outcome of the verification, the If Folder Action continues the workflow with one or another set of predefined Actions.

Features & highlights

  • It checks for the existence of a specified folder on disk, as well as if it is empty or not.
  • It runs a set of Actions, if a folder exists and another one—if it does not.
  • Allows creating Tasks that are effectively executed only if a certain folder exists or not.
  • Proceeds with a specific set of Actions when a folder exists and contains no files in its root but may contain subfolders and files within them.
YouTube video · Conditional flows using If Folder logic

Usage examples

  • Schedule a Task to perform daily a daily workflow which verifies if a specific folder exists and is not empty. Upload the folder content to an SFTP server.
  • Before proceeding with an automated backup workflow, check if a folder-[date] exists (always current date). If it does not—create the folder. Or seamlessly ensure the folder exists with one Action.
  • It can be supplemented with the Else Action which runs a subset of Actions when the specified conditions are not met.

Documentation

  • Compare · Verify whether a folder exists or not.
  • Options · Set the Action state and custom display name, define automated error workarounds, and enable an option to log only critical errors.

Interconnect

  • If Folder integration—Variables (manipulate data dynamically within a workflow) and Events (recorded entries that detail the activity within the system).
  • Effortlessly streamline your automation processes by visually connecting your workflow using Variable Wizard—a powerful tool to access all 1,000+ variables—system, network, Triggers, Actions, globals, web, and much more…
  • Moreover, not only utilize If Folder variables, but also seamlessly integrate them with a diverse array of other file and folder variables from local disks, mapped drives, network shares, and remote servers—FTP, SFTP, WebDAV, Amazon S3, and more…

Quick access

To streamline your workflow creation, you can locate the If Folder Action throughout the entire Automation suite's search tools—including the knowledge base, menu, and Add Action feature—using the quick ยซIFFยป shortcut.

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

Discover

Automation Workshop includes many more awesome Triggers and numerous Actions to aid you to automate any repetitive computer or business task by providing state-of-the-art GUI tools.

Automated Trigger · Task Scheduler
Task Scheduler
Automate Action · Download File
Download File

The art of automation. A 90-second masterclass.

Need a helping hand?

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