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

Build Custom AI Agent with LangChain & Gemini (Self-Hosted)
View
Splitout Code Update Triggered
View
Analyze_Crowdstrike_Detections__search_for_IOCs_in_VirusTotal__create_a_ticket_in_Jira_and_post_a_message_in_Slack
View
Form Code Create Triggered
View
Create a company in Salesmate
View
Splitout Schedule Automation Scheduled
View
Code Readpdf Send Triggered
View
Gotowebinar Automate
View
Code Schedule Import Scheduled
View
Compare 2 SQL datasets
View