Back to Templates
This n8n template creates an automated alert system that checks NASA's data for near-Earth asteroids twice a day. When it finds asteroids meeting specific criteria, it sends a summary alert to Slack and creates individual events in Google Calendar for each object.
DEMO_KEY
has strict rate limits. Get a free key from api.nasa.gov.Configure the NASA Node:
DEMO_KEY
with your own NASA API key.Customize Filtering (Optional):
MAX_DISTANCE_KM
and MIN_DIAMETER_METERS
variables to make the alerts more or less sensitive.// Example: For closer, larger objects
const MAX_DISTANCE_KM = 7500000; // 7.5 million km (approx. 19.5 lunar distances)
const MIN_DIAMETER_METERS = 100; // 100 meters
Configure Slack Alerts:
#asteroid-watch
).Configure Google Calendar Events:
Activate the workflow.