GOOGLE WORKSPACE List named ranges function

The GOOGLE WORKSPACE List named ranges function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to list named ranges in a Google Docs document.

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


Description

The List named ranges function retrieves all named ranges defined in a Google Docs document. Named ranges are bookmarks that identify specific content sections for programmatic access.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Document IDYesText-Google Docs document ID
VariableYesText-Variable to store the named ranges

Output variables

VariableTypeDescription
VariableArrayArray of named range objects with name, namedRangeId, and ranges (start/end indices)

Errors

  • Document not found – the document ID is invalid or you lack access

Tips

  • Named ranges are useful for template documents where specific sections need to be updated

Related functions

  • Create named range – Create a new named range
  • Delete named range – Delete a named 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.