Automate Google Drive Image Optimization with TinyPNG
detail.loadingPreview
This workflow automatically optimizes images uploaded to a specific Google Drive folder. It uses TinyPNG to reduce file sizes and then saves the optimized versions back to your Google Drive, saving space and improving loading times.
About This Workflow
Tired of manually optimizing images before uploading them to your website or sharing them? This powerful n8n workflow streamlines your image management by automating the entire optimization process. Simply upload your images to a designated Google Drive folder, and this workflow will automatically detect new files, send them to TinyPNG for efficient compression, and then save the optimized versions back into another specified Google Drive location. Reduce file sizes, improve website performance, and free up valuable storage space without lifting a finger. Perfect for content creators, marketers, and anyone dealing with a high volume of images.
Key Features
- Automated Image Detection: Automatically triggers when new images are added to a designated Google Drive folder.
- Seamless TinyPNG Integration: Connects directly with TinyPNG's powerful API for best-in-class image compression.
- Configurable Source & Destination: Define specific Google Drive folders for both watching new uploads and saving optimized files.
- Non-destructive Workflow: Original files remain untouched, with optimized versions saved as new files.
- Set-and-Forget Efficiency: Once configured, the workflow runs silently in the background, saving you time and effort.
How To Use
- Configure Google Drive Credentials: Set up your Google Drive OAuth2 API credentials as per n8n documentation and assign them to all Google Drive nodes in the workflow.
- Define Watch Folder: In the "Check GDrive for new images" trigger node, select the specific Google Drive folder you want n8n to monitor for new image uploads.
- Obtain TinyPNG API Key: Visit tinypng.com/developers to request your API key. Update the "Authorization" header in the "Optimise - Send image to TinyPNG" node with your API key, formatted as "Basic YOUR_API_KEY_IN_BASE_64".
- Specify Output Folder: In the final "Google Drive" node (which handles the upload), choose the folder where you want the optimized images to be saved.
- Activate Workflow: Once all steps are configured, activate the workflow to begin automated image optimization.
Apps Used
Workflow JSON
{
"id": "ac6fa71c-9960-4e94-9d72-30ff887b5db1",
"name": "Automate Google Drive Image Optimization with TinyPNG",
"nodes": 20,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: ac6fa71c-9960...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Google Sheets to Icypeas: Automated Bulk Domain Scanning
This workflow streamlines the process of performing bulk domain scans by integrating your Google Sheets data directly with the Icypeas platform. Automate the submission of company names from your spreadsheet to Icypeas for comprehensive domain information, saving valuable time and effort.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.