GOOGLE WORKSPACE Insert image (Docs) function

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

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to insert an image into a Google Docs document.

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


Description

The Insert image function inserts an image from a URL at a specified index position in a Google Docs document. The image is downloaded and embedded in the document.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Document IDYesText-Google Docs document ID
IndexYesNumber-The index position to insert the image
Image URLYesText-Public URL of the image to insert
WidthNoNumber-Image width in points
HeightNoNumber-Image height in points

Errors

  • Document not found – the document ID is invalid or you lack access
  • Invalid image URL – the URL is not accessible or does not point to an image
  • Invalid index – the index is outside the document bounds

Tips

  • The image URL must be publicly accessible
  • Specify both width and height to control the image size, or omit both to use the original dimensions

Related functions

  • Insert text – Insert text content
  • Insert page break – Insert a page break

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.