Deduplicate Google Drive Files
detail.loadingPreview
Removes duplicate files from a Google Drive folder based on MD5 checksum.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automatically identifies and handles duplicate files within a specified Google Drive folder. It leverages MD5 checksums to detect identical files and offers options to either flag duplicates by renaming them or send them directly to the trash.
Key Features
- Identifies duplicate files using MD5 checksums.
- Configurable behavior for handling duplicates: flag (rename) or trash.
- Option to keep the first or last occurrence of a duplicate file.
- Works with files in a specific Google Drive folder at depth level 1.
How To Use
- Import the workflow: Add this workflow to your n8n instance.
- Configure Google Drive credentials: Connect your Google Drive account.
- Set the 'Working Folder': In the 'Google Drive Trigger' node, specify the Google Drive folder to monitor for duplicates. The workflow currently filters for files at depth level 1.
- Configure Deduplication Strategy: In the 'Config' node, set the
keepparameter tofirstorlastto determine which duplicate to retain. Set theactionparameter toflag(rename withDUPLICATE-prefix) ortrashto handle the identified duplicates. - Activate the workflow: Turn on the workflow to start automatic deduplication.
Apps Used
Workflow JSON
{
"id": "0ab400d8-b208-4474-8039-e19e5a0ee35c",
"name": "Deduplicate Google Drive Files",
"nodes": 0,
"category": "File Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 0ab400d8-b208...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Create Google Drive Folders by Path
Creates nested Google Drive folders from a path string and returns the ID of the final folder.
Password Protect PDF
Download a PDF, protect it with a password, and save it to Google Drive.
Google Drive File Link Generator
Generates publicly shareable links for files in a Google Drive folder.
Upload Video to Drive via Google Script
Automates video uploads to Google Drive using a Google Apps Script.
Community AI File Organizer
Organizes files into subdirectories using AI suggestions based on file content and existing folder structure.
Sync New Files From Google Drive with Airtable
Automatically sync new files from Google Drive to Airtable and share them via email.