Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to insert text into a shape or text box in a Google Slides presentation.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Insert text function inserts text into a text box or shape element on a slide. The text is inserted at a specified index position within the shape’s text content.
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Connector | Yes | Select | - | Select the Google Workspace connector to use |
| Presentation ID | Yes | Text | - | Google Slides presentation ID |
| Shape ID | Yes | Text | - | The object ID of the text box or shape |
| Text | Yes | Textarea | - | The text to insert |
| Insert at index | No | Number | 0 | Zero-based character index within the shape’s text |
Errors
- Shape not found – no shape exists with the given object ID
- Invalid index – the index is outside the shape’s text bounds
Tips
- Use Get metadata to find shape object IDs on a slide
- Use \n for line breaks within the text
- For layout-based slides, the placeholder shapes have predictable IDs
Related functions
- Replace text – Find and replace text across the presentation
- Update text style – Style the inserted text