Monitor Truth Social posts for Iran-Israel risk and alert Discord with Bright Data and OpenAI
Needs changesWhat this workflow does
This AI workflow has 26 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Discord. It also calls api.brightdata.com and api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Create State Table (Data table): create (table)
- Test Bright Data (HTTP Request): calls api.brightdata.com
- Test ChatGPT (HTTP Request): calls api.openai.com
- Get last_id (Data table): get
- Initialize last_id (Data table): create or update
- Wait For All Tests (Merge): merges the data from its input branches
- Normalize last_id (Edit Fields (Set)): sets 1 field: last_id
- Setup Complete (Edit Fields (Set)): sets 4 fields: setup_status, state_table, last_id…
- Setup Test Summary (Code): runs custom JavaScript code
- Fetch new statuses - BrightData (HTTP Request): calls an HTTP API
…plus 11 more steps. See the full node list below.
Services it uses
Other OpenAI + Discord templates (89) · Other Bright Data + OpenAI templates (75)
HTTP calls to: api.brightdata.com, api.openai.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Cron in Every minute: replace with Schedule Trigger.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| Cron Every minute | Schedule Trigger |
Nodes used (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Cron
n8n-nodes-base.cron - No Operation, do nothing
n8n-nodes-base.noOp - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Discord
n8n-nodes-base.discord
From the author
Quick overview This workflow polls a Truth Social account every minute via Bright Data, tracks the newest processed post ID in an n8n Data Table, uses OpenAI (GPT-4o-mini) to classify posts about Iran–Israel–US tensions, and sends relevant alerts to a Discord…