Who is this workflow for? This workflow allows you to dynamically replace images in Google Slides presentations through an API. By automating image updates, you can efficiently manage elements like backgrounds or logos without manual editing..

What does this workflow do?

Step 1: Set Up Image Identifiers in Google Slides

  • Open Your Presentation: Navigate to the Google Slides presentation you wish to automate.
  • Select the Image: Click on the image you intend to replace dynamically.
  • Access Alt Text:
  • Go to the menu and select Format Options.
  • Click on Alt Text.
  • Assign a Unique Identifier: In the Alt Text fields, enter a unique identifier in the Description section, such as client_logo or background_image.

Step 2: Configure the n8n Workflow

  • Create a New Workflow: In n8n, start by creating a new workflow for the image replacement process.
  • Add a Webhook Node:
  • Set up a Webhook node to receive POST requests.
  • Define the necessary parameters: presentation_id, image_key, and image_url.
  • Add an HTTP Request Node:
  • Configure an HTTP Request node to interact with the Google Slides API.
  • Use the presentation_id to locate the specific presentation.
  • Use the image_key to identify the image via its Alt Text identifier.
  • Replace the image with the new image_url provided in the POST request.
  • Respond to Webhook:
  • Add a Respond to Webhook node to send a confirmation once the image update is successful.

Step 3: Trigger the Workflow

  • Send a POST Request: Use tools like curl, Postman, or integrate with other applications to send a POST request to the webhook URL.
  • Provide Necessary Parameters:
  • presentation_id: The ID of your Google Slides presentation (found in the presentation URL).
  • image_key: The unique identifier assigned to the image in Alt Text.
  • image_url: The URL of the new image to be inserted.
  • Example cURL Request:

    curl --location 'https://your-n8n-webhook-url' --form 'presentation_id="your-google-presentation-id"' --form 'image_key="background_image"' --form 'image_url="https://example.com/new-image.jpg"'

Step 4: Verify the Update

  • Check the Presentation: Open the Google Slides presentation to ensure the image has been updated correctly.
  • Automate Further: Integrate this workflow with other automation tools or triggers as needed.

🤖 Why Use This Automation Workflow?

  • Efficiency: Automate repetitive image updates, reducing manual effort.
  • Consistency: Ensure uniformity across multiple slides and presentations by updating all instances simultaneously.
  • Scalability: Easily manage image replacements across numerous presentations without additional workload.

👨‍💻 Who is This Workflow For?

  • Marketers needing to update client logos across presentations.
  • Sales Teams frequently changing product images.
  • Educators managing extensive sets of presentation materials.
  • Content Creators looking to maintain consistent visuals across various slideshows.

🎯 Use Cases

  1. Client Branding Updates: Automatically replace client logos in all presentations when branding guidelines change.
  2. Dynamic Backgrounds: Update slide backgrounds based on specific events, campaigns, or seasons without manually editing each slide.
  3. Product Image Management: Quickly swap out outdated product images with new ones across multiple sales decks.

TL;DR

This n8n workflow streamlines the process of updating images in Google Slides presentations by leveraging API automation. It enhances efficiency, ensures consistency, and simplifies the management of visual elements across multiple presentations.

Help us find the best n8n templates

About

A curated directory of the best n8n templates for workflow automations.