Google Drive Duplicate File Manager

Go to Workflow
689 views
Built by Ventsislav Minev Ventsislav Minev
Created on June 05, 2026

Description

Google Drive Duplicate File Manager ๐Ÿงน๐Ÿ“

Purpose: Automate the process of finding and managing duplicate files in your Google Drive.

Who's it for?

Individuals and teams aiming to streamline their Google Drive.
Anyone tired of manual duplicate file cleanup.

What it Solves:

Saves storage space ๐Ÿ’พ.
Reduces file confusion ๐Ÿ˜•โžก๏ธ๐Ÿ™‚.
Automates tedious cleanup tasks ๐Ÿค–.

How it works:

Trigger: Monitors a Google Drive folder for new files.
Configuration: Sets rules for keeping and handling duplicates.
Find Duplicates: Identifies duplicate files based on their content (MD5Checksum).
Action: Either moves duplicates to trash or renames them.

Setup Guide:

Google Drive Trigger โฐ:
Set up the trigger to watch a specific folder or your entire drive (use caution with the root folder! โš ๏ธ).
Configure the polling interval (default: every 15 minutes).
Config Node โš™๏ธ:
keep: Choose whether to keep the "first" or "last" uploaded file (default: "last").
action: Select "trash" to delete duplicates or "flag" to rename them with "DUPLICATE-" (default: "flag").
owner & folder: Taken from the trigger. Only change if needed.

Key Considerations:

Google Drive API limits:** Be mindful of API usage.
Folder Scope:* The workflow handles one folder depth by default. (WARNING: If configured to work with the Root folder / all files in all sub-directories are processed so *USE THIS OPTION WITH CAUTION** since the workflow might trash/rename important files)
Google Apps:** Google docs are ignored since they are not actual binary-files and their content can't be compared.


Enjoy your clean Google Drive! โœจ

Nodes Used (2)

Code
n8n-nodes-base.code
Google Drive
n8n-nodes-base.googleDrive