Google Slides

Read, write, and create presentations

Configuration

Read Presentation

Operation
Read Presentation
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Read Presentation (google_slides_read)

Read content from a Google Slides presentation

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation to read
Output
ParameterTypeDescription
slidesjsonArray of slides with their content

Write to Presentation

Operation
Write to Presentation
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Slide Index
Enter slide index (0 for first slide)
Content*
Enter slide content
Write to Presentation (google_slides_write)

Write or update content in a Google Slides presentation

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation to write to
contentstringYesThe content to write to the slide
slideIndexnumberNoThe index of the slide to write to (defaults to first slide)
Output
ParameterTypeDescription
updatedContentbooleanIndicates if presentation content was updated successfully

Create Presentation

Operation
Create Presentation
Google Account*
Select Google account
Presentation Title*
Enter title for the new presentation
Select Parent Folder
Select a parent folder
Parent Folder ID
Enter parent folder ID (leave empty for root folder)
Initial Content
Enter initial slide content (optional)
Create Presentation (google_slides_create)

Create a new Google Slides presentation

Input
ParameterTypeRequiredDescription
titlestringYesThe title of the presentation to create
contentstringNoThe content to add to the first slide
folderSelectorstringNoSelect the folder to create the presentation in
folderIdstringNoThe ID of the folder to create the presentation in (internal use)
Output

Refer to the block outputs for this operation.


Replace All Text

Operation
Replace All Text
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Find Text*
Text to find (e.g., {{placeholder}})
Replace With*
Text to replace with
Match Case
Disabled
Limit to Slides (IDs)
Comma-separated slide IDs (leave empty for all)
Replace All Text (google_slides_replace_all_text)

Find and replace all occurrences of text throughout a Google Slides presentation

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation
findTextstringYesThe text to find (e.g., {{placeholder}})
replaceTextstringYesThe text to replace with
matchCasebooleanNoWhether the search should be case-sensitive (default: true)
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

Add Slide

Operation
Add Slide
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Slide Layout
Select...
Insertion Position
Position to insert slide (leave empty for end)
Placeholder ID Mappings
JSON array: [{"layoutPlaceholder":{"type":"TITLE"},"objectId":"my_title"}]
Add Slide (google_slides_add_slide)

Add a new slide to a Google Slides presentation with a specified layout

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation
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

Add Image

Operation
Add Image
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Slide ID*
Object ID of the slide to add image to
Image URL*
Public URL of the image (PNG, JPEG, or GIF)
Width (points)
Image width in points (default: 300)
Height (points)
Image height in points (default: 200)
X Position (points)
X position from left (default: 100)
Y Position (points)
Y position from top (default: 100)
Add Image (google_slides_add_image)

Insert an image into a specific slide in a Google Slides presentation

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation
pageObjectIdstringYesThe object ID of the slide/page to add the image to
imageUrlstringYesThe publicly accessible URL of the image (must be PNG, JPEG, or GIF, max 50MB)
widthnumberNoWidth of the image in points (default: 300)
heightnumberNoHeight of the image in points (default: 200)
positionXnumberNoX position from the left edge in points (default: 100)
positionYnumberNoY position from the top edge in points (default: 100)
Output
ParameterTypeDescription
imageIdstringThe object ID of the newly created image

Get Thumbnail

Operation
Get Thumbnail
Google Account*
Select Google account
Select Presentation
Select a presentation
Presentation ID
Enter presentation ID
Slide ID*
Object ID of the slide to get thumbnail for
Thumbnail Size
Select...
Image Format
Select...
Get Thumbnail (google_slides_get_thumbnail)

Generate a thumbnail image of a specific slide in a Google Slides presentation

Input
ParameterTypeRequiredDescription
presentationIdstringYesThe ID of the presentation
pageObjectIdstringYesThe object ID of the slide/page to get a thumbnail for
thumbnailSizestringNoThe size of the thumbnail: SMALL (200px), MEDIUM (800px), or LARGE (1600px). Defaults to MEDIUM.
mimeTypestringNoThe MIME type of the thumbnail image: PNG or GIF. Defaults to PNG.
Output
ParameterTypeDescription
contentUrlstringURL to the thumbnail image (valid for 30 minutes)
widthnumberWidth of the thumbnail in pixels
heightnumberHeight of the thumbnail in pixels

Usage Instructions

Integrate Google Slides into the workflow. Can read, write, create presentations, replace text, add slides, add images, and get thumbnails.

Notes

  • Category: tools
  • Type: google_slides