Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to add a new slide to a Google Slides presentation.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Add slide function adds a new slide to a Google Slides presentation with a specified layout. The slide is added at the end of the presentation or at a specified position.
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 |
| Layout | No | Select | BLANK | Slide layout: BLANK, TITLE, TITLE_AND_BODY, TITLE_AND_TWO_COLUMNS, TITLE_ONLY, SECTION_HEADER, etc. |
| Insert at index | No | Number | End | Zero-based position to insert the slide (omit to add at end) |
| Variable | Yes | Text | - | Variable to store the result |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | Object containing the new slide objectId |
Errors
- Presentation not found – the presentation ID is invalid or you lack access
- Invalid layout – the specified layout does not exist
Tips
- Use BLANK for full control over slide content
- Use TITLE_AND_BODY for standard content slides
- The returned objectId is needed for inserting content onto the slide
Related functions
- Delete slide – Remove a slide
- Insert text – Add text to the slide