This n8n workflow automates the process of retrieving images from a specified Google Drive folder, resizing them, and inserting them into a Google Docs document. Designed for efficiency, it handles large batches of images without timeout issues by utilizing batch processing and wait timers.
The workflow starts with a manual trigger, allowing users to execute the process on demand. It then searches for all image files within a designated Google Drive folder, filtered and sorted based on the filename’s numeric content, ensuring ordered placement.
Each image is downloaded from Google Drive, and a custom code node resizes the images based on whether they are thumbnails or full-size images. The resized images are then sent via an HTTP request to Google Docs’ API to be inserted directly into a specified document. To manage large numbers of images and prevent execution timeouts, batch wait timers are integrated after each major step.
This setup is particularly useful for content creators, marketers, or teams that regularly compile image galleries, reports, or visual content into Google Docs, streamlining what would otherwise be a manual and time-consuming process.
Reviews
There are no reviews yet.