n8n Workflow

Send Updates About The Position Of The Iss Every Minute To A Topic In Activemq

This n8n workflow automates tasks using ActiveMQ. Send Updates About The Position Of The Iss Every Minute To A Topic In Activemq - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks using ActiveMQ. Send Updates About The Position Of The Iss Every Minute To A Topic In Activemq - ready to import and run in your n8n instance.
Features:
  • Scheduled automation with cron triggers
  • Makes HTTP requests to external APIs
  • Integrates with ActiveMQ
  • Scheduled execution
  • Sends notifications or updates
Source Code
{
    "nodes": [
        {
            "name": "Cron",
            "type": "n8n-nodes-base.cron",
            "position": [
                510,
                300
            ],
            "parameters": {
                "triggerTimes": {
                    "item": [
                        {
                            "mode": "everyMinute"
                        }
                    ]
                }
            },
            "typeVersion": 1,
            "id": "a1dad6dc-573e-41f1-a30b-fdf6092e0005"
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                710,
                300
            ],
            "parameters": {
                "url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
                "options": [],
                "queryParametersUi": {
                    "parameter": [
                        {
                            "name": "timestamps",
                            "value": "={{Date.now();}}"
                        }
                    ]
                }
            },
            "typeVersion": 1,
            "id": "d80bae22-6855-43f9-b8a2-7b090db034f9"
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                910,
                300
            ],
            "parameters": {
                "values": {
                    "number": [
                        {
                            "name": "Latitude",
                            "value": "={{$node[\"HTTP Request\"].json[\"0\"][\"latitude\"]}}"
                        },
                        {
                            "name": "Longitude",
                            "value": "={{$node[\"HTTP Request\"].json[\"0\"][\"longitude\"]}}"
                        },
                        {
                            "name": "Timestamp",
                            "value": "={{$node[\"HTTP Request\"].json[\"0\"][\"timestamp\"]}}"
                        }
                    ],
                    "string": [
                        {
                            "name": "Name",
                            "value": "={{$node[\"HTTP Request\"].json[\"0\"][\"name\"]}}"
                        }
                    ]
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1,
            "id": "3b58feb7-86c4-4c68-b0a8-2d658f6281b6"
        },
        {
            "name": "AMQP Sender",
            "type": "n8n-nodes-base.amqp",
            "position": [
                1110,
                300
            ],
            "parameters": {
                "sink": "iss-postition",
                "options": []
            },
            "credentials": {
                "amqp": "ampq"
            },
            "typeVersion": 1,
            "id": "d48ca29b-2e5f-4b7e-81b6-d9cd95b738f3"
        }
    ],
    "connections": {
        "Set": {
            "main": [
                [
                    {
                        "node": "AMQP Sender",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Cron": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "HTTP Request": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, ActiveMQ connection
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows