Skip to main content

Get real-time international space station visibility alerts with N2YO and Telegram

Workflow preview

Workflow preview
100%
Get real-time international space station visibility alerts with N2YO and Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Workflow Execution Video: https://youtu.be/VV4D2aiFXsY Prerequisites & Setup Before you begin, you need to gather a few key pieces of information: 1. N2YO API Key: G...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.telegram, n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by iamvaar.

Original n8n.io source

1.1 Workflow description

Title
Get real-time international space station visibility alerts with N2YO and Telegram
Workflow name
Get real-time international space station visibility alerts with N2YO and Telegram

Workflow Execution Video: https://youtu.be/VV4D2aiFXsY

Prerequisites & Setup

Before you begin, you need to gather a few key pieces of information:

  1. N2YO API Key:
    • Go to https://www.n2yo.com/login/register/ and create a free account.
    • Once registered, find and copy your API key. This key is used to request satellite data.
    • Replace the enter-longitude, enter-latitude, enter-your-api-key in http node URL.
  2. Telegram Bot Credentials:
    • You need a Telegram bot. You can create one by talking to the BotFather on Telegram.
    • Bot Token: BotFather will give you a unique authorization token. This is like a password for your bot.
    • Chat ID: You need the ID of the chat where the bot will send messages. You can get this by sending a message to your bot and then visiting https://api.telegram.org/bot<YourBOTToken>/getUpdates. Look for the chat -> id value in the response.
  3. Your Location Coordinates:

Node-by-Node Explanation

This workflow is composed of five nodes that execute in a sequence.


1. Schedule Trigger Node

  • Node Name: Schedule Trigger
  • Purpose: This is the starting point of the workflow. It's designed to run automatically at a specific, recurring interval.
  • Configuration: The node is set to trigger every 30 minutes. This means the entire sequence of actions will be initiated twice every hour.

2. HTTP Request Node

  • Node Name: HTTP Request
  • Purpose: This node is responsible for fetching data from an external source on the internet.
  • Configuration: It sends a request to the N2YO API URL: https://api.n2yo.com/rest/v1/satellite/visualpasses/25544/...
    • The numbers 25544 represent the NORAD ID for the International Space Station (ISS).
    • You must replace enter-longitude, enter-latitude, and enter-your-api-key with the actual coordinates and API key you gathered during the setup.
    • The result of this request is a block of data (in JSON format) containing information about upcoming satellite passes.

3. Code Node

  • Node Name: Readable
  • Purpose: This node uses JavaScript to process and reformat the raw data received from the HTTP Request node.
  • Configuration: The JavaScript code performs several actions:
    • It extracts the details of the next upcoming satellite pass.
    • It contains functions to convert timestamp numbers into human-readable dates and times (e.g., "10th October 2025, 14:30 UTC").
    • It calculates the time remaining until the pass begins (e.g., "in 2h 15m").
    • Finally, it constructs a formatted text message (alert) and calculates the number of minutes until the pass begins (timeinminutes), passing both pieces of information to the next node.

4. If Node

  • Node Name: If
  • Purpose: This node acts as a gatekeeper. It checks if a specific condition is met before allowing the workflow to continue.
  • Configuration: It checks the timeinminutes value that was calculated in the previous Code node.
    • The condition is: Is timeinminutes less than or equal to 600?
    • If the condition is true (the pass is 600 minutes or less away), the data is passed to the next node through the "true" output.
    • If the condition is false, the workflow stops.

5. Telegram Node

  • Node Name: Send a text message
  • Purpose: This node sends a message to your specified Telegram chat.
  • Configuration:
    • It is configured with your Telegram bot's credentials.
    • The Chat ID is set to the specific chat you want the message to appear in.
    • The content of the text message is taken directly from the alert variable created by the Code node. This means it will send the fully formatted message about the upcoming ISS pass.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Send a text message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 3 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Readable

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Get real-time international space station visibility alerts with N2YO and Telegram
Complexity intermediate
Nodes 6
Categories Personal Productivity
Author iamvaar
Published 06 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9320/9320.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Get real-time international space station visibility alerts with N2YO and Telegram do?

Workflow Execution Video: https://youtu.be/VV4D2aiFXsY Prerequisites & Setup Before you begin, you need to gather a few key pieces of information: 1. N2YO API Key: G...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.