File & Folder: Check if file exists

Check if a file exists at the given path.

Help Centre › Building Processes

Check if a file exists at the given path.

Add it to a process

In the process designer, open the Add step tab. Find Check if file exists under File & Folder › File Operations, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathYesEnter the file path, or use a variable such as {folders::desktop::path}\file.txt.
VariableYesName of the variable where the result will be stored Default: exists.

What it gives back

  • {exists}

See all File & Folder steps.

Tips

  • Always check if a file exists before trying to open or process it

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.