Get Current Weather via OpenWeatherMap
detail.loadingPreview
Retrieves current weather conditions for a specified city using the OpenWeatherMap API.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow fetches real-time weather data for a given city using the OpenWeatherMap API. It's triggered via a webhook and returns the current temperature, 'feels like' temperature, and city name in the response.
Key Features
- Triggerable via HTTP GET request.
- Dynamically sets the city based on webhook query parameters or a default.
- Integrates with the OpenWeatherMap API to fetch weather data.
- Provides a customizable response message with weather details.
- Includes basic error handling for workflow execution.
How To Use
- Import this workflow into your n8n instance.
- Configure your OpenWeatherMap API key in the
OpenWeatherMapnode credentials. - Set the
pathfor theWebhook GETnode to your desired endpoint (e.g.,/weather). - To specify a city, make a GET request to your webhook URL with a
parameterquery string, e.g.,?parameter=london,uk. - If no
parameteris provided, it will default to 'berlin,de'. - The workflow will respond with a JSON object containing the weather information.
Apps Used
Workflow JSON
{
"id": "82529532-0e76-4d1f-930c-d8c87f86e0cd",
"name": "Get Current Weather via OpenWeatherMap",
"nodes": 0,
"category": "OpenWeatherMap",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 82529532-0e76...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Get City Weather Information with OpenWeatherMap
Retrieve current weather details for any city using OpenWeatherMap.
OpenWeatherMap Weather Alert SMS
Get current weather information from OpenWeatherMap and send an SMS alert with details.
Send Daily Weather Updates with Gotify
Automatically sends daily weather updates to your Gotify server.
OpenWeatherMap SMS Notification
Send current temperature via SMS using Plivo.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.