ByteChef LogoByteChef

Google Slides

Google Slides is a cloud-based presentation software that allows users to create, edit, and collaborate on presentations online in real-time.

Categories: File Storage

Type: googleSlides/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Connection Setup

Create OAuth 2.0 Application

Creation of OAuth 2.0 application is documented here.

Enable Google Slides API

  1. In the Google Cloud Console, select your project.
  2. Go to the APIs & Services.
  3. Click on ENABLE APIS AND SERVICES.
  4. Search for "google slides api" in the search bar.
  5. Click on Google Slides API.
  6. Click Enable.

Actions

Create Presentation From Template

Name: createPresentationFromTemplate

Creates a new presentation based on an existing one and can replace any placeholder variables found in your template presentation, like [[name]], [[email]], etc.

Properties

NameLabelTypeDescriptionRequired
fileIdTemplate Presentation IDSTRINGThe ID of the template presentation from which the new presentation will be created.true
placeholderFormatPlaceholder FormatSTRING
Options {{}}, [[]]
Choose the format of placeholders in your template.true
fileNameTitle of New PresentationSTRINGName of the new presentation.true
folderIdFolder IDSTRINGID of the folder where the new presentation will be saved. If not provided, the new presentation will be saved in the same folder as the template presentation.false
valuesDYNAMIC_PROPERTIES
Depends On fileId, placeholderFormat
null

Example JSON Structure

{
  "label" : "Create Presentation From Template",
  "name" : "createPresentationFromTemplate",
  "parameters" : {
    "fileId" : "",
    "placeholderFormat" : "",
    "fileName" : "",
    "folderId" : "",
    "values" : { }
  },
  "type" : "googleSlides/v1/createPresentationFromTemplate"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

Find presentation ID

To find the Presentation ID, click here.

Find folder ID

To find the Presentation ID, click here.

Get Presentation

Name: getPresentation

Gets the latest version of the specified presentation.

Properties

NameLabelTypeDescriptionRequired
fileIdPresentation IDSTRINGThe ID of the presentation.true

Example JSON Structure

{
  "label" : "Get Presentation",
  "name" : "getPresentation",
  "parameters" : {
    "fileId" : ""
  },
  "type" : "googleSlides/v1/getPresentation"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

Find presentation ID

To find the Presentation ID, click here.

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.


Additional Instructions

How to find presentation ID

To find a Google Presentation ID, open the presentation in edit mode and look at the URL in your browser's address bar. The ID is the long string of letters, numbers, and hyphens located between /d/ and /edit. Example: https://docs.google.com/presentation/d/1234567890abcdefghijklmnopqrstuvwxyz/edit?slide=id.p#slide=id.p.

How to find folder ID

To find a Google Drive folder ID, open the folder in a web browser and look at the URL. The folder ID is the long string of characters (letters, numbers, and symbols) that appears after folders/ in the address bar. Example: https://drive.google.com/drive/folders/abcjhadjh213102398890r4

Troubleshooting

Access Blocked: Verification Process Not Completed

Documentation for how to add a test user can be found here

How is this guide?

Last updated on

On this page