AutomationMart
Home/Browse/Auto-cleanup of Cloudflare R2 files older than 2 weeks (+ Telegram notifications)
n8n

Auto-cleanup of Cloudflare R2 files older than 2 weeks (+ Telegram notifications)

n8nn8n5 modulesv1.0
Telegram

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 retrieve

At a glance

Auto-cleanup of Cloudflare R2 files older than 2 weeks (+ Telegram notifications) is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Telegram
Modules
5
Price
Free
Version
v1.0
Auto-cleanup of Cloudflare R2 files older than 2 weeks (+ Telegram notifications) workflow diagram

About this workflow

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 R2 bucket. 📨 Telegram Node – Notify Deletion Sends a Telegram message with the name of the deleted file to a specified chat ID. The message includes:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Get real-time NFT Marketplace insights with OpenSea Marketplace Agent Tool

Track NFT listings, offers, orders, and trait-based pricing in real time! This workflow integrates OpenSea API, AI-powered analytics (GPT-4o-mini), and n8n automation to provide instant insights into NFT trading activity. Ideal for NFT traders, collectors, and investors looking to monitor the market and identify profitable opportunities. How It Works 1. A user submits a query about NFT listings, offers, or order history. 2. The OpenSea Marketplace Agent determines the correct API tool: - Re

Free

Free AI image generator - n8n automation workflow with Gemini/ChatGPT

This n8n template demonstrates how to use AI to generate custom images from scratch - fully automated, prompt-driven, and ready to deploy at scale. Use cases are many: You can use it for marketing visuals, character art, digital posters, storyboards, or even daily image generation for your personal purposes. How It Works - The flow is triggered by a chat message in N8N or via Telegram. The default image size is 1080 x 1920 pixels. To use a different size, update the values in the “Fie

Free

AI secretary for scheduling with WhatsApp and Telegram

AI secretary for scheduling with WhatsApp and Telegram > ⚠️ Community Disclaimer > This workflow is community-maintained and self-hosted. > It is not officially affiliated with or supported by n8n GmbH, OpenAI, or Google. > Users are responsible for their own configuration, security, and data compliance (e.g., HIPAA, LGPD, GDPR). > Always secure API keys and ensure compliance with your local privacy regulations. --- 🧠 Description This template deploys an AI-powered virtual med

Free

Extract Amazon product data to Sheets with Olostep API

Olostep Amazon Products Scraper This n8n template automates Amazon product scraping using the Olostep API. Simply enter a search query, and the workflow scrapes multiple Amazon search pages to extract product titles and URLs. Results are cleaned, normalized, and saved into a Google Sheet or Data Table. Who’s it for - E-commerce analysts researching competitors and pricing - Product sourcing teams - Dropshippers and Amazon sellers - Automation builders who want quick prod

Free

⚡ Text → Viral Shorts | AI Video Studio in Telegram /w Setup Video

AI Video Studio Bot - Telegram to YouTube Shorts, TikTok and Instagram Reels Automation Transform text into viral shorts — all from your phone 📱✨ []( []( 🎥 Watch It In Action []( 🔗 Full Demo: youtu.be/OIoJ2F1O0 --- 🚀 What This Workflow Does Imagine having a full-stack AI video production studio in your pocket — no editing software, no dashboard hopping, no prompt engineering. Just pure creation magic through Telegram. This n8n workflow transforms Telegram into your personal AI video factory that

Free

Generate audio documentaries from web articles with ElevenLabs and BrowserAct

Generate audio documentaries from web articles to Telegram with ElevenLabs & BrowserAct This workflow transforms any web article or blog post into a high-production-value audio documentary. It automates the entire production chain—from scraping content and writing an engaging narrative script to generating realistic voiceovers—delivering a listenable MP3 file directly to your Telegram chat. Target Audience Commuters, podcast enthusiasts, content creators, and researchers who prefer listen

Free

Screen and score investment deals with AI using OpenAI, Gmail, and Telegram

Screen and Score Investment Deals with AI using OpenAI, Gmail, and Telegram Automatically screens incoming deal submissions using AI, scores them against investment criteria, and routes to the right action. Who is this for? VC firms, PE funds, angel investors, or M&A advisors who receive deal flow via email or form submissions. What problem does this solve? Manually reviewing every pitch deck and deal memo is time-consuming. Most deals don't meet investment criteria. This agent screens, scores,

Free

Daily AI news digest to LinkedIn posts with OpenAI GPT and RSS feeds

What This Workflow Does This automation fetches daily AI-related articles from trusted RSS feeds, summarizes them using OpenAI (GPT), and generates a ready-to-post LinkedIn update in your writing style. It then emails the post to you every morning for review and publishing. High-Level Steps: 1. Triggers every morning via Cron. 2. Fetches latest AI news from multiple RSS sources. 3. Filters recent articles (last 24 hrs). 4. Summarizes each article using OpenAI (ChatGPT). 5. Generates a

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free