Skip to main content

Overview

The Google Slides tools allow you to interact with Google Slides presentations in two ways:
  • Google Slides Reader: Extract content and metadata from one or multiple presentations
  • Google Slides Writer: Create new presentations from templates with find-and-replace operations

Google Slides Reader

Retrieves content and metadata from one or multiple Google Slides presentations using the Google Slides API.

Node Inputs

Required Fields

Google Slides Integration: Select your connected Google Slides integration to authenticate API requests. Presentation IDs: List of Google Slides presentation IDs to read. You can select multiple presentations using the built-in Google Drive picker. Example: ["1ABC123xyz", "2DEF456abc"]

Optional Fields

Output Type: Choose the format for the output data. Available options:
  • json: Extracts the content as a JSON object with full structure
  • plain_text: Extracts the content as a plain text string
Default: json Read All Slides: When enabled, reads content from all slides in each presentation. Default: true Selected Slides: When “Read All Slides” is disabled, specify which slides to read for each presentation. Configure this through the slide selection modal that appears after selecting a presentation.

Node Output

Presentation Data: JSON containing presentation content and metadata. Example output (JSON format):
{
  "presentations": [
    {
      "presentation_id": "1ABC123xyz",
      "title": "Q4 Report",
      "slides": [
        {
          "slide_number": 1,
          "slide_id": "SLIDES_API_ID_1",
          "content": [
            {
              "type": "text",
              "content": "Q4 Financial Report"
            }
          ]
        },
        {
          "slide_number": 2,
          "slide_id": "SLIDES_API_ID_2",
          "content": [
            {
              "type": "text",
              "content": "Revenue increased by 25%"
            }
          ]
        }
      ]
    }
  ]
}

Node Functionality

The Google Slides Reader node:
  • Reads content from one or multiple Google Slides presentations
  • Supports selective slide reading for each presentation
  • Outputs data in JSON or plain text format
  • Uses the Google Drive picker for easy presentation selection
  • Extracts text content, metadata, and slide structure

Google Slides Writer

Creates a new presentation by copying a template and performing find-and-replace operations on the content.

Node Inputs

Required Fields

Google Slides Integration: Select your connected Google Slides integration to authenticate API requests. Template ID: The ID of the Google Slides template to copy. Use the built-in Google Drive picker to select a template. Example: "1XYZ789template"

Optional Fields

New Presentation Title: Title for the newly created presentation. If left empty, the template name with a timestamp will be used. Example: "Monthly Report - January 2025" Use Dynamic Title: Enable this to provide the presentation title via a dynamic input variable instead of a static value. When enabled, the title will be set via {{new_presentation_title}} variable. Default: false Replacements: List of find-and-replace operations to perform on the new presentation. Each replacement contains:
  • Find: Text or variable placeholder to search for (e.g., {{NAME}}, {{DATE}})
  • Replace with: The replacement text (static value or leave empty if using dynamic variable)
  • Case Sensitive: Whether the search should be case-sensitive
  • Use Variable: Enable to provide the replacement value via a dynamic workflow input
Example static replacements:
[
  {
    "find": "{{COMPANY_NAME}}",
    "replace_with": "Acme Corp",
    "case_sensitive": false
  },
  {
    "find": "{{REPORT_DATE}}",
    "replace_with": "January 15, 2025",
    "case_sensitive": false
  }
]
Example with dynamic variables:
[
  {
    "find": "{{COMPANY_NAME}}",
    "replace_with": "{{company_name}}",
    "case_sensitive": false,
    "is_dynamic": true
  }
]

Node Output

Presentation Info: JSON containing the new presentation details and replacement summary. Example output:
{
  "presentation_id": "1NEW_PRES_ID",
  "title": "Monthly Report - January 2025",
  "url": "https://docs.google.com/presentation/d/1NEW_PRES_ID/edit",
  "replacements_made": 5,
  "replacements": [
    {
      "find": "{{COMPANY_NAME}}",
      "occurrences": 3
    },
    {
      "find": "{{REPORT_DATE}}",
      "occurrences": 2
    }
  ],
  "status": "success"
}

Node Functionality

The Google Slides Writer node:
  • Creates new presentations from existing templates
  • Copies the template to preserve the original
  • Performs multiple find-and-replace operations
  • Supports both static and dynamic replacement values
  • Enables automated presentation generation workflows
  • Returns a direct link to the newly created presentation

Prerequisites

  1. Google Slides Integration: You must have a Google Slides integration configured in your DNG account with appropriate permissions to:
    • Read presentations (for Reader)
    • Copy files and edit presentations (for Writer)
  2. Template Access: For the Writer node, ensure your integration has access to the template file you want to use.

Use Cases

Report Generation

Use the Writer node to automatically generate reports from templates:
  1. Create a template with placeholders like {{MONTH}}, {{REVENUE}}, {{HIGHLIGHTS}}
  2. Connect data sources to provide replacement values
  3. Generate customized reports automatically

Content Extraction

Use the Reader node to extract presentation content for:
  • Content analysis and processing
  • Migration between systems
  • Creating summaries or documentation

Batch Processing

Combine Reader and Writer nodes to:
  • Read data from existing presentations
  • Transform and process the content
  • Create new presentations with updated information

Notes

  • The Google Drive picker provides an intuitive interface for selecting presentations and templates
  • When using dynamic variables for replacements, variable names are automatically generated from the “Find” field
  • Slide selection allows granular control over which slides to read from each presentation
  • The Writer node creates a copy of the template, leaving the original unchanged