GOOGLE WORKSPACE Insert shape function

The GOOGLE WORKSPACE Insert shape function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to insert a shape onto a slide in a Google Slides presentation.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Insert shape function places a shape (rectangle, ellipse, arrow, callout, etc.) onto a specified slide. The shape can contain text and be styled with fill colour, border, and other properties.


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
Shape typeYesSelectRECTANGLEShape type: RECTANGLE, ELLIPSE, ROUND_RECTANGLE, ARROW_RIGHT, CALLOUT, STAR, etc.
X positionYesNumber-Horizontal position in EMU
Y positionYesNumber-Vertical position in EMU
WidthYesNumber-Shape width in EMU
HeightYesNumber-Shape height in EMU
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing the shape objectId

Errors

  • Slide not found – no slide exists with the given object ID
  • Invalid shape type – the specified shape type does not exist

Tips

  • Use the returned objectId to insert text into the shape or update its properties
  • 1 inch = 914400 EMU

Related functions

  • Update shape properties – Style the shape
  • Insert text – Add text to the shape
  • Insert image – Insert an image

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.