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

Code Editimage Update Webhook
View
HTTP Cron Automation Scheduled
View
Code Webhook Create Webhook
View
Translate Telegram audio messages with AI (55 supported languages) v1
View
Generate Exam Questions
View
Telegram Code Create Webhook
View
Build a Phone Agent to qualify outbound leads and inbound calls with RetellAI -vide
View
🎥 Gemini AI Video Analysis
View
Splitout GoogleCalendar Send Webhook
View
Get Airtable data in Obsidian Notes
View