Monitor NASA space weather and DSN anomalies with OpenRouter and Telegram
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs on a schedule (every minute). Along the way it connects OpenRouter Chat Model, Telegram and Postgres. It also calls eyes.nasa.gov, api.nasa.gov and services.swpc.noaa.gov over HTTP.
How it runs
Trigger: On a schedule (every minute).
- 🔧 Prepare API Variables (EDIT ME) (Edit Fields (Set)): sets or maps fields
- 🛰️ Fetch DSN Status XML (HTTP Request): calls eyes.nasa.gov
- ☀️ Fetch CME Data from NASA (HTTP Request): calls api.nasa.gov
- 📡 Fetch GOES X-ray Data (HTTP Request): calls services.swpc.noaa.gov
- ☄️ Fetch NEO Data from NASA (HTTP Request): calls api.nasa.gov
- Merge: merges the data from its input branches
- 📊 Process and Aggregate Data (Code): runs custom JavaScript code
- 🧠 LLM AI Data Analysis (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
- 📲 Send Alert via Telegram (Telegram): uses Telegram
- 💾 Save Alert to PostgreSQL DB (Postgres): run a query
Services it uses
HTTP calls to: eyes.nasa.gov, api.nasa.gov, services.swpc.noaa.gov
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Telegram
n8n-nodes-base.telegram - Postgres
n8n-nodes-base.postgres
From the author
Quick overview This workflow runs every 5 minutes to fetch NASA DSN status, NASA DONKI CME events, NOAA GOES X-ray flux, and NASA NeoWs near‑Earth object data, then uses an OpenRouter-hosted LLM to generate a brief and sends it to Telegram while logging it in…