Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Auto-Cleanup of Cloudflare R2 Files Older Than 2 Weeks (+ Telegram Notifications)

n8n template #4418
This workflow automatically connects to a Cloudflare R2 bucket (via S3-compatible API), filters out files older than 14 days, deletes them, and then sends a Telegram notification for each deletion. It runs on a daily schedule. πŸ•˜ Schedule Trigger Executes the workflow once a day at a specified hour (e.g., 9 AM). πŸ“¦ S3 Node – List Files Retrieves all objects from a specific folder (prefix) in a Cloudflare R2 bucket using the S3 API. πŸ”Ž Code Node – Filter Files Older Than 2 Weeks Filters the retrieved files by comparing their LastModified timestamps to the current date. Files older than 14 days (2 weeks) are selected for deletion. πŸ—‘οΈ S3 Node – Delete File Deletes each filtered file from the R

Hand off to your agent

Prompt

Help me set up the n8n workflow "Auto-Cleanup of Cloudflare R2 Files Older Than 2 Weeks (+ Telegram Notifications)" (https://n8n.io/workflows/4418). It uses: Telegram, S3, Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. βœ¨πŸ€–Automate Multi-Platform Social Media Content Creation with AI205K
  2. Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
  3. ⚑AI-Powered YouTube Video Summarization & Analysis80K
  4. Generate Instagram Content from Top Trends with AI Image Generation72K
  5. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  6. AI marketing report (Google Analytics & Ads, Meta Ads), sent via email/Telegram36K
  7. Auto-create and publish AI social videos with Telegram, GPT-4 and Blotato26K
  8. Create & Upload AI-Generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-424K
Buy me a coffee