Workflow: HTTP Googlefirebaserealtimedatabase Update

Workflow Details

Download Workflow
{
    "id": "134",
    "name": "Receive updates for the position of the ISS every minute and push it to a database",
    "nodes": [
        {
            "name": "Cron",
            "type": "n8n-nodes-base.cron",
            "position": [
                550,
                300
            ],
            "parameters": {
                "triggerTimes": {
                    "item": [
                        {
                            "mode": "everyMinute"
                        }
                    ]
                }
            },
            "typeVersion": 1
        },
        {
            "name": "HTTP Request",
            "type": "n8n-nodes-base.httpRequest",
            "position": [
                750,
                300
            ],
            "parameters": {
                "url": "https:\/\/api.wheretheiss.at\/v1\/satellites\/25544\/positions",
                "options": [],
                "queryParametersUi": {
                    "parameter": [
                        {
                            "name": "timestamps",
                            "value": "={{Date.now();}}"
                        }
                    ]
                }
            },
            "typeVersion": 1
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                950,
                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": []
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1
        },
        {
            "name": "Google Cloud Realtime Database",
            "type": "n8n-nodes-base.googleFirebaseRealtimeDatabase",
            "position": [
                1150,
                300
            ],
            "parameters": {
                "path": "iss",
                "operation": "push",
                "projectId": "",
                "attributes": "latitude, longitude, timestamp"
            },
            "credentials": {
                "googleFirebaseRealtimeDatabaseOAuth2Api": "firebase realtime credentials"
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "Set": {
            "main": [
                [
                    {
                        "node": "Google Cloud Realtime Database",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Cron": {
            "main": [
                [
                    {
                        "node": "HTTP Request",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "HTTP Request": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Manual Stickynote Automation Webhook
View
ClockifyBlockiaWorkflow
View
Gmail MCP Server
View
Store the data received from the CocktailDB API in JSON
View
Backup workflows to git repository
View
Automate Your Customer Service With WhatsApp Business Cloud & Asana
View
Emelia Automate
View
Create a new customer in Chargebee
View
Splitout GoogleCalendar Send Webhook
View
Graphql Webhook Automate Webhook
View