Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to update shape properties in a Google Slides presentation.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Update shape properties function modifies the visual properties of a shape element on a slide, including size, position, fill colour, border colour, border weight, and rotation.
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 shape to update |
| Properties | Yes | Text | - | JSON object with shape properties (fill, outline, size, transform, rotation) |
Errors
- Shape not found – no shape exists with the given object ID
- Invalid properties – the properties JSON is malformed
Tips
- Fill colour: {"solidFill":{"color":{"rgbColor":{"red":0.2,"green":0.5,"blue":0.8}}}}
- Use this to dynamically style shapes based on data (e.g. red for overdue, green for on-track)
Related functions
- Insert shape – Create a new shape
- Update text style – Style text within a shape