Overview
Add Google Slides to any ModuleX agent or workflow. Create and edit Google Slides presentations from agents — manage slides, shapes, images, tables, and text via the Google Slides REST API (slides.googleapis.com/v1).
Authentication
OAuth2 Authentication
Connect using Google OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Google Cloud OAuth 2.0 Client ID | Yes | 1234567890-abcdefghijklmnop.apps.googleusercontent.com |
| Client Secret | Google Cloud OAuth 2.0 Client Secret | Yes | GOCSPX-xxxxxxxxxxxxxxxxxxxxxxxx |
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/presentations
Available Actions
create_image — Insert an image (by URL) onto a slide in a presentation via the Slides batchUpdate CreateImageRequest.
create_image — Insert an image (by URL) onto a slide in a presentation via the Slides batchUpdate CreateImageRequest.
Parameters
1)1)0)0)Response
create_page_element — Insert a new shape page element (text box, rectangle, ellipse, arrow, etc.) onto a slide via the Slides batchUpdate CreateShapeRequest.
create_page_element — Insert a new shape page element (text box, rectangle, ellipse, arrow, etc.) onto a slide via the Slides batchUpdate CreateShapeRequest.
Parameters
1)1)0)0)Response
create_presentation — Create a blank Google Slides presentation via the Slides API.
create_presentation — Create a blank Google Slides presentation via the Slides API.
create_slide — Create a new slide in a presentation, optionally based on a specific layout, via the Slides batchUpdate CreateSlideRequest.
create_slide — Create a new slide in a presentation, optionally based on a specific layout, via the Slides batchUpdate CreateSlideRequest.
create_table — Create a new table on a slide with the given rows and columns via the Slides batchUpdate CreateTableRequest.
create_table — Create a new table on a slide with the given rows and columns via the Slides batchUpdate CreateTableRequest.
Parameters
Response
delete_page_element — Delete a page element (shape, image, table, etc.) from a slide via the Slides batchUpdate DeleteObjectRequest.
delete_page_element — Delete a page element (shape, image, table, etc.) from a slide via the Slides batchUpdate DeleteObjectRequest.
delete_slide — Delete a slide from a presentation via the Slides batchUpdate DeleteObjectRequest.
delete_slide — Delete a slide from a presentation via the Slides batchUpdate DeleteObjectRequest.
delete_table_column — Delete a single column from an existing table on a slide via the Slides batchUpdate DeleteTableColumnRequest.
delete_table_column — Delete a single column from an existing table on a slide via the Slides batchUpdate DeleteTableColumnRequest.
delete_table_row — Delete a single row from an existing table on a slide via the Slides batchUpdate DeleteTableRowRequest.
delete_table_row — Delete a single row from an existing table on a slide via the Slides batchUpdate DeleteTableRowRequest.
find_presentation — Fetch full metadata about a Google Slides presentation (slides, layouts, masters) via Slides presentations.get.
find_presentation — Fetch full metadata about a Google Slides presentation (slides, layouts, masters) via Slides presentations.get.
insert_table_columns — Insert new columns into an existing table on a slide via the Slides batchUpdate InsertTableColumnsRequest. Maximum 20 columns per request.
insert_table_columns — Insert new columns into an existing table on a slide via the Slides batchUpdate InsertTableColumnsRequest. Maximum 20 columns per request.
Parameters
1)Response
insert_table_rows — Insert new rows into an existing table on a slide via the Slides batchUpdate InsertTableRowsRequest. Maximum 20 rows per request.
insert_table_rows — Insert new rows into an existing table on a slide via the Slides batchUpdate InsertTableRowsRequest. Maximum 20 rows per request.
Parameters
1)Response
insert_text — Insert text into a shape (typically a TEXT_BOX) on a slide via the Slides batchUpdate InsertTextRequest.
insert_text — Insert text into a shape (typically a TEXT_BOX) on a slide via the Slides batchUpdate InsertTextRequest.
Parameters
Response
insert_text_into_table — Insert text into a specific cell of a table on a slide via the Slides batchUpdate InsertTextRequest with cellLocation.
insert_text_into_table — Insert text into a specific cell of a table on a slide via the Slides batchUpdate InsertTextRequest with cellLocation.
Parameters
Response
replace_all_text — Replace every occurrence of a given text snippet inside a presentation via the Slides batchUpdate ReplaceAllTextRequest. Optionally restricted to specific slide pages.
replace_all_text — Replace every occurrence of a given text snippet inside a presentation via the Slides batchUpdate ReplaceAllTextRequest. Optionally restricted to specific slide pages.
Parameters
Response
Limits & Quotas
- Per-project quotas: Google Slides API defaults to a few hundred read or write requests per 100 seconds per project; per-user limits also apply (see the Slides API quotas page). Quotas are managed in the Google Cloud Console (APIs & Services -> Quotas).
- batchUpdate body: Slides
batchUpdaterequests should stay under ~10 MB; for very large updates, batch the work into multiple calls. - Insert table rows/columns: capped at 20 per single request, per Google’s documented
InsertTableRowsRequest/InsertTableColumnsRequestlimits. - Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising. Plan for retries on the agent side based on the error string. OAuth tokens that have expired surface as HTTP 401 in theerrorfield.