Nightly Discord Channel Cleanup — Workflow n8n

Moyen complexité Planifié10 nœuds🏷️ Miscellaneous👁 1,026 vuespar Viktor

Aperçu

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.

Nœuds utilisés

Discord

Aperçu du workflow

Note ☝️
Don’t forget to setup an error workflow to get notified
👨‍🎤 Setup
1. Add your Discord credentials
2. Change the server in each Discord node to the correc
3. Click the Test Workflow button
3. Activate the workflow to run on a schedule
Tip 👇
OAuth2 Authentication is very easy to setup
Nightly Discord Channel Cleanup
This workflow runs every day at 9:00 p.m. and:
- Retrieves all Discord channels using your provided cr
- Pauses briefly to respect Discord API rate limi
L
Loop Over Channels
L
Loop Over Messages
E
Every day at 9pm
C
Cool down Discord API ra…
Get all Discord channels
C
Cool down Message deleti…
C
Cool down Get messages A…
Get messages from Channel
Delete Message
F
Filter Messages older th…
10 nodes11 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur planifié, s'exécutant selon un planning défini.

  2. 2

    Traitement

    Les données transitent par 10 nœuds, connecting discord, filter, scheduletrigger.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (10)

DI

Discord

discord

#1

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier nightly-discord-channel-cleanup téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Nightly Discord Channel Cleanup", "nodes": [...], ...}

Intégrations

discordfilterscheduletriggersplitinbatcheswait

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds10
Complexitémedium
Déclencheurscheduled
Vues1,026
CatégorieMiscellaneous

Créé par

Viktor

Viktor

@qxuken

Tags

discordfilterscheduletriggersplitinbatcheswait

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows