๐Ÿ“ Detect and move duplicate Google Drive files with Supabase and Slack

โšก 5 views ยท ๐Ÿ“ File Management

Description

This workflow automatically detects duplicate files uploaded to a specific Google Drive folder by generating an MD5 hash of each file and comparing it against a Supabase database. If a duplicate is found, the file is moved to a dedicated Duplicates folder and a Slack notification is sent. All events, including unique uploads, duplicates, race conditions, and errors, are logged for audit purposes.

It is designed for teams that handle high file volumes and need reliable, content based deduplication instead of simple filename checks.

How it works

Setup steps

file_hashes
dedup_audit_log

Setup typically takes 10 to 15 minutes if your Supabase project is ready.

๐Ÿ”— Nodes Used

Slack, Google Drive, Google Drive Trigger, Supabase

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup