Skip to main content

Track hourly weather conditions with OpenWeatherMap and Google Sheets

Workflow preview

Workflow preview
100%
Track hourly weather conditions with OpenWeatherMap and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n template allows you to monitor hourly weather conditions in a specific city using OpenWeatherMap and log the results to a Google Sheet. It’s perfect for anyone needing periodic weather tra...

Best for

  • Engineering automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ist00dent.

Original n8n.io source

1.1 Workflow description

Title
Track hourly weather conditions with OpenWeatherMap and Google Sheets
Workflow name
Track hourly weather conditions with OpenWeatherMap and Google Sheets

This n8n template allows you to monitor hourly weather conditions in a specific city using OpenWeatherMap and log the results to a Google Sheet. It’s perfect for anyone needing periodic weather tracking—whether you're managing logistics, travel planning, or environmental monitoring.


🔧 How it works

  • A Schedule Trigger activates the workflow every hour.

  • The Get Weather Data from OpenWeatherMap node fetches real-time weather details using the city name you specify.

  • An IF node checks if the weather description contains "rain" or the temperature is below a set threshold.

  • If the condition is true, the data is formatted with city, temperature, humidity, and conditions.

  • The Google Sheets node appends this formatted information to your designated sheet.


👤 Who is it for?

This workflow is ideal for:

  • Operations teams monitoring weather-sensitive logistics

  • Researchers collecting climate data

  • Developers and hobbyists learning how to connect APIs with Google Sheets


🗂️ Google Sheet Structure

Your Google Sheet should have the following columns:

  • city (string)

  • temperature (K) (number)

  • humidity (number)

  • conditions (string)

  • status (string)


⚙️ Setup Instructions

  • Create a Google Sheet with the above columns.

  • Set up your Google Service Account credentials in n8n.

  • Replace the API key in the HTTP Request node with your own OpenWeatherMap credential.

  • Specify your target city and ensure your OpenWeatherMap account is active.

  • Adjust the frequency in the Schedule Trigger as needed (default: every hour).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Get Weather Data from OpenWeatherMap

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - If is raining

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Format the data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Track hourly weather conditions with OpenWeatherMap and Google Sheets
Complexity intermediate
Nodes 6
Categories Engineering
Author ist00dent
Published 15 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4066/4066.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track hourly weather conditions with OpenWeatherMap and Google Sheets do?

This n8n template allows you to monitor hourly weather conditions in a specific city using OpenWeatherMap and log the results to a Google Sheet. It’s perfect for anyone needing periodic weather tra...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.