LIVEAI Bootcamps · May 2026 · 🇫🇷 CET
Home/Resources/Integrations/Openweathermap
Resources · Integrations · n8n FREE · 2026Official OpenWeatherMap logo featuring a cloud, sun, and rain icon

OPENWEATHERMAP n8n INTEGRATION: AUTOMATE OPENWEATHERMAP WITH N8N

OPENWEATHERMAP N8N INTEGRATION: AUTOMATE OPENWEATHERMAP WITH N8N

Need help

Need help automating Openweathermap with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Why automate

Why automate Openweathermap with n8n?

The OpenWeatherMap n8n integration gives you access to 2 actions that transform how you handle weather data in your automations. Instead of manually checking forecasts or writing complex API calls, you can seamlessly pull weather information into any workflow and let n8n handle the rest.

The benefits are substantial. Save time by eliminating the need to manually query weather APIs or copy-paste data between applications. Improve accuracy by ensuring your workflows always use the latest meteorological data, updated in real-time. Enable smart automation by using weather conditions as decision points—trigger different workflow branches based on temperature thresholds, precipitation alerts, or forecast changes. Seamless integration means you can connect OpenWeatherMap to over 400 other applications in n8n, combining weather data with CRMs, messaging platforms, databases, and more.

Concrete workflow examples include: automatically sending Slack or Discord alerts when temperatures drop below freezing for outdoor events, populating Airtable databases with daily weather logs for agricultural tracking, triggering email campaigns based on sunny weather forecasts in specific regions, or adjusting inventory orders based on predicted weather patterns. The possibilities expand dramatically when weather becomes a dynamic variable in your automation logic.

Credentials

How to connect Openweathermap to n8n?

  1. !
    1 step

    How to connect Openweathermap to n8n?

    1. 01

      Add the node

      Search and add the node in your workflow.

    Openweathermap credentials
    TIP
    💡 TIP: OpenWeatherMap's free tier allows up to 1,000 API calls per day, which is plenty for most automation use cases. However, if you're building workflows that poll weather data frequently, consider implementing a caching strategy or using scheduled triggers rather than real-time polling to stay within limits. For more complex scenarios, explore our n8n troubleshooting guide.
Need help

Need help automating Openweathermap with n8n?

Our team will get back to you in minutes.

Reply within 1 business hour
Actions

Openweathermap actions available in n8n

  1. 01
    Action 01

    5 Day Forecast

    This action retrieves a comprehensive 5-day weather forecast from the OpenWeatherMap API, providing detailed predictions that enable forward-looking automation. It's particularly valuable when your workflows need to anticipate weather changes rather than just react to current conditions.

    Key parameters:

    • Credential to connect with: A required dropdown to select your pre-configured OpenWeatherMap account credentials. This authenticates your API requests.
    • Operation: A required dropdown that defines the API call type—set to "5 Day Forecast" to retrieve extended predictions.
    • Format: A required dropdown specifying the unit system for temperature and measurements. Options include Metric (Celsius, meters/sec) or Imperial (Fahrenheit, miles/hour).
    • Location Selection: A required dropdown determining how to specify the target location. You can choose "City Name" for direct input or use expressions for dynamic values.
    • City: When "City Name" is selected, this required text field accepts the city name and optional country code (e.g., "london,uk" or "berlin,de") for precise location targeting.
    • Language: An optional text field accepting two-letter language codes (e.g., "en", "fr", "es") to set the language for weather descriptions in the response.

    Use cases: Planning automated logistics by routing deliveries around predicted storms, scheduling outdoor marketing campaigns for days with favorable weather, triggering inventory adjustments in retail based on upcoming temperature changes, or sending weekly weather summary emails to event planners.

    5 Day Forecast
  2. 02
    Action 02

    Current Weather

    This action fetches real-time weather conditions for any specified location worldwide. It returns comprehensive data including temperature, humidity, wind speed, atmospheric pressure, and weather descriptions—everything you need for instant weather-aware automation.

    Key parameters:

    • Credential to connect with: A required dropdown for selecting your authenticated OpenWeatherMap account credentials.
    • Operation: A required dropdown set to "Current Weather" to retrieve live meteorological data.
    • Format: A required dropdown to choose between Metric or Imperial unit systems for the returned data.
    • Location Selection: A required dropdown that determines the location input method. Selecting "City Name" allows direct text input; "Expression" mode enables dynamic location values from previous nodes.
    • City: A required text field (when City Name is selected) where you enter the target location. Format as "city,country_code" for accuracy (e.g., "paris,fr" ensures Paris, France rather than Paris, Texas).
    • Language: An optional text field for setting the output language using standard two-letter codes.

    Use cases: Triggering smart home adjustments via Home Assistant when outdoor temperature crosses thresholds, automatically posting current weather updates to team channels each morning, conditioning workflow branches based on precipitation or wind levels, or populating dashboards with live weather data alongside business metrics.

    Current Weather
You've seen the integration

Build your first workflow with our team

Drop your email and we'll send you the catalog of automations you can ship today.

  • Free n8n & Make scenarios to import
  • Step-by-step setup docs
  • Live cohort + community support

Frequently asked questions

  • Is the OpenWeatherMap n8n integration free to use?
    Yes, the integration itself is completely free within n8n. However, you'll need an OpenWeatherMap API key, which they offer through both free and paid tiers. The free tier provides 1,000 API calls per day, access to current weather and 5-day forecasts, and is sufficient for most personal and small business automation needs. If your workflows require higher call volumes, historical data, or minute-by-minute updates, OpenWeatherMap offers paid plans starting at around $40/month. For typical automation scenarios like daily weather checks or event-triggered queries, the free tier works perfectly.
  • What weather data can I retrieve with the OpenWeatherMap n8n integration?
    The integration provides access to comprehensive meteorological data through its two actions. With both Current Weather and 5 Day Forecast, you can retrieve: temperature (actual, feels-like, min, max), humidity percentage, atmospheric pressure, wind speed and direction, cloud coverage, visibility, weather condition descriptions (clear, cloudy, rain, snow, etc.), and timestamps. The 5 Day Forecast returns data in 3-hour intervals, giving you 40 data points across the five days. You can also specify units (Metric or Imperial) and output language. This data can then be used in n8n to make workflow decisions, populate databases like Google Sheets, or trigger conditional actions.
  • How do I use dynamic city names in my OpenWeatherMap n8n workflow?
    Instead of hardcoding a city name, you can pull location data dynamically from previous nodes in your workflow. In the Location Selection dropdown, toggle to "Expression" mode instead of "Fixed." Then use n8n's expression syntax to reference a city value from another node—for example, {{ $json.city }} if a previous node provides a city field. This enables powerful workflows like: fetching weather for cities stored in a Google Sheet, querying conditions for locations submitted via a form, or iterating through a list of cities to compile regional weather reports. For more advanced automation techniques, check out our guide on building AI agents with n8n. The expression mode transforms static weather queries into dynamic, data-driven automations.
Hack'celeration Lab

Get our weekly integration tips.

No spam. Unsubscribe anytime.