GOOGLE WORKSPACE Batch update spreadsheet function

The GOOGLE WORKSPACE Batch update spreadsheet function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to batch update a spreadsheet.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Batch update spreadsheet function executes multiple update requests in a single API call. Supports adding/deleting sheets, formatting, merging, sorting, conditional formatting, charts, and more. All requests are applied atomically.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID
RequestsYesTextarea-JSON array of request objects (see Google Sheets API batchUpdate documentation)
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing replies array with results for each request

Errors

  • Spreadsheet not found – the spreadsheet ID is invalid
  • Invalid request – one or more request objects are malformed

Tips

  • Use this for operations not covered by individual functions (e.g. conditional formatting, pivot tables)
  • All requests are applied atomically – if one fails, none are applied
  • Refer to the Google Sheets API batchUpdate documentation for the full list of request types

Related functions

  • Format cells – Format cells individually
  • Add sheet tab – Add a sheet tab individually

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.