Automate ISS Position Updates to ActiveMQ Using n8n Cron

Tired of manually tracking the International Space Station’s real-time position? This n8n workflow fetches ISS coordinates every minute and sends updates to an ActiveMQ topic automatically, saving you time and ensuring accurate data delivery for space enthusiasts or aerospace applications.
cron
httpRequest
set
+1
Workflow Identifier: 1374
NODES in Use: Cron, HTTP Request, Set, AMQP Sender
Automate ISS updates with n8n and Cron

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

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow runs every minute and fetches the current ISS position from a public API.
It organizes the data and sends it to an ActiveMQ topic for other services to use.
The main problem solved is stopping manual checking and sending of ISS location updates, which can cause delays or errors.
The result is automatic updates posted regularly to the messaging system.

The workflow triggers on a one-minute schedule using a Cron node.
It calls the “Where The ISS At” API to get latitude, longitude, timestamp, and name.
A Set node then extracts just these important details.
Finally, an AMQP Sender node publishes the cleaned ISS data to an ActiveMQ topic.
This keeps subscribers informed without manual input.

The main benefit is time saved and fewer mistakes by automating repeated data fetching.
It also fits precise timing needs by working every minute.


Tools and Services Used

  • n8n: For building the automation workflow.
  • Where The ISS At API: Public API to fetch ISS current coordinates.
  • ActiveMQ with AMQP: Message broker that receives ISS position updates.
  • Internet connection: Required to access the ISS API and ActiveMQ.

Inputs, Processing, and Output

Inputs

  • Trigger from Cron node every minute.
  • Dynamic timestamp sent as query parameter to ISS API.

Processing

  • HTTP Request node calls ISS API and gets a JSON array response.
  • Set node extracts latitude, longitude, timestamp, and name from the first item.
  • Data is cleaned to keep only relevant fields.

Output

  • AMQP Sender node sends the data to the ActiveMQ topic named “iss-position”.
  • Other services subscribed to this topic can receive and process updates.

Beginner Step-by-Step: How to Use This Workflow in Production

Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside the n8n editor, use the “Import from File” option to upload the workflow.

Configure Credentials and Settings

  1. Add your ActiveMQ AMQP credentials in the AMQP Sender node.
  2. Check the ActiveMQ topic name is correct (“iss-position”).
  3. Verify the API URL and timestamp expression are correct in the HTTP Request node.

Test and Activate

  1. Run the workflow manually once to check it fetches and sends the ISS data.
  2. Fix any errors, especially with credentials or API response.
  3. When confirmed working, activate the workflow to run automatically every minute.

If you want to self-host the workflow, consider self-host n8n for stable operation.


Customizations and Enhancements

  • Change the frequency in the Cron node to update less or more often.
  • Add extra fields like altitude or velocity in the Set node using expressions like = $node["HTTP Request"].json[0].altitude.
  • Insert a Function node to check if data is valid before sending.
  • Use expressions in AMQP Sender node’s topic to send messages dynamically.
  • Log sent messages into Google Sheets or databases for audit trails.

Troubleshooting

  • AMQP connection refused: Wrong credentials or broker down. Check broker details and network.
  • No messages in ActiveMQ: Check topic name spelling and subscription status.
  • HTTP Request errors: API endpoint might be incorrect or timestamp expression wrong. Use = Date.now(); exactly.

Pre-Production Checklist

  • Test the workflow triggers once per minute.
  • Verify the API fetch returns latitude, longitude, and timestamp.
  • Check the Set node outputs correct data.
  • Confirm the AMQP Sender node publishes messages successfully.
  • Activate and watch logs to catch early run issues.

Deployment Guide

  • Activate the workflow inside n8n.
  • Ensure internet and ActiveMQ broker are up.
  • Monitor execution history regularly.
  • Set optional alerts to catch workflow stoppages.

Summary

✓ Saves time by automating ISS position tracking.
✓ Sends data every minute to ActiveMQ for live usage.
✓ Eliminates manual fetching errors and delays.
✓ Easy to import and configure inside n8n.
→ Provides reliable, fresh ISS data for dashboards or alerts.


Automate ISS updates with n8n and Cron

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow will fail to send messages and show AMQP connection refused errors. Correct credentials are needed.
Run the workflow manually in n8n and check if the HTTP Request node gets latitude, longitude, and timestamp data.
Yes, change the Cron node to trigger more frequently, but monitor for API limits and system load.
No, the workflow only sends current position every minute. Adding logging nodes can record history if needed.

Promoted by BULDRR AI

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.