activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

File Created

UiPath.MicrosoftOffice365.Activities.Files.Triggers.NewFileCreated

Description

Executes an automation workflow when a new file is created in the specified OneDrive location. A new file can be: a file created in OneDrive, a file uploaded to OneDrive, or a file moved to a new OneDrive location.

This trigger supports personal Drives, shared Drives, SharePoint libraries, as well as Groups.

Note: This trigger may fail when you upload a new file to OneDrive desktop app and then sync with OneDrive Cloud. A Microsoft limitation causes this behavior.
Scopes

This activity requires the following scopes:

  • Files.Read

OR

  • Files.ReadWrite

OR

  • Files.Read.All

OR

  • Files.ReadWrite.All

OR

  • Sites.Read.All

OR

  • Sites.ReadWrite.All

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft OneDrive & SharePoint connection - The connection for the Microsoft 365 account to use in the activity.
  • In location - The folder where the file is created. Click the Folderdocs image icon to browse the OneDrive folders. This field accepts IResource input.
    • Select the Reload File Data option if you've modified your folders and need to retrieve the latest data.

  • Additional filters - Click this field to open the Filter builder and add additional filters. Supports filtering on the following fields: Created by (email), File extension, Name.
Additional options

Output

  • File - The created file that can be used further in the workflow. Automatically generated output variable. You can use it as it is or save it with a different name. You can use this in other activities, such as Send Email.
  • Job Data - Contains job info, such as Process name, Process version, Workflow name, Robot name, and mode of execution.

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.