activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

CreateFolder

Creates a folder in the specified Google Drive location.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

public IFolder CreateFolder(
	string name,
	string description,
	IFolder parentFolder = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)
public IFolder CreateFolder(
	string name,
	string description,
	IFolder parentFolder = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)

Parameters

name String : The name of the new folder.

description String (Optional) : The description of the new folder.

parent IFolder (Optional) : The location on Google Drive where to create the folder. If null, the new folder is created in the root.

conflictBehavior ConflictBehavior (Optional) : What is the expected behavior when a folder with the same name already exists in the destination folder.

Return value

IFolder - The newly created folder.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated