This n8n workflow automates the process of monitoring a specific Google Drive folder for new or updated files by utilizing a timestamp file for tracking. It is designed to run periodically, download new files since the last run, and then update the timestamp file to ensure subsequent executions only process recent changes. The workflow begins with a scheduled trigger, searches for the timestamp file, and retrieves it to determine the last run time. If the timestamp file does not exist, it defaults to considering files from the past 24 hours. It then searches for new or modified files in the designated folder based on this timestamp, downloads these files, and finally updates the timestamp file to mark the current run time. Practical uses include synchronizing files, backing up data, or maintaining an up-to-date repository of files from Google Drive, especially in automated workflows or data pipelines.
Automated Google Drive File Sync with Timestamp Tracking
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | code, dateTime, extractFromFile, googleDrive, if, merge, noOp, scheduleTrigger, set, stickyNote |
Reviews
There are no reviews yet.