GOOGLE WORKSPACE Open spreadsheet function

The GOOGLE WORKSPACE Open spreadsheet function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to open an existing Google Sheets spreadsheet.

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


Description

The Open spreadsheet function opens a connection to an existing Google Sheets spreadsheet by its ID or URL. This establishes a session for subsequent read and write operations.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID or full URL
VariableYesText-Variable to store the spreadsheet metadata

Output variables

VariableTypeDescription
VariableObjectObject containing spreadsheetId, title, locale, and sheets array

Errors

  • Spreadsheet not found – the spreadsheet ID is invalid or you lack access
  • Insufficient permissions – the app lacks spreadsheets scope

Tips

  • The spreadsheet ID is the long string in the URL between /d/ and /edit
  • You can also paste the full Google Sheets URL and the ID will be extracted automatically
  • Use the Close function when finished to release the connection

Related functions

  • Close – Close the spreadsheet connection
  • Read sheet range – Read values from a range
  • Write sheet range – Write values to a range

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.