Send aurora visibility alerts with NOAA, Open-Meteo and Slack
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs on a schedule (every 10 minutes). Along the way it connects Slack. It also calls services.swpc.noaa.gov and api.open-meteo.com over HTTP.
How it runs
Trigger: On a schedule (every 10 minutes).
- Set Location and KP Parameters (Edit Fields (Set)): sets 13 fields: locationName, latitude, longitude…
- Fetch NOAA Kp Index Data (HTTP Request): calls services.swpc.noaa.gov
- Fetch NOAA Solar Wind Mag Data (HTTP Request): calls services.swpc.noaa.gov
- Fetch NOAA Wind Plasma Data (HTTP Request): calls services.swpc.noaa.gov
- Parse Space Weather Data (Code): runs custom JavaScript code
- Calculate Sun and Moon Position (Code): runs custom JavaScript code
- Check If It's Dark Enough (If): checks a condition and branches into true / false
- Fetch Cloud Cover Data (HTTP Request): calls api.open-meteo.com
- Calculate Aurora Viability Score (Code): runs custom JavaScript code
- Check Score Threshold (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: services.swpc.noaa.gov, api.open-meteo.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Slack
n8n-nodes-base.slack
From the author
Quick overview Youtube Video: https://youtu.be/g4AklHzTYy0?si=ked6L2SbpdirFNA7 This workflow checks NOAA space-weather data, Open-Meteo cloud forecasts, and local sun/moon conditions every 10 minutes to calculate an aurora visibility score, then sends a Slack…