Nightly Discord channel cleanup
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 10 nodes and runs on a schedule (every day at 21:00). Along the way it connects Discord.
How it runs
Trigger: On a schedule (every day at 21:00).
- Get all Discord channels (Discord): get many
- Cool down Discord API rate limits (Wait): waits 2 seconds
- Loop Over Channels (Loop Over Items (Split in Batches)): loops over the items in batches
- Filter: keeps only the items that match a condition
- Get messages from Channel (Discord): get many (message)
- Loop Over Messages (Loop Over Items (Split in Batches)): loops over the items in batches
- Cool down Get messages API rate limits (Wait): waits 2 seconds
- Delete Message (Discord): delete message
- Cool down Message deletion API rate limits (Wait): waits 1 seconds
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Wait
n8n-nodes-base.wait - Discord
n8n-nodes-base.discord - Filter
n8n-nodes-base.filter
From the author
Nightly Discord Channel Cleanup This workflow runs every day at 9:00 p.m. and: - Retrieves all Discord channels using your provided credentials. - Pauses briefly to respect Discord API rate limits. - Loops through each channel and fetches messages. - Filters…