Automate Cloudflare R2 File Cleanup with Telegram Alerts

This workflow automates the deletion of files older than two weeks from a Cloudflare R2 bucket and sends a Telegram notification for each deleted file. It operates on a daily schedule.

The workflow begins with a scheduled trigger that initiates daily at a specified hour. It retrieves all files from a designated folder in a Cloudflare R2 bucket using the S3 API. A code node filters these files, selecting those older than 14 days for deletion. Each selected file is then deleted from the bucket, and a Telegram message is sent to notify about the deletion, ensuring you are informed of the cleanup process.
Platform
n8n
Category
Business Operations & ERPs
Price
$9.99
Creator
Eva Kowalski

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Business Operations & ERPs workflows

More from Eva Kowalski

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.