This workflow automatically scans your Dropbox for .png files and deletes any that are older than 48 hours, helping you keep your storage clean and organized without manual effort.
It’s ideal for workflows that generate temporary files such as AI images, exports, or cached assets.
Schedule Trigger
Runs every 2 days to perform automated cleanup
Search Dropbox Files
Retrieves all .png files from your Dropbox account
Filter Files (Code Node)
Keeps only files that:
.png formatLoop Over Items
Processes files in batches to avoid API rate limits
Delete Files
Permanently removes the filtered files from Dropbox
Change file age limit
Update the 48 hours logic inside the Code node
Target different file types
Replace .png with .jpg, .mp4, etc.
Exclude additional files/folders
Add paths or filenames to the exclusion list
Adjust execution frequency
Run daily, hourly, or based on your workflow volume
This workflow provides a simple and reliable way to automate file cleanup in Dropbox.
By combining scheduled execution with smart filtering, it helps you maintain an efficient and clutter-free storage system.