Help Centre › Functions & 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
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Connector | Yes | Select | - | Select the Google Workspace connector to use |
| Document ID | Yes | Text | - | Google Docs document ID |
| Variable | Yes | Text | - | Variable to store the text |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | Plain 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