GOOGLE WORKSPACE Insert image (Slides) function

The GOOGLE WORKSPACE Insert image (Slides) function in RPA.

Help CentreFunctions & 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

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Presentation IDYesText-Google Slides presentation ID
Slide IDYesText-The object ID of the target slide
Image URLYesText-Public URL of the image to insert
X positionNoNumber0Horizontal position in EMU (English Metric Units)
Y positionNoNumber0Vertical position in EMU
WidthNoNumber-Image width in EMU
HeightNoNumber-Image height in EMU
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject 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

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.