Group Google Drive images into numbered batch folders with a set batch size
Ready for 3.0Ready 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”.
- Config – Set Your Folders & Batch Size (Edit Fields (Set)): sets 4 fields: sourceFolderName, destinationParentFolderId, batchNamePrefix…
- Find Source Folder (Google Drive): work with file folder
- Get Images In Source Folder (Google Drive): work with file folder
- Split Images Into Batches (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Create Batch Folder (Google Drive): work with folder
- Prepare Files For Current Folder (Code): runs custom JavaScript code
- Copy Image To Batch Folder (Google Drive): copy
Services it uses
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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
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…