๐๏ธ Automate image compression in Google Drive with Tinify API and email reports
Tags: Image Compression, Tinify API, TinyPNG, SEO Optimisation, E-commerce, Marketing Context Hi! Iโm Samir Saci, Supply Chain Engineer, Data Scientist based in Paris, and founder of LogiGreen. I built this workflow for an agency specialising in e-commerce to automate the daily compression of their images stored in a Google Drive folder. []( This is particularly useful when managing large libraries of product photos, website assets or marketing visuals that need to stay lightweight for SEO, webs
At a glance
๐๏ธ Automate image compression in Google Drive with Tinify API and email reports is a ready-made n8n workflow you import as a workflow JSON file โ no build required. It connects Gmail, Google Drive, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Gmail, Google Drive, LinkedIn
- Modules
- 14
- Price
- Free
- Version
- v1.0

About this workflow
Tags: Image Compression, Tinify API, TinyPNG, SEO Optimisation, E-commerce, Marketing Context Hi! Iโm Samir Saci, Supply Chain Engineer, Data Scientist based in Paris, and founder of LogiGreen. I built this workflow for an agency specialising in e-commerce to automate the daily compression of their images stored in a Google Drive folder. []( This is particularly useful when managing large libraries of product photos, website assets or marketing visuals that need to stay lightweight for SEO, website performance or storage optimisation. > Test this workflow with the free tier of the API! ๐ฌ For business inquiries, you can find me on LinkedIn Who is this template for? This template is designed for: - E-commerce managers who need to keep product images optimised - Marketing teams handling large volumes of visuals - Website owners wanting automatic image compression for SEO - Anyone using Google Drive to store images that gradually become too heavy What does this workflow do? This workflow acts as an automated image compressor and reporting system using Tinify, Google Drive, and Gmail. 1. Runs every day at 08:00 using a Schedule Trigger 2. Fetches all images from the Google Drive Input folder 3. Downloads each file and sends it to the Tinify API for compression 4. Downloads the optimised image and saves it to the Compressed folder 5. Moves the original file to the Original Images archive 6. Logs: fileName, originalSize, compressedSize, imageId, outputUrl and processingId into a Data Table 7. After processing, it retrieves all logs for the current batch 8. Generates a clean HTML report summarising the compression results 9. Sends the report via Gmail, including total space saved Here is an example from my personal folder: []( Here is the report generated for these images: []( P.S.: You can customise the report to match your company branding or visual identity. ๐ฅ Tutorial A complete tutorial (with explanations of every node) is available on YouTube: []( Next Steps Before running the workflow, follow the sticky notes and configure the following: - Get your Tinify API key for the free tier here: Get your key - Replace Google Drive folder IDs in: Input, Compressed, and Original Images - Replace the Data Table reference with your own (fields required: fileName, originalSize, compressedSize, imageId, outputUrl, processingId) - Add your Tinify API key in the HTTP Basic Auth credentials - Set up your Gmail credentials and recipient email - (Optional) Customise the HTML report in the Generate Report Code node - (Optional) Adjust the daily schedule to your preferred time Submitted: 18 November 2025 Template designed with n8n version 1.116.2
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n โ click the menu โ Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Create an Ontraport contact, a Zoom meeting, and send a Gmail reminder from a new Calendly event
Stock market daily digest with Bright Data scraping & Gemini AI email reports
Batch download Facebook Reels videos from Google Sheets to Google Drive
AI-powered PDF invoice parser with Google Drive, Google Sheets & OpenAI
Automate LinkedIn posts with Claude AI, DALL-E images & Google Sheets approval
Automatically enrich Salesforce accounts with web crawling, LinkedIn data, GPT
Summarize Bitcoin news in Japanese and post to Discord with Gemini AI
๐ Generate Anki flash cards for language learning with Google Translate and GPT
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint โ instant download
- Setup guide PDF included
- 5 downloads ยท valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you