HttpRequest Automate

Automate image replacement in Google Slides with the HttpRequest Automate workflow. This solution allows you to dynamically update images in your presentations by sending a simple POST request. Just provide the presentation ID, a unique image key, and the new image URL. Streamline your presentation updates effortlessly, ensuring your slides always reflect the latest visuals without manual intervention.

7/8/2025
8 nodes
Complex
webhookcomplexrespondtowebhooksticky noteapiintegrationlogicconditional
Categories:
Complex WorkflowWebhook Triggered
Integrations:
RespondToWebhookSticky Note

Target Audience

  • Marketing Teams: Automate the process of updating client logos in presentations without manual intervention.
    - Sales Presentations: Streamline the process of changing images in slide decks for different clients or products quickly.
    - Event Planners: Easily update presentation visuals for various events or conferences.
    - Developers: Integrate this workflow into larger applications that require dynamic slide updates.
  • Problem Solved

  • Manual Updates: Eliminates the need for manual updates of images in Google Slides, saving time and reducing errors.
    - Dynamic Content: Allows for real-time updates of presentations based on external data, ensuring that the latest images are always displayed.
    - Consistency: Ensures that branding elements are consistently updated across various presentations.
  • Workflow Steps

  • Step 1: Webhook Trigger
    The workflow is triggered via a webhook when a POST request is sent to the specified endpoint, replace-image-in-slide.

    - Step 2: Parameter Check
    The workflow checks if all required parameters (presentation_id, image_key, and image_url) are provided. If any are missing, it returns a 500 error response.

    - Step 3: Retrieve Slide Elements
    If all parameters are present, the workflow retrieves all elements from the specified Google Slides presentation using the Google Slides API.

    - Step 4: Find Image Object IDs
    The workflow searches through the retrieved slide elements to find the object IDs of images that match the provided image_key.

    - Step 5: Replace Images
    Using the found object IDs, the workflow sends a batch update request to the Google Slides API to replace the images and update their alt text.

    - Step 6: Respond to Webhook
    Finally, the workflow responds to the webhook with a success message once the image replacement is completed.

  • Customization Guide

  • Change Webhook Path: Users can modify the path parameter in the webhook node to customize the endpoint URL.
    - Adjust Image Replacement Method: Modify the imageReplaceMethod in the Replace Images node to use different methods like CENTER_CROP, FIT, or FILL based on the desired image display.
    - Add Additional Fields: Users can expand the JSON body in the Replace Images node to include more requests if needed, such as updating text elements or other slide properties.
    - Integrate with Other APIs: This workflow can be linked with other APIs to pull dynamic data for images or presentation content, allowing for more complex automation scenarios.