UiPath Documentation
activities
latest
false

Productivity activities

Last updated May 12, 2026

File or Folder Exists

Note:

This activity is in preview.

UiPath.MicrosoftOffice365.Activities.Files.FileFolderExistsConnections

Description

Checks whether a specified file or folder exists in a OneDrive or SharePoint location.

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft OneDrive & SharePoint - The connection for the Office 365 account to use in the activity.
  • File or folder - The file or folder to check for existence. Browse the OneDrive or SharePoint folders and select the file or folder. Use the plus menu icon to switch to one of the following input modes:
    • Reload file or folder data - Select this option if you have modified your folders and need to retrieve the latest data.
    • Enter ID - This option displays the following fields:
      • File or folder ID - The ID of the file or folder. This field supports String variables and string formatted values.
      • Site URL - The URL of the SharePoint site that contains the file or folder. This field supports String variables and string formatted values.
      • Drive name - The name of the drive that contains the file or folder. This field supports String variables and string formatted values.
    • Enter URL - This option displays the following field:
      • File or folder URL - The URL of the file or folder. This field supports String variables and string formatted values.
    • Use file or folder variable - This option displays the following field:
      • File or folder - Enter a variable of the file or folder you want to check for existence.
    • Full path - This option displays the following field:
      • Full file or folder path - Specify the full file or folder path, including the file name and extension.
    • Relative path - This option displays the following fields:
      • Parent folder - The parent folder from which the relative path is resolved.
      • Relative path - The relative path of the file or folder from the parent folder.

Properties

Output

  • Exists - Indicates whether the specified file or folder exists.
  • Description
  • Project compatibility
  • Configuration
  • Properties

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated