AACFlow

Google Slides

Read, write, and create presentations

Usage Instructions

Integrate Google Slides into the workflow. Can read, write, create presentations, replace text, add slides, add images, get thumbnails, get page details, delete objects, duplicate objects, reorder slides, create tables, create shapes, and insert text.

Tools

google_slides_read

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description

Output

ParameterTypeDescription
slidesjsonArray of slides with their content
metadatajsonPresentation metadata including ID, title, and URL
presentationIdstringThe presentation ID
titlestringThe presentation title
pageSizeobjectPresentation page size
widthjsonPage width as a Dimension object
heightjsonPage height as a Dimension object
mimeTypestringThe mime type of the presentation
urlstringURL to open the presentation

google_slides_write

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
contentstringYesNo description
slideIndexnumberNoNo description

Output

ParameterTypeDescription
updatedContentbooleanIndicates if presentation content was updated successfully
metadatajsonUpdated presentation metadata including ID, title, and URL
presentationIdstringThe presentation ID
titlestringThe presentation title
mimeTypestringThe mime type of the presentation
urlstringURL to open the presentation

google_slides_create

Input

ParameterTypeRequiredDescription
titlestringYesNo description
contentstringNoNo description
folderSelectorstringNoNo description
folderIdstringNoNo description

Output

ParameterTypeDescription
metadatajsonCreated presentation metadata including ID, title, and URL
presentationIdstringThe presentation ID
titlestringThe presentation title
mimeTypestringThe mime type of the presentation
urlstringURL to open the presentation

google_slides_replace_all_text

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
findTextstringYesNo description
replaceTextstringYesNo description
matchCasebooleanNoNo description
pageObjectIdsstringNoComma-separated list of slide object IDs to limit replacements to specific slides (leave empty for all slides)

Output

ParameterTypeDescription
occurrencesChangednumberNumber of text occurrences that were replaced
metadatajsonOperation metadata including presentation ID and URL
presentationIdstringThe presentation ID
findTextstringThe text that was searched for
replaceTextstringThe text that replaced the matches
urlstringURL to open the presentation

google_slides_add_slide

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
layoutstringNoThe predefined layout for the slide (BLANK, TITLE, TITLE_AND_BODY, TITLE_ONLY, SECTION_HEADER, etc.). Defaults to BLANK.
insertionIndexnumberNoThe optional zero-based index indicating where to insert the slide. If not specified, the slide is added at the end.
placeholderIdMappingsstringNoJSON array of placeholder mappings to assign custom object IDs to placeholders. Format: [{"layoutPlaceholder":{"type":"TITLE"},"objectId":"custom_title_id"}]

Output

ParameterTypeDescription
slideIdstringThe object ID of the newly created slide
metadatajsonOperation metadata including presentation ID, layout, and URL
presentationIdstringThe presentation ID
layoutstringThe layout used for the new slide
insertionIndexnumberThe zero-based index where the slide was inserted
urlstringURL to open the presentation

google_slides_add_image

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
pageObjectIdstringYesNo description
imageUrlstringYesNo description
widthnumberNoNo description
heightnumberNoNo description
positionXnumberNoNo description
positionYnumberNoNo description

Output

ParameterTypeDescription
imageIdstringThe object ID of the newly created image
metadatajsonOperation metadata including presentation ID and image URL
presentationIdstringThe presentation ID
pageObjectIdstringThe page object ID where the image was inserted
imageUrlstringThe source image URL
urlstringURL to open the presentation

google_slides_get_thumbnail

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
pageObjectIdstringYesNo description
thumbnailSizestringNoThe size of the thumbnail: SMALL (200px), MEDIUM (800px), or LARGE (1600px). Defaults to MEDIUM.
mimeTypestringNoNo description

Output

ParameterTypeDescription
contentUrlstringURL to the thumbnail image (valid for 30 minutes)
widthnumberWidth of the thumbnail in pixels
heightnumberHeight of the thumbnail in pixels
metadatajsonOperation metadata including presentation ID and page object ID
presentationIdstringThe presentation ID
pageObjectIdstringThe page object ID for the thumbnail
thumbnailSizestringThe requested thumbnail size
mimeTypestringThe thumbnail MIME type

google_slides_get_page

Get detailed information about a specific slide/page in a Google Slides presentation

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
pageObjectIdstringYesNo description

Output

ParameterTypeDescription
objectIdstringThe object ID of the page
pageTypestringThe type of page (SLIDE, MASTER, LAYOUT, NOTES, NOTES_MASTER)
pageElementsarrayArray of page elements (shapes, images, tables, etc.) on this page
slidePropertiesobjectProperties specific to slides (layout, master, notes)
layoutObjectIdstringObject ID of the layout this slide is based on
masterObjectIdstringObject ID of the master this slide is based on
notesPagejsonThe notes page associated with the slide
metadataobjectOperation metadata including presentation ID and URL
presentationIdstringThe presentation ID
urlstringURL to the presentation

google_slides_delete_object

Delete a page element (shape, image, table, etc.) or an entire slide from a Google Slides presentation

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
objectIdstringYesNo description

Output

ParameterTypeDescription
deletedbooleanWhether the object was successfully deleted
objectIdstringThe object ID that was deleted
metadataobjectOperation metadata including presentation ID and URL
presentationIdstringThe presentation ID
urlstringURL to the presentation

google_slides_duplicate_object

Duplicate an object (slide, shape, image, table, etc.) in a Google Slides presentation

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
objectIdstringYesNo description
objectIdsstringNoOptional JSON object mapping source object IDs (within the slide being duplicated) to new object IDs for the duplicates. Format: {"sourceId1":"newId1","sourceId2":"newId2"}

Output

ParameterTypeDescription
duplicatedObjectIdstringThe object ID of the newly created duplicate
metadataobjectOperation metadata including presentation ID and source object ID
presentationIdstringThe presentation ID
sourceObjectIdstringThe original object ID that was duplicated
urlstringURL to the presentation

google_slides_update_slides_position

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
slideObjectIdsstringYesComma-separated list of slide object IDs to move. The slides will maintain their relative order.
insertionIndexnumberYesThe zero-based index where the slides should be moved. All slides with indices greater than or equal to this will be shifted right.

Output

ParameterTypeDescription
movedbooleanWhether the slides were successfully moved
slideObjectIdsarrayThe slide object IDs that were moved
insertionIndexnumberThe index where the slides were moved to
metadataobjectOperation metadata including presentation ID and URL
presentationIdstringThe presentation ID
urlstringURL to the presentation

google_slides_create_table

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
pageObjectIdstringYesNo description
rowsnumberYesNo description
columnsnumberYesNo description
widthnumberNoNo description
heightnumberNoNo description
positionXnumberNoNo description
positionYnumberNoNo description

Output

ParameterTypeDescription
tableIdstringThe object ID of the newly created table
rowsnumberNumber of rows in the table
columnsnumberNumber of columns in the table
metadataobjectOperation metadata including presentation ID and page object ID
presentationIdstringThe presentation ID
pageObjectIdstringThe page object ID where the table was created
urlstringURL to the presentation

google_slides_create_shape

Create a shape (rectangle, ellipse, text box, arrow, etc.) on a slide in a Google Slides presentation

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
pageObjectIdstringYesNo description
shapeTypestringYesThe type of shape to create. Common types: TEXT_BOX, RECTANGLE, ROUND_RECTANGLE, ELLIPSE, TRIANGLE, DIAMOND, STAR_5, ARROW_EAST, HEART, CLOUD
widthnumberNoNo description
heightnumberNoNo description
positionXnumberNoNo description
positionYnumberNoNo description

Output

ParameterTypeDescription
shapeIdstringThe object ID of the newly created shape
shapeTypestringThe type of shape that was created
metadataobjectOperation metadata including presentation ID and page object ID
presentationIdstringThe presentation ID
pageObjectIdstringThe page object ID where the shape was created
urlstringURL to the presentation

google_slides_insert_text

Insert text into a shape or table cell in a Google Slides presentation. Use this to add text to text boxes, shapes, or table cells.

Input

ParameterTypeRequiredDescription
presentationIdstringYesNo description
objectIdstringYesThe object ID of the shape or table cell to insert text into. For table cells, use the cell object ID.
textstringYesNo description
insertionIndexnumberNoThe zero-based index at which to insert the text. If not specified, text is inserted at the beginning (index 0).

Output

ParameterTypeDescription
insertedbooleanWhether the text was successfully inserted
objectIdstringThe object ID where text was inserted
textstringThe text that was inserted
metadataobjectOperation metadata including presentation ID and URL
presentationIdstringThe presentation ID
urlstringURL to the presentation

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started