Skip to main content

Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts

Workflow preview

Workflow preview
100%
Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts preview
Open on n8n.io

1. Workflow Overview

Who's it for Supply chain and logistics specialists, freight forwarders, importers/exporters, and risk teams who need early warning when maritime, carrier, geopolitical, or weather events threaten ...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.rssfeedread, n8n-nodes-base.merge, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatanthropic

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Aleks Sidorecs.

Original n8n.io source

1.1 Workflow description

Title
Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts
Workflow name
Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts

Who's it for

Supply chain and logistics specialists, freight forwarders, importers/exporters, and risk teams who need early warning when maritime, carrier, geopolitical, or weather events threaten their cargo or trade lanes.

If you've ever found out about a Red Sea diversion, an OFAC sanctions package, a Panama Canal restriction, or a Gulf hurricane after it hit your bookings - this template fixes that. It turns 12 free public feeds into a single Claude-classified Telegram alert stream, scoped to the chokepoints, lanes, and risk dimensions you actually care about.

How it works

The workflow runs every 6 hours and polls 12 free public RSS feeds across 4 supply chain risk dimensions:

  • Maritime: gCaptain, Maritime Executive, Safety4Sea, Splash247
  • Carrier: The Loadstar, FreightWaves, Container News
  • Geopolitical: Google News searches for sanctions, tariffs, OFAC, export bans
  • Weather: GDACS (Global Disaster Alerts), NOAA Hurricane Center, USGS Significant Earthquakes

Each new item is deduped against past runs using n8n workflow static data - no database needed. Then Claude Sonnet 4.5 (the Sonar Analyst) classifies it into a structured JSON with primary risk dimension, severity 1-5, affected region, geo node, trade lanes affected, source reliability, and recommended action (monitor / alert / escalate). Five few-shot examples cover one case from each dimension plus an "other" fallback.

Items at or above your severity threshold are reformatted by a second Claude pass (the Sonar Reporter) into a scannable HTML Telegram alert with dimension-specific emoji, severity color codes, and a direct link to the source. Items below threshold end silently.

How to set up

  1. Connect your Anthropic API credential to both Claude Sonnet sub-nodes - the same credential can be reused for both the Analyst and the Reporter.
  2. Connect your Telegram Bot credential (token from BotFather) and set the TELEGRAM_CHAT_ID environment variable in n8n to your operator chat ID. The Send Telegram Alert node already references this env var, so you only need to set the variable once.
  3. Open the Configuration node and adjust:
  • severity_threshold (1-5) - minimum severity to alert on (default: 3)
  • watched_dimensions - comma-separated dimensions: maritime, carrier, geopolitical, weather
  • watched_regions - geographic focus list (defaults cover the major chokepoints + global lanes)
  • post_all_clear_digest - set to true if you want a digest even when nothing critical hit
  1. Click Execute Workflow once to test. You'll see items flow through the canvas, the Analyst classify them, and the IF gate filter them. If the result is below threshold you'll see a green checkmark on End (Below Threshold) - that's expected.
  2. Toggle Active in the top-right when you're happy. The schedule trigger will fire every 6 hours.

Requirements

  • Anthropic API key (Claude Sonnet 4.5 recommended - the prompts are tuned for it)
  • Telegram Bot token from BotFather
  • A Telegram chat ID for receiving alerts (your personal chat, a group, or a channel)

That's it. No databases, no Docker, no scraping, no paid APIs. The dedupe Code node uses n8n workflow static data so nothing needs to be installed beyond a working n8n instance.

How to customize the workflow

Add or remove RSS feeds in the lane that matches your dimension. Each lane has its own visual sticky note so you can see at a glance which feeds belong where. To add a feed, copy any existing RSS Feed Read node, change the URL, and connect it to the Merge node.

Change the schedule in the Every 6 Hours node - for high-stakes operations you might want every 2 hours; for lower-touch monitoring, daily.

Edit the Sonar Analyst system prompt (in the AI Agent node) to add new risk categories, region keywords, or industry-specific few-shot examples. The current schema supports adding new crisis_type enum values and new chokepoints without breaking the IF gate.

Swap Telegram for Slack, Discord, or email by replacing the final Send Telegram Alert node. The Sonar Reporter outputs HTML which renders cleanly in any of these channels.

Tighten the dedupe cap (currently 40 items per run, 800 cached URLs) if your LLM cost is a concern. The cap lives at the top of the Dedupe + Tag Source Code node.

Localize the alerts by changing the alert_language field in the Configuration node - the Reporter prompt respects it (currently supports english, spanish, french, german).

The workflow ships as a single importable JSON, 29 nodes total, with one yellow main sticky note explaining the whole template and four neutral lane sticky notes labeling each risk dimension lane. Zero credentials are bundled - you wire your own.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - README

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Lane: Maritime

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Lane: Carrier

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Lane: Geopolitical

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Lane: Weather

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Every 6 Hours

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 7 - Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - RSS: gCaptain

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 9 - RSS: Maritime Executive

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 10 - RSS: Safety4Sea

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 11 - RSS: Splash247

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 12 - RSS: The Loadstar

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 13 - RSS: FreightWaves

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 14 - RSS: Container News

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 15 - Google News: Tariffs & Sanctions

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 16 - Google News: OFAC & Export Bans

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 17 - RSS: GDACS (Global Disaster Alerts)

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 18 - RSS: NOAA Hurricane Center

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 19 - RSS: USGS Significant Earthquakes

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 20 - Merge All Feeds

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 21 - Dedupe + Tag Source

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 22 - Sonar Analyst (Claude)

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 23 - Claude Sonnet (Analyst)

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 24 - Parse Analyst JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts
Complexity advanced
Nodes 29
Categories Market Research, AI Summarization
Author Aleks Sidorecs
Published 08 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14932/14932.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor supply chain risk news with Claude Sonnet 4.5 and Telegram alerts do?

Who's it for Supply chain and logistics specialists, freight forwarders, importers/exporters, and risk teams who need early warning when maritime, carrier, geopolitical, or weather events threaten ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.