Automation library · Alerts and monitoring

Discord channel cleanup for spam or repeat messages

Runs on demand, and works across Discord. 6 steps, 2 branches, 2 loops or waits: small enough to read in one sitting and change without fear.

Small

6 stepsSmall: readable in one sitting
2Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Logic 4Service 2

The steps in the order they run, from what starts it.

  1. 1get dataDiscordService
  2. 2Loop Over Items1Split In BatchesLogic
  3. 3If word to be deleted is a match1IfLogic
  4. 4delete messageDiscordService
  5. 5if there is error1IfLogic
  6. 6Wait 1.5 secs1WaitLogic

How it's built

Starts on
Nothing automatic; you run it
Steps
6, with 2 branches, 2 loops or waits
Size
Small: readable in one sitting
Connects to
Discord
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Discord account. You connect your own accounts after importing it; none are included.

What starts it?

Nothing starts it automatically. You run it by hand.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Not long. At 6 steps it can be read in one sitting and changed without fear.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 6 steps before you point it at anything that matters.