Skip to main content

Copy Sheet To Spreadsheet

CopySheetToSpreadsheet copies a single sheet into another spreadsheet.

It calls POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo.

The activity has 4 tabs: Configuration, Auth, Input, and Output.

Configuration

FieldRequiredDescription
NameOptionalName of the step, should be unique within this workflow.
DescriptionOptionalDescribe the purpose or function of this step.
Spreadsheet IdOptionalEnter the ID of the spreadsheet to access its data.
Sheet IdOptionalEnter the ID of the sheet to retrieve its details.

Auth

FieldRequiredDescription
Auth TypeOptionalThe authentication method for the request. OAuth 2 is the only option, and the default.
Auth ResourceOptionalOAuth resource containing credentials.

Input

This activity is built on the REST Client, so the Input tab is the generic HTTP request rather than a Google Sheets-shaped payload.

FieldRequiredData TypeDescription
TargetRequiredObjectThe HTTP request.

Output

The activity returns an httpResponse object.

FieldData TypeDescription
status.codeIntegerNumeric HTTP status code.
status.messageStringShort message associated with the HTTP status.
headersObjectHTTP response headers.
bodyObjectParsed body of the response.

The response body carries:

FieldData TypeDescription
sheetIdIntegerThe ID of the sheet.
titleStringThe name of the sheet.
indexIntegerThe index of the sheet within the spreadsheet.
sheetTypeStringThe type of sheet.
gridPropertiesObjectProperties of a grid.
hiddenBooleanTrue if the sheet is hidden in the UI.
dataSourceSheetPropertiesObject