n8n
Workflow
Send Updates About The Position Of The Iss Every Minute To A Topic In Rabbitmq
This n8n workflow automates tasks using RabbitMQ. Send Updates About The Position Of The Iss Every Minute To A Topic In Rabbitmq - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks using RabbitMQ. Send Updates About The Position Of The Iss Every Minute To A Topic In Rabbitmq - ready to import and run in your n8n instance.
Features:
- Makes HTTP requests to external APIs
- Scheduled automation with cron triggers
- Integrates with RabbitMQ
- Scheduled execution
- Sends notifications or updates
Source Code
{
"nodes": [
{
"name": "RabbitMQ",
"type": "n8n-nodes-base.rabbitmq",
"position": [
1300,
540
],
"parameters": {
"queue": "iss-position",
"options": []
},
"credentials": {
"rabbitmq": "RabbitMQ Credentials"
},
"typeVersion": 1,
"id": "4ce6b01e-7e4e-4ea2-a306-140a23edea00"
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
1110,
540
],
"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": "9b54cbcd-22ea-4b45-97c6-96b2ce9d49fc"
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
910,
540
],
"parameters": {
"url": "https://api.wheretheiss.at/v1/satellites/25544/positions",
"options": [],
"queryParametersUi": {
"parameter": [
{
"name": "timestamps",
"value": "={{Date.now();}}"
}
]
}
},
"typeVersion": 1,
"id": "1f14182e-42fc-4302-a922-1604c49de5be"
},
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
710,
540
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1,
"id": "b8df0309-0626-4104-bc7b-0de78d65de57"
}
],
"connections": {
"Set": {
"main": [
[
{
"node": "RabbitMQ",
"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, Rabbitmq API credentials
Tags
#n8n
#automation
#workflow