What It Does
The skill supports creating presentations, adding slides with predefined layouts, inserting text and images, updating text styles, and performing batch operations atomically.
The Google Slides skill connects your AI agent to the Google Slides API through Maton's managed OAuth gateway. Instead of handling OAuth flows yourself, you authenticate once at `ctrl.maton.ai` and then make standard API calls using your `MATON_API_KEY`.
Key Features
- Managed OAuth — No Token Handling Required — Authentication is handled by the Maton gateway. Connect your Google account once at `ctrl.maton.ai` and all subsequent API calls automatically receive a valid OAuth token. You only need your `MATON_API_KEY` in the `Authorization` header.
- Full Presentations & Pages API Coverage — Create and retrieve presentations, get individual pages (slides), and fetch page thumbnails in PNG format at custom sizes. The gateway proxies requests directly to `slides.googleapis.com` using the native API path structure.
- Atomic Batch Updates — All modifications — adding slides, inserting text, creating shapes, inserting images, deleting objects, and updating styles — are made via the `batchUpdate` endpoint. Multiple requests in a single call are applied atomically, ensuring consistency.
- Predefined Slide Layouts — Create slides using built-in Google Slides layouts including `BLANK`, `TITLE`, `TITLE_AND_BODY`, `TITLE_AND_TWO_COLUMNS`, `SECTION_HEADER`, `MAIN_POINT`, `BIG_NUMBER`, and more.
- Template-Based Text Replacement — Use the `replaceAllText` request to swap placeholder tokens (e.g. `{{placeholder}}`) across an entire presentation at once, making it straightforward to generate slides from templates.
- Multiple Connection Support — Manage multiple Google OAuth connections under one Maton account. Specify which connection to use per request via the `Maton-Connection` header, or let the gateway default to the oldest active connection.
Requirements
- **Maton API Key** *(required)* — Authenticates all requests to the Maton gateway. Obtain from [maton.ai/settings](https://maton.ai/settings).
- **Google OAuth Connection** *(required)* — A connected Google account authorized for Google Slides, managed at [ctrl.maton.ai](https://ctrl.maton.ai).
Use Cases
- Automated weekly report decks — An agent pulls metrics from a data source, creates a new Google Slides presentation, adds slides with `TITLE_AND_BODY` layout, and inserts formatted text and chart images — all without any manual slide work.
- Template-driven proposal generation — A master slide template with tokens like `{{client_name}}` and `{{project_date}}` is duplicated per client, then `replaceAllText` batch requests swap every token with real values in a single atomic call.
- Meeting summary slide creation — After a meeting transcript is processed, an agent creates a presentation, adds one slide per agenda item, and inserts the summarized talking points as text — ready to share immediately after the call.
- Slide thumbnail extraction — An agent retrieves PNG thumbnails of specific slides for preview display in a web app or document, using the page thumbnail endpoint with `LARGE` size parameters.