FM
FlowMarket
General Automation Advanced โšก 20 n8n Nodes

Google Drive duplicate file manager

Google Drive Duplicate File Manager ๐Ÿงน๐Ÿ“ Purpose: Automate the process of finding and managing duplicate files in your Google Drive. Who's it for? Individual...

๐Ÿ”Œ Nodes & Integrations Used (2)

Google Drive Google Drive Trigger

๐Ÿ“– Implementation & Setup Guide

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:**

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

**Setup Guide:**

  1. **Google Drive Trigger โฐ:**
  2. * Set up the trigger to watch a specific folder or your entire drive (use caution with the root folder! โš ๏ธ).
  3. * Configure the polling interval (default: every 15 minutes).
  4. **Config Node โš™๏ธ:**
  5. * **keep:** Choose whether to keep the "first" or "last" uploaded file (default: "last").
  6. * **action:** Select "trash" to delete duplicates or "flag" to rename them with "DUPLICATE-" (default: "flag").
  7. * **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! โœจ**

โšก How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Google Drive duplicate file manager.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation โ†’