Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Image, Video & Audio

Image, Video & Audio

Compress New Google Drive Images with TinyPNG

When a new image is added to a Google Drive folder, it sends it to TinyPNG for compression and saves the optimized version back to Drive.

What it does

# Optimise images uploaded to GDrive ## Overview Automated workflow: Optimise images uploaded to GDrive. This workflow integrates 5 different services: stickyNote, httpRequest, googleDriveTrigger, googleDrive, stopAndError. It contains 17 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 17 - Node Types: 5 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Check GDrive for new images: googleDriveTrigger - Download image: googleDrive - Optimise - Send image to TinyPNG: httpRequest - Get optimised image from tinyPNG: httpRequest - Sticky Note4: stickyNote - Sticky Note: stickyNote - Sticky Note1: stickyNote - Sticky Note2: stickyNote - Sticky Note3: stickyNote - Google Drive: googleDrive - ... and 7 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

The steps

  1. Check GDrive for new images
  2. Download image
  3. Optimise - Send image to TinyPNG
  4. Get optimised image from tinyPNG
  5. Google Drive
  6. Error Handler
  7. Stopanderror 1
  8. Error Handler for a6fac2bb
  9. Error Handler for a0cae553
  10. Error Handler for 006ba31a
  11. Error Handler for e380304e
  12. Error Handler for b69a925f
  13. Error Handler
  14. Error Handler

27 steps in total.

Similar automations