workflows.fit
Back to n8n workflows
n8n templateFreeBy Garri

Template for Google Drive and Google Docs with clear structure and purpose

![Automate Image Transfer from Google Drive to Google Docs with Resizing.png](fileId:2120) Description This n8n workflow automates the process of retrieving images from a specific Google Drive folder, resizing them, a...

DevelopmentCore NodesData & StorageManual TriggerSplit In BatchesSticky NoteGoogle Drive
Loading interactive preview...

Template notes

![Automate Image Transfer from Google Drive to Google Docs with Resizing.png](fileId:2120)

Description

This n8n workflow automates the process of retrieving images from a specific Google Drive folder, resizing them, and inserting them into a Google Docs document. It ensures images are processed in numeric order, automatically resized to fit the document, and uploaded in batches to prevent timeouts.

This template is designed for content creators, documentation teams, and businesses who need to automatically insert images (e.g., product photos, reports, or scanned documents) into Google Docs with minimal manual effort.

How it works

1. Retrieves image files from a Google Drive folder. 2. Filters and sorts files based on numeric order in the filename. 3. Generates direct image URIs and resizes them automatically (width & height). 4. Inserts the resized images into the target Google Docs document via API. 5. Uses a batch loop to avoid timeouts and ensure all images are uploaded successfully.

Requirements / Pre-conditions

1. An n8n instance (self-hosted or cloud). 2. Connected Google Drive credential in n8n. 3. Connected Google Docs credential in n8n. 4. A target Google Drive folder containing supported image files. 5. A Google Docs document ready to receive the images. 6. Supported formats: PNG, JPG, JPEG, GIF, WEBP. Error handling: If a file is not an image or exceeds Google Docs API limits, the workflow will skip it and continue processing the rest.