Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to find and replace text in a Google Slides presentation.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Replace text function finds all occurrences of a text string across all slides in the presentation and replaces them with a new value. This is ideal for populating template presentations with data.
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 |
| Find | Yes | Text | - | The text to search for |
| Replace | Yes | Text | - | The replacement text |
| Match case | No | Boolean | false | Whether the search is case-sensitive |
| Variable | Yes | Text | - | Variable to store the result |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | Object containing occurrencesChanged count |
Errors
- Presentation not found – the presentation ID is invalid or you lack access
Tips
- Use placeholder tokens like {{title}}, {{date}}, {{name}} in template presentations
- The replacement happens across all slides, shapes, and text boxes
- Combine with Duplicate slide to create data-driven slide decks
Related functions
- Insert text – Insert text into a specific shape
- Duplicate slide – Create template-based slides