GOOGLE WORKSPACE Insert video function

The GOOGLE WORKSPACE Insert video function in RPA.

Help CentreFunctions & Formulas

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

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


Description

The Insert video function embeds a YouTube video onto a specified slide. The video appears as a clickable element that plays within the presentation.


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
Video URLYesText-YouTube video URL or video ID
X positionNoNumber0Horizontal position in EMU
Y positionNoNumber0Vertical position in EMU
WidthNoNumber-Video element width in EMU
HeightNoNumber-Video element height in EMU
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing the video element objectId

Errors

  • Slide not found – no slide exists with the given object ID
  • Invalid video URL – the URL is not a valid YouTube video

Tips

  • Currently only YouTube videos are supported
  • The video appears as a thumbnail with a play button

Related functions

  • Insert image – Insert an image
  • Insert shape – Insert a shape

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.