Google Drive to Docs: Auto-Resize & Insert Images Template

Automates retrieving images from Google Drive, resizing them, sorting numerically, and batch-inserting into Google Docs to prevent timeouts.

n8n
Google Drive to Docs: Auto-Resize & Insert Images Template

This n8n workflow streamlines image management by automatically pulling image files (PNG, JPG, JPEG, GIF, WEBP) from a specified Google Drive folder. It filters and sorts them based on numeric order in filenames, generates direct URIs, resizes images to fit document constraints, and inserts them sequentially into a target Google Docs file using the API. Error handling skips invalid files, ensuring robust processing.

The workflow employs a batch loop to handle large volumes without API timeouts, making it reliable for bulk operations. Key nodes include Google Drive for file listing, Code or Function nodes for sorting and resizing logic, and Google Docs API for insertions. This setup minimizes manual effort, ideal for content creators, documentation teams, and businesses automating reports or product catalogs.

Benefits include time savings on repetitive tasks, consistent image formatting, and scalability for hundreds of images. Use cases: embedding product photos into sales docs, inserting scanned reports into templates, or auto-populating visual guides. Perfect for marketing, e-learning, or compliance workflows requiring visual documentation.

Setup requires n8n with Google Drive and Docs credentials, a source folder, and target document. Customize folder IDs, resize dimensions, and batch sizes easily.

$16.99
Last updated October 10, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Built-in Apps workflows

More from BestWorkflows

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.