Automate Google Slides with TypeScript
Create presentations and slides, add shapes, images, tables, and text, and update layout, formatting, transforms, and image content.
import { automation, onHttpRequest } from "automate.ax"
import { googleSlides } from "automate.ax/google-slides"
import { z } from "zod"
export default automation("Create a presentation", () => {
const request = onHttpRequest({
body: z.object({ title: z.string() }),
})
const deck = googleSlides.createPresentation({ title: request.body.title })
googleSlides.createSlide({ presentation: deck.presentationId, layout: "titleAndBody" })
})What you can do
Actions
- Create and inspect presentations
- Create, duplicate, and delete slides and objects
- Add shapes, images, tables, and text
- Format text, transform objects, and replace images
Triggers
No provider trigger is published for Google Slides yet. Use another trigger, then call its actions.