Weather Query Webhook Workflow
This workflow receives city names through a Webhook interface, automatically calls a weather API to obtain real-time weather data, and generates a concise weather description. Users can dynamically query the weather for any city, with Berlin set as the default city. The response includes the current temperature and the feels-like temperature. This automated process addresses the need for quickly obtaining weather information for specified cities and is suitable for scenarios such as websites, smart homes, and travel services, enhancing the intelligence and convenience of the service.

Workflow Name
Weather Query Webhook Workflow
Key Features and Highlights
This workflow receives a city name parameter via a Webhook interface, automatically calls the OpenWeatherMap Weather API to obtain real-time weather data, and generates a clear and concise weather description response. It supports dynamic input of any city name, with a default query for Berlin, Germany. The response includes the current temperature and the perceived (feels-like) temperature.
Core Problem Addressed
It addresses the need for users or systems to quickly obtain real-time weather information for a specified city, eliminating the cumbersome process of manual lookup and API data parsing, thereby enabling automated and instant weather data delivery.
Application Scenarios
- Integrating weather query functionality into websites or applications
- Smart home or office systems adjusting environments based on weather conditions
- Travel or transportation services providing real-time weather alerts
- Developers debugging or testing weather data interfaces
Main Workflow Steps
- Receive an HTTP GET request through the Webhook node and extract the city name parameter from the query.
- Use the Set node to assign the city name parameter, with a default value of “berlin,de”.
- Call the OpenWeatherMap node, passing the city name to retrieve real-time weather data for the location.
- Use the Set node to format the weather data, generating a text response that includes the current temperature and feels-like temperature.
- Return the generated weather information as a response via the Webhook to the caller.
Involved Systems or Services
- OpenWeatherMap Weather API (source of real-time weather data)
- n8n Webhook node (handles HTTP request reception and response)
- n8n Set node (for parameter setting and response data formatting)
Target Users and Value Proposition
- Developers and technical teams: Quickly build weather query interfaces for easy integration into various applications.
- Enterprises and service providers: Automate weather data retrieval to enhance service intelligence.
- End users: Obtain accurate and timely weather information through a simple interface to support travel and daily life decisions.