GOOGLE WORKSPACE Get text function

The GOOGLE WORKSPACE Get text function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to get the plain text content of a Google Docs document.

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


Description

The Get text function extracts the plain text content from a Google Docs document, stripping all formatting, images, and structural elements. Returns a single text string.


Input parameters

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

Output variables

VariableTypeDescription
VariableTextPlain text content of the document

Errors

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

Tips

  • Use this for text processing, search, or analysis tasks
  • For structured content including formatting, use Get content instead

Related functions

  • Get content – Get full structured content
  • Replace text – Find and replace text

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.