activities
latest
false
Productivity Activities
Last updated Nov 6, 2024

File Created

UiPath.GSuite.Activities.Drive.Triggers.NewFileCreated

Description

Executes an automation workflow when a new file is created in the specified location. A new file can be: a file created in Drive, a file uploaded to Drive, or a file moved to a new Drive location. This trigger supports shared Drives.

Note: This trigger may fail when you upload a new file to Google Drive for Desktop and then sync with Google Drive Cloud. A Google limitation causes this behavior.
Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive

OR

  • https://www.googleapis.com/auth/drive.readonly

Project compatibility

Windows | Cross-platform

Configuration

  • Google Drive connection - The connection for the Google Workspace account to use in the activity.
  • In location - The location of the created file. This field accepts IResource input. Click the Folder docs image icon to browse available folders.
    • 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, Google Drive Labels.
    Note: The Created by (email) filter doesn't work for Shared Drives.
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 Download File and 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.