This n8n workflow automates the process of maintaining a clean and organized Discord server by automatically deleting messages older than seven days from all channels. Scheduled to run daily at 9 pm, it retrieves all channels, fetches their messages, filters out messages exceeding the retention period, and deletes them accordingly. To ensure smooth operation within Discord’s API rate limits, the workflow includes cooldown pauses before fetching channels, retrieving messages, and deleting messages. Practical for server administrators, this workflow helps enforce message retention policies and keeps Discord communities tidy without manual intervention.
Automated Discord Channel Cleanup Workflow
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | discord, filter, scheduleTrigger, splitInBatches, stickyNote, wait |
Reviews
There are no reviews yet.