๐ Automatic file renaming with timestamp format for Google Drive
โก 446 views ยท ๐ File Management
Description
Description:
Streamline your cloud storage with this powerful Google Drive File Renamer automation built with n8n. The workflow watches a specific Google Drive folder and automatically renames new files using a standardized format based on their creation date and timeโideal for organizing images, backups, and uploads with consistent timestamp-based names. Whether youโre managing daily uploads, sorting Instagram-ready content, or organizing client submissions, this timestamp-based file naming system ensures consistent and searchable file structuresโwithout manual intervention.
What This Template Does (Step-by-Step)
๐ Google Drive Trigger โ โWatch Folderโ Setup
- Monitors a specific folder (e.g., โInstagramโ)
- Detects new file creations every minute
- Captures file metadata like ID, createdTime, and extension
๐ง Set Formatted Name
- Extracts file creation time (e.g., 2025-07-22T14:45:10Z)
- Converts it into a structured name like IMG_20250722_1445.jpg
- Keeps original file extension (JPG, PNG, PDF, etc.)
โ๏ธ Rename File (Google Drive)
- Renames the original file using Google Drive API
- Applies the new timestamped name
- Keeps file content, permissions, and location unchanged
Required Integrations: Google Drive API (OAuth2 credentials)
Best For:
๐ธ Content creators organizing uploads from mobile ๐ท๏ธ Branding teams enforcing uniform naming ๐๏ธ Admins managing scanned documents or backups ๐ Automated archives for media, reports, or daily snapshots
Key Benefits:
โ Timestamped naming ensures chronological file tracking โ Reduces human error and messy file names โ Works in real-time (polls every minute) โ No-code: Deploy with drag-and-drop setup in n8n โ Fully customizable name patterns (e.g., change IMG_ prefix)
๐ Nodes Used
Google Drive, Google Drive Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File