Keep your n8n work safe with automatic backups to Dropbox. The flow runs on a schedule, saves fresh copies of all workflows, and clears files older than 30 days. It suits ops and IT teams that need hands free version history and quick restore points.
The run begins by setting a backup folder, then it lists current files and moves them into an old folder. A wait step makes sure the move is finished before new files upload. It then pulls every workflow from the n8n API, turns each one into a JSON file, and uploads to Dropbox using OAuth. A date check calculates the cutoff date, scans the old backups, and deletes anything older than the limit.
You only need a Dropbox account and n8n API access. Point the folder path to your chosen location, set a daily or hourly schedule, and adjust the retention days if needed. Expect backup time to drop from hours to minutes while storage stays clean and restore ready. This is helpful for teams that maintain many workflows or agencies that manage client instances.