Workflow: Openweathermap Webhook Automation

Workflow Details

Download Workflow
{
    "id": "158",
    "name": "Receive the weather information of any city",
    "nodes": [
        {
            "name": "Webhook",
            "type": "n8n-nodes-base.webhook",
            "position": [
                580,
                340
            ],
            "webhookId": "45690b6a-2b01-472d-8839-5e83a74858e5",
            "parameters": {
                "path": "45690b6a-2b01-472d-8839-5e83a74858e5",
                "options": [],
                "responseData": "allEntries",
                "responseMode": "lastNode"
            },
            "typeVersion": 1
        },
        {
            "name": "OpenWeatherMap",
            "type": "n8n-nodes-base.openWeatherMap",
            "position": [
                770,
                340
            ],
            "parameters": {
                "cityName": "={{$node[\"Webhook\"].json[\"query\"][\"city\"]}}"
            },
            "credentials": {
                "openWeatherMapApi": ""
            },
            "typeVersion": 1
        },
        {
            "name": "Set",
            "type": "n8n-nodes-base.set",
            "position": [
                970,
                340
            ],
            "parameters": {
                "values": {
                    "string": [
                        {
                            "name": "temp",
                            "value": "={{$node[\"OpenWeatherMap\"].json[\"main\"][\"temp\"]}}"
                        },
                        {
                            "name": "description",
                            "value": "={{$node[\"OpenWeatherMap\"].json[\"weather\"][0][\"description\"]}}"
                        }
                    ]
                },
                "options": [],
                "keepOnlySet": true
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "Webhook": {
            "main": [
                [
                    {
                        "node": "OpenWeatherMap",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "OpenWeatherMap": {
            "main": [
                [
                    {
                        "node": "Set",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

Readbinaryfile Manual Automate Triggered
View
Crypto News & Sentiment
View
Code Editimage Automation Webhook
View
[OPS] Restore workflows from GitHub to n8n
View
Splitout Schedule Import Webhook
View
Automating Betting Data Retrieval with TheOddsAPI and Airtable
View
Automation
View
Respondtowebhook Webhook Automate Webhook
View
LINE Assistant with Google Calendar and Gmail Integration
View
HTTP GoogleSheets Automation Webhook
View