Automated Discord Spam Moderation with AI and Human-in-the-Loop — n8n 워크플로

높음 복잡도 트리거23개의 노드🏷️ Miscellaneous👁 831회 조회작성자: Jimleuk

개요

This n8n template demonstrates how you can automate community moderation using human-in-the-loop functionality for Discord.

The use-case is for detecting and dealing with spam messages in a predefined and consistent way. Human-in-the-loop allows for a balance between overly aggressive bots and time and effort from the moderation team.

How it works A scheduled trigger is used to scan the most recent messages in a Discord Channel. Messages are tagged via the "Remove Duplicates" node so they don'

사용된 노드

DiscordCodeOpenAI Chat ModelText Classifier

워크플로 미리보기

1. Get Channel Messages
Read more about the scheduled Trigger
The scheduled trigger is used to execute this w
2. Group Messages By User
Learn more about the loop node
When dealing with nested data such as user and messag
3. Spam Detection using AI-powered Text Class
[Learn more about the text classification node](https:/
5. Moderation using Human-in-the-Loop
Read more about n8n's human-fallback functionality
In this step, we can use the "Send and Wait for
6. Execute Moderation Actions
Learn more about the Discord node
Finally, moderation actions can be executed on behalf
4. Concurrent Processing using Subworkflows
Learn more about Subworkflow Trigger
One issue we might come acros
Try it out
This n8n template demonstrates how you can automate com
The use-case is for detecting and dealing with spam mes
model
Spam Detection
Get Recent Messages
O
Only Once
Model
Warn User
Warn User Only
Group By User
F
For Each User...
S
Split Out
Message to List
Notify Moderators with S…
F
Flag as Spam
F
Flag as Not Spam
M
Merge
S
Spam Messages Only
H
Has Flagged Messages?
Get Message IDs
Delete Messages
R
Receive Instructions
M
Moderation Subworkflow
W
When Executed by Another…
N
No Action Taken
S
Schedule Trigger
23 nodes24 edges

작동 원리

  1. 1

    트리거

    워크플로는 트리거 트리거로 시작합니다.

  2. 2

    처리

    데이터가 23개의 노드를 통해 흐릅니다, connecting code, discord, executeworkflow.

  3. 3

    출력

    워크플로가 자동화를 완료하고 구성된 대상에 결과를 전달합니다.

노드 세부 정보 (23)

DI

Discord

discord

#1
CO

Code

code

#2
OP

OpenAI Chat Model

n8n-nodes-langchain.lmChatOpenAi

#3
TE

Text Classifier

n8n-nodes-langchain.textClassifier

#4

이 워크플로 가져오는 방법

  1. 1오른쪽의 JSON 다운로드 버튼을 클릭하여 워크플로 파일을 저장합니다.
  2. 2n8n 인스턴스를 열고 워크플로 → 새로 만들기 → 파일에서 가져오기로 이동합니다.
  3. 3다운로드된 automated-discord-spam-moderation-with-ai-and-human-in-the-loop 파일을 선택하고 가져오기를 클릭합니다.
  4. 4각 서비스 노드에 대한 자격 증명(API 키, OAuth 등)을 설정합니다.
  5. 5워크플로 테스트를 클릭하여 모든 것이 작동하는지 확인한 후 활성화합니다.

또는 n8n → JSON에서 가져오기에 직접 붙여넣기:

{ "name": "Automated Discord Spam Moderation with AI and Human-in-the-Loop", "nodes": [...], ...}

통합

codediscordexecuteworkflowexecuteworkflowtriggerfilteriflmchatopenaimergeremoveduplicatesscheduletriggersetsplitinbatchessplitoutswitchtextclassifier

이 워크플로 가져오기

한 번의 클릭으로 다운로드 및 가져오기

JSON 다운로드n8n.io에서 보기
노드23
복잡도high
트리거trigger
조회수831
카테고리Miscellaneous

제작자

Jimleuk

Jimleuk

@jimleuk

태그

codediscordexecuteworkflowexecuteworkflowtriggerfilteriflmchatopenaimergeremoveduplicatesscheduletrigger

n8n을 처음 사용하시나요?

n8n은 무료 오픈소스 워크플로 자동화 도구입니다. 자체 호스팅하거나 클라우드 버전을 사용하세요.

n8n 무료로 시작하기 →

Related Miscellaneous Workflows