GOOGLE WORKSPACE Add slide function

The GOOGLE WORKSPACE Add slide function in RPA.

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

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Presentation IDYesText-Google Slides presentation ID
LayoutNoSelectBLANKSlide layout: BLANK, TITLE, TITLE_AND_BODY, TITLE_AND_TWO_COLUMNS, TITLE_ONLY, SECTION_HEADER, etc.
Insert at indexNoNumberEndZero-based position to insert the slide (omit to add at end)
VariableYesText-Variable to store the result

Output variables

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

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.