The Google Slides API allows you to create, read, and edit Google Slides presentations programmatically. With Pipedream's integration, you can automate your slide workflows, enabling dynamic content updates, collaboration enhancements, and streamlined reporting. By plugging into Pipedream's serverless platform, you can trigger slide creation or updates based on events from other apps, process data for presentations, and handle sharing and publishing tasks—all with minimal fuss.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_slides: {
type: "app",
app: "google_slides",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_slides.$auth.oauth_access_token}`,
},
})
},
})
Automated Data Visualization Updates: Create a workflow that pulls the latest sales data from a Google Sheets document. With the Google Slides API, you can update charts and tables in your company's weekly report presentation with fresh data, without manual intervention.
Event-triggered Slideshow Creation: Set up a trigger that listens for new product launches from your e-commerce platform. Once a launch is detected, use the Google Slides API to generate a product overview presentation, populating it with images, descriptions, and specifications pulled from your CMS.
Collaboration and Sharing Workflow: Implement a process where a new slide deck is crafted for each project kick-off. After the slides are created using the Google Slides API, integrate with Gmail or Slack to automatically notify team members, share the presentation, and collect feedback.
Create a blank presentation or duplicate an existing presentation. See the docs here
Find a presentation on Google Drive. See the docs here
Google Slides uses OAuth authentication. When you connect your Google Slides account, Pipedream will open a popup window where you can sign into Google Slides and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Slides API.
Pipedream requests the following authorization scopes when you connect your account:
email
profile
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/drive.file
GET
https://accounts.google.com/o/oauth2/auth
?
client_id={{oauth.client_id}}
&
state={{oauth.state}}
&
redirect_uri={{oauth.redirect_uri}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
access_type=offline
&
prompt=consent
POST
https://oauth2.googleapis.com/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=authorization_code
&
code={{oauth.code}}
&
redirect_uri={{oauth.redirect_uri}}
POST
https://oauth2.googleapis.com/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}