# Folder Created

> `UiPath.GSuite.Activities.Drive.Triggers.NewFolderCreated`

`UiPath.GSuite.Activities.Drive.Triggers.NewFolderCreated`

## Description

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

:::note
This trigger may fail when you upload a new folder 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 where the folder is created. This field accepts `IResource` input. Select the Folder ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-folder_icon-818994f9.png) 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** - Select this field to open the **Filter builder** and add additional filters. Supports filtering on the following fields: Created by (email), Name.

### Additional options

**Output**

* **Folder** - The created folder 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 [Create Spreadsheet](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-sheets-create-spreadsheet-connections).
* **Job Data** - Contains job info, such as Process name, Process version, Workflow name, Robot name, and mode of execution.

## Example

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/activities-docs-image-294010-608850ec.webp)

For more details, also check the following resources::

* [Drive activities](https://docs.uipath.com/activities/other/latest/productivity/drive-activities)
* [For Each File/Folder](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-for-each-file-folder-connections)
* [Get File/Folder](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-get-file-folder-connections)
* [Share File/Folder](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-share-file-folder-connections)
* [Upload Files](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-upload-files-connections)
