Automation library · Alerts and monitoring

Monitor Truth Social posts for Iran-Israel risk and alert Discord

Started by a clock, and works across Discord and n8n data table. It hands the judgement calls to OpenAI. 26 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 2Logic 14Service 8

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

  1. 1Run SetupManual triggerStarts it
  2. 2OpenAI Chat ModelLm Chat Open AiModel
  3. 3Every minuteCronStarts it
  4. 4Create State TableData TableService
  5. 5Test Bright DataHttp RequestService
  6. 6Test ChatGPTHttp RequestService
  7. 7Extract Classification (GPT)Information ExtractorModel
  8. 8Get last_idData TableService
  9. 9Initialize last_idData TableService
  10. 10Wait For All TestsMergeLogic
  11. 11reducedSetLogic
  12. 12Normalize last_idSetLogic
  13. 13Setup CompleteSetLogic
  14. 14Setup Test SummaryCodeLogic
  15. 15Is relevant?IfLogic
  16. 16Fetch new statuses - BrightDataHttp RequestService
  17. 17Send discordDiscordService
  18. 18Has new posts?IfLogic
  19. 19extract created_atCodeLogic
  20. 20Calculate Max IDCodeLogic
  21. 21No Operation, do nothingNo OpLogic
  22. 22Split OutSplit OutLogic
  23. 23Update last_idData TableService
  24. 24filter relevant fieldsSetLogic
  25. 25Keyword PrefilterIfLogic
  26. 26No Operation, do nothing, irrelevantNo OpLogic

How it's built

Starts on
A clock
Steps
26, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Discord, n8n data table
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Discord account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 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 26 steps before you point it at anything that matters.