Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to insert an image onto a slide in a Google Slides presentation.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Insert image function places an image from a URL onto a specified slide. You can control the position and size of the image on the slide.
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 |
| Slide ID | Yes | Text | - | The object ID of the target slide |
| Image URL | Yes | Text | - | Public URL of the image to insert |
| X position | No | Number | 0 | Horizontal position in EMU (English Metric Units) |
| Y position | No | Number | 0 | Vertical position in EMU |
| Width | No | Number | - | Image width in EMU |
| Height | No | Number | - | Image height in EMU |
| Variable | Yes | Text | - | Variable to store the result |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | Object containing the image element objectId |
Errors
- Slide not found – no slide exists with the given object ID
- Invalid image URL – the URL is not accessible or does not point to an image
Tips
- 1 inch = 914400 EMU. A standard slide is 9144000 x 5143500 EMU (10" x 5.63")
- The image URL must be publicly accessible
Related functions
- Insert shape – Insert a shape onto a slide
- Insert text – Add text to a slide