Automated asteroid alerts with NASA API, Slack & Google Calendar
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs on a schedule (every 12 hours). Along the way it connects Slack, NASA and Google Calendar.
How it runs
Trigger: On a schedule (every 12 hours).
- Calculate Date Range (Code): runs custom JavaScript code
- Get an asteroid neo feed (NASA): work with asteroid neo feed
- Filter and Process Asteroids (Code): runs custom JavaScript code
- Check If Asteroids Found (If): checks a condition and branches into true / false
- Format Alert Messages (Code): runs custom JavaScript code
- Send Slack Alert (Slack): uses Slack
- Split Out: splits a list into separate items
- Create an event (Google Calendar): uses Google Calendar
Services it uses
Other Google Calendar + Slack templates (98) · Other NASA + Slack templates (3)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Split Out
n8n-nodes-base.splitOut - NASA
n8n-nodes-base.nasa - Google Calendar
n8n-nodes-base.googleCalendar - No Operation, do nothing
n8n-nodes-base.noOp
From the author
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…