# Daily deletion of backups older than 14 days from Cloudflare R2 with Telegram notifications
This automation removes outdated backup files from Cloudflare R2 on a daily basis, helping to free up storage and reduce costs. Ideal for DevOps teams, system administrators, and developers who want to maintain clean data without manual intervention.
## Who it´s for
- Infrastructure administrators using Cloudflare R2 for backups
- Developers automating file lifecycle management
- DevOps teams needing regular cleanup of temporary data
## What the automation does
- Runs daily at 9:00 AM via cron schedule
- Fetches file list from Cloudflare R2 using S3-compatible API
- Filters files created more than 14 days ago
- Deletes filtered files
- Sends a Telegram notification with the name of the deleted file
## What´s included
- Ready-to-use n8n workflow
- Trigger and filtering logic based on file creation date
- Integrations with Cloudflare R2 (via S3 API) and Telegram
- Basic text instructions for setup and adaptation
## Requirements for setup
- n8n instance (self-hosted or cloud)
- Cloudflare R2 access with valid Access Key and Secret Key
- Telegram bot token and chat ID for notifications
## Benefits and outcomes
- Automatic removal of old backups without manual input
- Reduced storage costs in R2
- Clear audit trail via Telegram notifications
- Prevention of unnecessary data accumulation
- Fits into routine data governance workflows
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet