Google Slides - Update presentation action

The Update presentation action updates a specific Google Slides presentation. You can use this action to replace text, insert table rows, insert text, or replace images.

Each action request supports one type of update per run, such as replacing all text or inserting an image.

Input

Input fieldDescription
Presentation IDEnter the unique ID of the presentation. You can find this in the URL.
Replace all text source listProvide a list datapill that defines replacement instructions.
Replace withEnter the text to use as the replacement.
FindProvide the text substring to match before replacement.
Insert table rows source listProvide a list datapill that defines table row instructions.
Table object IDEnter the ID of the table to insert rows into.
Cell locationDefine the table cell to use as the insertion point.
Insert belowSelect whether to insert rows below the reference cell.
NumberEnter the number of rows to insert. The maximum is 20.
Insert text source listProvide a list datapill that defines text insertion instructions.
Object ID (text)Enter the ID of the shape or table for text insertion.
Cell location (text)Define the target table cell for text insertion.
TextEnter the text to insert.
Insertion indexEnter the zero-based position to insert the text.
Create image source listProvide a list datapill that defines image creation instructions.
Object ID (image)Enter a unique ID for the image element. Leave blank to auto-generate.
Element propertiesDefine properties for the inserted image element.
URL (create image)Provide the image URL.
Replace image source listProvide a list datapill that defines image replacement instructions.
Image titleEnter the title of the image to replace, set through Alt text in Slides.
URL (replace image)Provide the URL of the replacement image.
Image replace methodSelect how the replacement image should fit. The default is Center inside.

Output

Output fieldDescription
Presentation IDID of the updated presentation.
Replace all textDetails about text that was replaced.
Create imageDetails about inserted images.
List sizeThe number of elements in the request list.
List indexIndex position of elements in the batch request.
Write controlMetadata used to handle concurrent write operations.
Required revision IDThe revision ID after updates are applied.

Last updated: