Automate ISS Position Tracking with n8n and Firebase

This guide shows how to automatically track the International Space Station’s position every minute using n8n and push the data to Google Firebase Realtime Database, saving hours of manual data collection and ensuring accurate real-time updates.
cron
httpRequest
set
+1
Workflow Identifier: 2379
NODES in Use: Cron, HTTP Request, Set, Google Cloud Realtime Database
Automate ISS tracking with n8n and Firebase

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow collects the location of the International Space Station every minute. It takes that position data — latitude, longitude, and timestamp — and saves it directly into a Google Firebase Realtime Database. This stops the need for manual tracking, making space location updates fast and automatic.

The workflow runs automatically on a timer, calls a public ISS API, cleans the data, and pushes it to Firebase for real-time use.


Who Should Use This Workflow

This is useful for educators, students, space fans, or developers wanting live ISS position data without manual effort. It helps to keep any ISS tracking app or dashboard updated easily and accurately.

Anyone with a basic n8n setup and Firebase account can use this workflow to automate ISS tracking.


Tools and Services Used

  • n8n automation platform: runs the workflow tasks on schedule.
  • wheretheiss.at API: provides free, public ISS position data without API keys.
  • Google Firebase Realtime Database: stores and syncs the ISS position data in real time.

How the Workflow Works – Inputs, Processing, and Outputs

Inputs

  • The workflow uses a timer to start every minute.
  • It sends the current time as a timestamp for API request.

Processing Steps

  • The workflow triggers using a Cron node every minute.
  • The HTTP Request node calls the ISS API with current timestamp using the expression {{Date.now();}}.
  • The Set node takes the API response and picks only latitude, longitude, and timestamp.
  • The Google Firebase Realtime Database node pushes this clean data into the database under the path ‘iss’.

Outputs

  • Updated ISS location data saved automatically in Firebase every minute.
  • Data is ready for viewing or using in apps with live updates.

Beginner Step-by-Step: How To Use This Workflow In n8n

Step 1: Import Workflow

Click the Download button on this page to get the workflow file.

Go to your n8n editor and choose Import from File to upload the workflow.

Step 2: Set Credentials

After import, add your Google Firebase OAuth2 credentials inside the Firebase node.

Check the Firebase Project ID and database path. Change if your setup is different from ‘iss’.

Step 3: Test Workflow

Run the workflow once manually. This makes sure the API call and Firebase push work correctly.

Step 4: Activate Workflow

Turn on the workflow by switching it from inactive to active in n8n.

This makes it run every minute automatically without more action.

If you use self-host n8n, the same import and setup steps apply.


Customization Ideas

  • Change the frequency in the Cron node to every 5 or 10 minutes to lower API traffic.
  • Add more data fields in the Set node if the API returns altitude or velocity.
  • Modify the Firebase path to organize data differently (for example, ‘iss_positions/logs’).
  • Add error alerts via Email or Slack nodes for API or Firebase issues.

Common Problems and Solutions

  • OAuth2 credentials error in Firebase node means credentials need re-authorization inside n8n.
  • Empty API data usually means wrong URL or query format. The timestamp must use {{Date.now();}}.
  • Data not showing in Firebase can mean wrong database path or insufficient write permissions.

Summary of Results

✓ Automatic ISS position updates every minute saved in Firebase.

✓ Real-time data ready for apps, dashboards, or education.

✓ Fully hands-off process replacing manual data logging.

→ Simplifies keeping space location info current and accurate without effort.

→ Can be expanded with alerts or different database setups.


Automate ISS tracking with n8n and Firebase

Visit through Desktop to Interact with the Workflow.

Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Frequently Asked Questions

The Cron node triggers the workflow to run every minute, starting the data fetch process automatically.
It sends the current time as a query parameter using the expression {{Date.now();}} to get the ISS position at that moment.
After import, add Google Firebase OAuth2 credentials in the Firebase node and verify the database path matches the user’s Firebase setup.
Yes, other database nodes in n8n can replace Firebase but require adjusting node settings accordingly.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.