Templates / Automatically optimise images added to a Google drive folder

Automatically optimise images added to a Google drive folder

Ready for 3.0

by Jonathan · 2,119 views · created 2024-03-20 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 5 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive. It also calls api.tinify.com over HTTP.

How it runs

Trigger: On Google Drive events (file created).

  1. Download image (Google Drive): download
  2. Optimise - Send image to TinyPNG (HTTP Request): calls api.tinify.com (POST)
  3. Get optimised image from tinyPNG (HTTP Request): calls an HTTP API
  4. Google Drive: uses Google Drive

Services it uses

Google Drive

HTTP calls to: api.tinify.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (3)

From the author

How it works - This workflow watches a selected Google Drive folder for any images added to it. - It then takes that image, sends it the the tinypng.com service which optimises and reduces its size (where possible) - Tinypng then returns the updated image…

Excerpt from Jonathan's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.