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

Productivity activities

Last updated Feb 19, 2026

AddSpreadsheet

Creates a new spreadsheet.

Namespace: UiPath.Gsuite.Activities.API

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

Syntax

public ISpreadsheet AddSpreadsheet(
	GDriveRemoteItem parentFolder,
	string spreadsheetName,
	string firstSheetName = "Sheet1",
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)
public ISpreadsheet AddSpreadsheet(
	GDriveRemoteItem parentFolder,
	string spreadsheetName,
	string firstSheetName = "Sheet1",
	ConflictBehavior conflictResolution = ConflictBehavior.Fail
)

Parameters

parentFolder GDriveRemoteItem : The folder where to create the spreadsheet. If null, the spreadsheet is created in the root folder.

spreadSheetname String : The name of the spreadsheet to be created.

firstSheetName String (Optional) : The name of the first sheet in the spreadsheet. Set to Sheet1 by default.

conflictResolution ConflictBehavior (Optional) : The expected behavior when a spreadsheet with the same name already exists in the destination folder.

Return value

ISpreadsheet - A Google spreadsheet.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

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