Skip to main content
Google Slides logo
  • Category: documents
  • Auth: OAUTH2
  • Composio-managed OAuth available? Yes
  • Tools: 8
  • Triggers: 1
  • Slug: GOOGLESLIDES
  • Version: 20261101_00

Frequently Asked Questions

For a step-by-step guide on creating and configuring your own Google OAuth credentials with Composio, see How to create OAuth2 credentials for Google Apps.
The OAuth client is requesting scopes that Google hasn’t verified for that client. This usually happens when you add extra scopes beyond the defaults.Remove the additional scopes from your auth config, or create your own OAuth app and submit the scopes for verification. See How to create OAuth2 credentials for Google Apps.
When using custom OAuth credentials, the Google Slides API must be enabled in the Google Cloud project that owns those credentials. Enable it in Google Cloud Console under APIs & Services, wait a few minutes, and retry.
The requested scopes are invalid or incorrectly formatted in the authorization URL. Verify your scope values against the Google OAuth scopes docs. If you’re creating auth configs programmatically, see the programmatic auth config guide.
The user’s access token is no longer valid. Common causes: the user revoked access, changed their password or 2FA, a Workspace admin policy changed, or Google’s refresh token limit (~50 per account) was exceeded. Re-authenticating the user typically resolves this.
Google enforces per-minute and daily request quotas. If you’re using Composio’s default OAuth app, you share that quota with other users, which can cause limits to be hit faster. Use your own OAuth app credentials to get a dedicated quota, and add exponential backoff and retries to handle transient rate limits.

Tools

Slug: GOOGLESLIDES_CREATE_PRESENTATIONCreate a blank Google Slides presentation with an optional title and presentation ID.

Input Parameters

string
The title of the presentation. If omitted, the API uses a default title.
string
The locale of the presentation, as an IETF BCP 47 language tag (e.g., ‘en-US’, ‘fr-FR’, ‘ja-JP’). If omitted, the API uses a default locale.
object
The size of a page in the presentation.
string
The ID to use for the new presentation. If provided, it is used as the ID of the new presentation. Otherwise, a new ID is automatically generated. Must be a valid Google Drive/Slides ID format (long alphanumeric string). Note: Human-readable IDs (e.g., ‘my-presentation’) are not valid and will cause API errors. Only provide this if you have a valid Google Drive/Slides ID format; otherwise omit to let the API generate one.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_CREATE_SLIDES_MARKDOWNCreates a new Google Slides presentation from Markdown, splitting content into slides at ’---’ separators and selecting layouts based on content structure. Images that fail validation or cannot be fetched may be skipped; skipped URLs are reported in the execution message.

Input Parameters

string
required
The title for the new Google Slides presentation.
string
required
The content for the slides, formatted as Markdown. THEME SELECTION: Add Theme: <name> at the start of your markdown. Available themes: default, corporate_blue, modern_dark, professional_gray, creative_purple, warm_orange, forest_green, minimal_beige. SLIDE SEPARATION: Use ’ --- ’ (on its own line) to separate slides. Each slide auto-detects its type. SLIDE TYPES: 1. Title Slide (first slide): # Title Subtitle text 2. Bullet Slides: Use -, *, or bullet characters for bullets 3. Table Slides: Standard markdown tables 4. Quote Slides: > Quote text 5. Text Slides: Regular paragraphs 6. Image Slides: 7. Two-Column Slides: Use &#124;&#124;&#124; on its own line to split left/right IMAGE REQUIREMENTS: Images must be publicly accessible PNG/JPEG/GIF under 50MB. No auth-requiring URLs. FORMATTING: Use **text** for bold. Emojis supported. Line breaks preserved.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_GET_PAGE_THUMBNAIL2Tool to generate a thumbnail of the latest version of a specified page. Use when you need a preview image URL for a slide page. This request counts as an expensive read request for quota purposes.

Input Parameters

string
required
The object ID of the page whose thumbnail to retrieve.
string
required
The ID of the presentation to retrieve.
string
The optional mime type of the thumbnail image. Defaults to PNG if not specified.
string ("THUMBNAIL_SIZE_UNSPECIFIED" | "LARGE" | "MEDIUM" | "SMALL")
The optional thumbnail image size. LARGE = 1600px, MEDIUM = 800px, SMALL = 200px. Defaults to LARGE if not specified.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATEUpdate a Google Slides presentation using markdown or raw API requests. Markdown supports themes and multiple slide types; images may be skipped when their URLs fail validation or Google cannot retrieve them.

Input Parameters

array
List of update requests, each a dict with one of these valid Slides API request types: Common requests: createSlide, createShape, createTable, createImage, insertText, updateTextStyle, updateShapeProperties, updatePageProperties, updateParagraphStyle, deleteObject, updateTableCellProperties, updateTableColumnProperties, replaceAllText IMPORTANT: To update slide backgrounds, use updatePageProperties (NOT updateSlideProperties). The field pageBackgroundFill exists in PageProperties, not SlideProperties. Required if markdown_text is not provided.
object
Options that control how write requests are executed.
string
Markdown content to add as new slides to an existing presentation. Separate slides with ‘\n---\n’. Each slide auto-detects its type from content. Slide types: title (’# Title\nSubtitle’), bullets (’-’/’+’/’*’), tables (markdown tables), quotes (’> text’), images (''), two-column (’|||’ separator), plain text. Add ‘Theme: <name>’ as the first line to apply a theme. Available themes: default, corporate_blue, modern_dark, professional_gray, creative_purple, warm_orange, forest_green, minimal_beige. Font sizes auto-scale based on content length (28pt down to 8pt). Supports bold, emoji, and auto-centering of tables. Images must be publicly accessible URLs (PNG/JPEG/GIF, <50MB).
string
required
The ID of the presentation to apply the updates to.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_PRESENTATIONS_COPY_FROM_TEMPLATETool to create a new Google Slides presentation by duplicating an existing template deck via Drive file copy. Use when you need to preserve themes, masters, and layouts exactly as they appear in the template. After copying, use GOOGLESLIDES_PRESENTATIONS_BATCH_UPDATE to replace placeholder text or images.

Input Parameters

string
The name/title for the copied presentation. If omitted, a default name like ‘Copy of [original]’ is used.
string
The ID of the destination folder in Google Drive. If provided, the copied presentation will be placed in this folder. If omitted, the copy is placed in the user’s root folder.
string
required
The Drive file ID of the Slides template to copy. This is the presentationId of the existing deck you want to duplicate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_PRESENTATIONS_GETRetrieve the latest version of a presentation by ID or exact name, selecting the first matching non-trashed presentation for a name. Returned slide and page-element information is limited to IDs and page types rather than full slide content.

Input Parameters

string
Comma-separated selector specifying which fields to include in a partial response. Nested fields use parentheses that must be properly balanced. Top-level fields: presentationId, title, locale, revisionId, pageSize, slides, masters, layouts, notesMaster. For slides/masters/layouts, valid Page fields: objectId, pageType, pageElements, pageProperties, revisionId. For pageElements, valid fields: objectId, size, transform, title, description, shape, image, video, line, table, wordArt, elementGroup, sheetsChart, speakerSpotlight. For shape, valid fields: shapeType, text, shapeProperties, placeholder. Note: ‘autofit’ is under shapeProperties, not directly under shape. Use shape(shapeProperties(autofit)), not shape(autofit). Examples: ‘presentationId,title’, ‘slides(objectId,pageElements(objectId,size))’, ‘slides(objectId,pageElements(objectId,shape(shapeType,text,shapeProperties(autofit))))’
string
The ID of the presentation to retrieve. Either presentation_id or presentation_name must be provided.
string
The name of the presentation to search for and retrieve. If provided, the action will search Google Drive for a presentation with this name. Either presentation_id or presentation_name must be provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_PRESENTATIONS_PAGES_GETTool to get the latest version of a specific page in a presentation. Use when you need to inspect slide, layout, master, or notes page details.

Input Parameters

string
required
The object ID of the page to retrieve.
string
required
The ID of the presentation from which to fetch the page.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: GOOGLESLIDES_PRESENTATIONS_PAGES_GET_THUMBNAILDEPRECATED: Use GOOGLESLIDES_GET_PAGE_THUMBNAIL2 instead. Tool to generate and return a thumbnail image URL for a specific page. Use when you need a quick preview of a slide page after loading it.

Input Parameters

string
required
The object ID of the page whose thumbnail to retrieve.
string
required
The ID of the presentation containing the page.
string
Optional thumbnail image MIME type. Currently only ‘PNG’ is supported by the API. Defaults to ‘PNG’ if omitted.
string ("THUMBNAIL_SIZE_UNSPECIFIED" | "LARGE" | "MEDIUM" | "SMALL")
Optional thumbnail size. One of ‘LARGE’, ‘MEDIUM’, ‘SMALL’, or ‘THUMBNAIL_SIZE_UNSPECIFIED’. Defaults to ‘LARGE’ if omitted.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not

Triggers

Slug: GOOGLESLIDES_SLIDE_ADDED_TRIGGERType: pollFires when a new slide is added to a Google Slides presentation.

Configuration

number
Periodic Interval to Check for Updates & Send a Trigger in Minutes
string
required
The ID of the presentation to monitor for new slides

Payload

string
Type of slide event
object
required
The slide object that was added