Automation library · Data collection

Discord server anti-impersonation / scammer tracker

Started by a clock, and works across Discord and n8n data table. 27 steps, 8 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

27 stepsLarge: read it before trusting it with anything live
8Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Logic 14Service 12

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

  1. 1Hourly Check TriggerSchedule triggerStarts it
  2. 2Configuration SettingsSetLogic
  3. 3Get All Server MembersDiscordService
  4. 4Edit FieldsSetLogic
  5. 5Loop Over ItemsSplit In BatchesLogic
  6. 6If userID does not existData TableService
  7. 7If userid does not existIfLogic
  8. 8add new user to databaseData TableService
  9. 9Get row(s) from main DBData TableService
  10. 10SwitchSwitchLogic
  11. 11Get row(s) from new DBData TableService
  12. 12Switch1SwitchLogic
  13. 13nickname changedDiscordService
  14. 14is the new change recorded alreadyIfLogic
  15. 15insert user changes to new databaseData TableService
  16. 16new name and un is recorded, do nothingNo OpLogic
  17. 17nickname changed againDiscordService
  18. 18aggregate all necessary dataSetLogic
  19. 19If username and nickname hasn't been changedIfLogic
  20. 20No Operation, do nothing1No OpLogic
  21. 21If both username and nickname was changed but user ID is the sameIfLogic
  22. 22update both column in recordsData TableService
  23. 23if username is the same but nickname is diffIfLogic
  24. 24update only username on recordData TableService
  25. 25if username is the same but nickname is diff1IfLogic
  26. 26update only nickname columnData TableService
  27. 27error handlingDiscordService

How it's built

Starts on
A clock
Steps
27, with 8 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Discord, n8n data table
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?

It starts on a clock.

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?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

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 27 steps before you point it at anything that matters.