View as Markdown
Google Slides icon

Google Slides ACTION

Format Slide Background

Set the background fill of a single slide in a Google Slides presentation. Use Get Presentation to find the slide's object ID. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Google Slides account once, then configure and run Format Slide Background from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "google_slides-format-slide-background",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_slides: { authProvisionId: "apn_xxxxxxx" },
    presentationId: "Presentation ID",
    slideId: "Slide ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Format Slide Background inputs
Property Type Description
presentationId Presentation ID string
The ID of the presentation. This is the long string in the URL: https://docs.google.com/presentation/d/{PRESENTATION_ID}/edit. A full presentation URL is also accepted. Use Find Presentation to resolve a name to its ID.
Required
slideId Slide ID string
The object ID of the slide (e.g. p1 or g1a2b3c4d5). Use Get Presentation and read slides[].objectId.
Required
backgroundColor Background Color string
Slide background as a hex code (e.g. #102A43) or a theme color name (e.g. DARK1).
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
google_slides-format-slide-background
Version
0.0.2
App
Google Slides
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes