# Create Folder

> `UiPath.GSuite.Activities.CreateFolderConnections`

`UiPath.GSuite.Activities.CreateFolderConnections`

## Description

Creates a new folder in Google Drive.

## Project compatibility

Windows | Cross-platform

## Configuration

* **Connection** - The connection for the Google Workspace account to use in the activity.
* **Parent folder** - Browse the parent folder where you want to create the new folder. Use the plus menu button to select one of the following options:
  * **URL or ID**
  * **Use Folder Variable**
  * **Reload Folder Data**

  :::note
  If you select **Use Folder Variable**, you can use the output variable from other activities.
  :::

* **Folder name** - The name of the new folder. This property supports `String` variables and string formatted values. Select the plus menu to switch to the field:
  * **Folder Path** - The path for the new folder hierarchy (e.g. `Projects\2024\Reports`). Missing intermediate folders are created automatically. The conflict behavior applies only to the last segment.
* **If folder already exists** - Specifies what happens if a folder with the same name already exists at the target location. Available options:
  * **Don't replace** - The existing folder is kept and no changes are made.
  * **Auto rename** - The new folder is created with a different name to avoid conflicts.
  * **Add as separate file** - The new folder is added as a separate item alongside the existing one.

### Properties

#### Input

* **Folder description** - The description of the new folder. This property supports `String` variables and string formatted values.

#### Output

* **Folder** - Reference to the newly created folder to use in other activities, such as [Move File](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-move-file-connections).

## Example

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

For more details, also check the following resources:

* [Drive activities](https://docs.uipath.com/activities/other/latest/productivity/drive-activities)
* [Delete File](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-delete-file-or-folder-connections)
* [Download File](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-download-file-connections)
* [Get File Info](https://docs.uipath.com/activities/other/latest/productivity/google-workspace-drive-get-file-folder-connections)
