GOOGLE WORKSPACE Write sheet range function

The GOOGLE WORKSPACE Write sheet range function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to write values to a Google Sheet range.

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


Description

The Write sheet range function writes values to a specified range in a Google Sheets spreadsheet. The values are provided as a 2D array matching the target range dimensions.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID
RangeYesText-A1 notation range (e.g. Sheet1!A1:D10)
ValuesYesText-2D array of values to write, e.g. [["Name","Age"],["Alice","30"]]
Value input optionNoSelectUSER_ENTEREDHow values are interpreted: RAW (as-is) or USER_ENTERED (parsed like UI input)
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing updatedRange, updatedRows, updatedColumns, and updatedCells

Errors

  • Spreadsheet not found – the spreadsheet ID is invalid or you lack access
  • Invalid range – the A1 notation is malformed
  • Dimension mismatch – the values array does not match the range dimensions

Tips

  • Use USER_ENTERED to have Google parse formulas, dates, and numbers automatically
  • Use RAW to write values exactly as provided without parsing
  • Write formulas by starting cell values with = (e.g. =SUM(A1:A10))

Related functions

  • Read sheet range – Read values from a range
  • Append rows – Add rows to the bottom
  • Batch write ranges – Write to multiple ranges at once

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.