Track the ISS in Real-Time with n8n
detail.loadingPreview
Automate real-time International Space Station (ISS) location tracking and store historical data. This workflow leverages n8n to fetch live ISS coordinates and save them to a TimescaleDB database for analysis.
About This Workflow
This n8n workflow provides a seamless way to monitor the International Space Station's (ISS) live position and build a historical dataset. It begins by using a Cron node to trigger an HTTP Request to a public ISS API every minute. The API response, containing the ISS's current latitude, longitude, and timestamp, is then processed by a Set node to cleanly extract these crucial data points. Finally, these extracted coordinates and timestamps are inserted into a TimescaleDB database table named 'iss', allowing you to track the ISS's journey over time and perform detailed analysis on its orbital path and historical presence.
Key Features
- Real-Time Tracking: Automatically fetches ISS location data at user-defined intervals.
- Data Persistence: Stores historical ISS position data in TimescaleDB.
- Customizable Schedule: Easily adjust the trigger frequency using the Cron node.
- Clean Data Extraction: The Set node ensures precise data formatting for database insertion.
- Scalable Data Storage: Utilizes TimescaleDB for efficient time-series data management.
How To Use
- Add a Cron Node: Configure the
Cronnode to set thetriggerTimesfor how often you want to fetch ISS data (e.g.,everyMinute). - Add an HTTP Request Node: Set the
urltohttps://api.wheretheiss.at/v1/satellites/25544/positions. InqueryParametersUi, add a parameter namedtimestampswith the value={{Date.now()}}. - Add a Set Node: Configure the
valuesto extractlatitude,longitude, andtimestampfrom the previous node's output. Use expressions like={{$json["0"]["latitude"]}}for each field. - Add a TimescaleDB Node: Connect the
Setnode to theTimescaleDBnode. Configure thetabletoissand thecolumnstolatitude, longitude, timestamp. Ensure your TimescaleDB credentials are set up correctly.
Apps Used
Workflow JSON
{
"id": "e9d818e3-d226-4e8e-86b9-44c18a18195a",
"name": "Track the ISS in Real-Time with n8n",
"nodes": 26,
"category": "Personal",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: e9d818e3-d226...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
Automate Your Daily Briefing: News, Emails, and Tasks
Streamline your day by automatically fetching the latest news from Times of India, important emails from your Gmail, and your upcoming Todoist tasks. Get a consolidated, beautifully formatted daily digest delivered straight to your inbox.
AI Music Generator with Suno V3.5 (KIE.ai)
This n8n workflow automates AI music generation using the KIE.ai API, powered by the Suno V3.5 model. Users simply submit music prompts, styles, and titles via a web form, and the system handles real-time generation and delivery of the final audio output. It's perfect for quickly creating custom music for various needs.
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.