FM
FlowMarket
Messaging & Chat Intermediate ⚡ 14 n8n Nodes

Nightly Discord channel cleanup

Nightly Discord Channel Cleanup This workflow runs every day at 9:00 p.m. and: - Retrieves all Discord channels using your provided credentials. - Pauses bri...

🔌 Nodes & Integrations Used (1)

Discord

📖 Implementation & Setup Guide

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 out messages older than seven days. - Deletes those older messages, again pausing to stay within deletion rate limits.

By setting up this workflow on a schedule, you can automatically keep Discord channels tidy and compliant with retention policies. ### 👨‍🎤 Setup 1. Add your **Discord** credentials 2. Change the server in each **Discord** node to the correct one 3. Click the Test Workflow button 3. Activate the workflow to run on a schedule

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Nightly Discord channel cleanup.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Messaging & Chat Workflows

View All in Messaging & Chat →