Current Weather Data Retrieval via OpenWeatherMap - n8n Workflow

Use this n8n workflow template to quickly fetch real-time weather information for any specified city using the OpenWeatherMap n8n node. Simple and efficient n8n automation for utility tasks.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Developers needing quick environmental data for applications.

  • Users looking for simple examples of using the OpenWeatherMap n8n node.

  • Beginners learning how to structure a basic API call within an n8n workflow.

  • Anyone searching for easy-to-implement n8n templates for utility tasks.

Overview

This fundamental n8n workflow demonstrates how effortlessly you can integrate external APIs into your automation processes using a dedicated n8n node. By leveraging the OpenWeatherMap n8n node, users can instantly retrieve precise, up-to-date weather data, such as temperature, humidity, and wind speed, for any specified location (defaulting to Berlin, Germany). This specific n8n template is perfect as a foundational building block. It highlights the core power of using an n8n node to perform complex data fetching tasks with minimal setup, providing a reusable piece of automation logic for any n8n installation.

How it Works

The process initiates using the manual 'On clicking execute' n8n trigger, which is ideal for testing and ad-hoc data requests. Once manually triggered, the n8n workflow passes execution control directly to the OpenWeatherMap n8n node. This dedicated n8n node is configured to retrieve weather data. It is currently set to request information for the city 'berlin,de'. Upon successful execution, the n8n node communicates with the OpenWeatherMap API, retrieves the comprehensive weather payload, and outputs the structured JSON data, completing the simple yet effective n8n workflow.

Installation Guide


  1. Import the n8n workflow: Copy the provided JSON code and import it directly into your n8n instance via the 'Workflows' section.

  2. Set up OpenWeatherMap Credentials: Before running the OpenWeatherMap n8n node, you must set up your API credentials. Click on the 'Credentials' field within the OpenWeatherMap node.

  3. Add New Credential: Select 'OpenWeatherMap API' and input your unique API Key.

  4. Configuration: The n8n node is pre-configured for 'berlin,de'. If you wish to track another location, simply update the cityName parameter in the OpenWeatherMap n8n node settings.

  5. Execution: Click the 'Execute Workflow' button to run the n8n workflow and retrieve the current weather data.

Node Details


  • On clicking 'execute' (n8n trigger):

- Function: This serves as the manual n8n trigger point, allowing the user to initiate the weather retrieval process instantly.
- Key Configuration: Standard manual trigger setup.

  • OpenWeatherMap (n8n node):

- Function: This is the primary action n8n node responsible for connecting to the OpenWeatherMap API and fetching real-time weather data.
- Key Configuration:
- City Name: berlin,de (This must be changed to target a different city).
- Credentials: Requires OpenWeatherMap API Key credentials to authenticate the request.

Related n8n Workflows

Free

Nodes: 2 Nodes
Updated: December 26 2025
View all
Created by
tanaypant
tanaypant

Featured*