Nightly Discord Channel Cleanup — n8n ワークフロー

複雑度 スケジュール10個のノード🏷️ Miscellaneous👁 1,026回閲覧作成者:Viktor

概要

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.

使用ノード

Discord

ワークフロープレビュー

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

仕組み

  1. 1

    トリガー

    このワークフローは スケジュール トリガーで開始します、定義されたスケジュールで実行。

  2. 2

    処理

    データは 10 個のノードを流れます, connecting discord, filter, scheduletrigger。

  3. 3

    出力

    ワークフローは自動化を完了し、設定された宛先に結果を配信します。

ノード詳細 (10)

DI

Discord

discord

#1

このワークフローのインポート方法

  1. 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
  2. 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
  3. 3ダウンロードした nightly-discord-channel-cleanup ファイルを選択し、インポートをクリックします。
  4. 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
  5. 5ワークフローをテスト をクリックして動作確認し、有効化します。

またはn8nの JSONからインポート に直接貼り付け:

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

インテグレーション

discordfilterscheduletriggersplitinbatcheswait

このワークフローを取得

ワンクリックでダウンロード&インポート

JSONをダウンロードn8n.ioで見る
ノード10
複雑度medium
トリガーscheduled
閲覧数1,026
カテゴリMiscellaneous

作成者

Viktor

Viktor

@qxuken

タグ

discordfilterscheduletriggersplitinbatcheswait

n8n初めてですか?

n8nは無料のオープンソースワークフロー自動化ツールです。セルフホストまたはクラウド版をご利用いただけます。

n8nを無料で始める →

Related Miscellaneous Workflows