Templates / Group Google Drive images into numbered batch folders with a set batch size

Group Google Drive images into numbered batch folders with a set batch size

Ready for 3.0

by Oliver · 32 views · created 2026-07-24 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Config – Set Your Folders & Batch Size (Edit Fields (Set)): sets 4 fields: sourceFolderName, destinationParentFolderId, batchNamePrefix…
  2. Find Source Folder (Google Drive): work with file folder
  3. Get Images In Source Folder (Google Drive): work with file folder
  4. Split Images Into Batches (Code): runs custom JavaScript code
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Create Batch Folder (Google Drive): work with folder
  7. Prepare Files For Current Folder (Code): runs custom JavaScript code
  8. Copy Image To Batch Folder (Google Drive): copy

Services it uses

Google Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Quick overview This workflow organizes Google Drive images by copying them from a named source folder into newly created, numbered batch subfolders under a destination parent folder, using a configurable batch size and folder-name prefix. How it works 1. Runs…

Excerpt from Oliver's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.