Skip to main content

Send daily weather reports to email with OpenWeatherMap and Gmail

Workflow preview

Workflow preview
100%
Send daily weather reports to email with OpenWeatherMap and Gmail 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 workflow automates the process of sending a daily weather report for a specified city directly to your email inbox. It's a simple yet effective way to stay informed about the weather witho...

Best for

  • Personal Productivity automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.cron, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.gmail, 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 David Olusola.

Original n8n.io source

1.1 Workflow description

Title
Send daily weather reports to email with OpenWeatherMap and Gmail
Workflow name
Send daily weather reports to email with OpenWeatherMap and Gmail

Overview

This n8n workflow automates the process of sending a daily weather report for a specified city directly to your email inbox. It's a simple yet effective way to stay informed about the weather without manually checking.

How It Works

This workflow operates in four main steps:

Daily Schedule Trigger:

The workflow begins with a Cron node, which acts as a scheduler.

It's configured to trigger the workflow automatically at a specific time each day (e.g., every morning at 8:00 AM).

Fetch Weather Data:

Next, an HTTP Request node is used to interact with the OpenWeatherMap API.

This node constructs a URL to query the API for current weather conditions in a specified city (e.g., "London").

It includes parameters like units=metric (for Celsius temperatures) and your unique appid (API key) for authentication with OpenWeatherMap.

Format Weather Report:

A Code node receives the raw JSON weather data from the OpenWeatherMap API.

Inside this node, JavaScript code extracts relevant information such as city name, weather description, temperature (current and "feels like"), humidity, and wind speed.

It then formats this information into a human-readable text string, creating the actual weather report message.

Send Email Report:

Finally, a Gmail node takes the formatted weather report from the Code node.

It uses your configured Gmail credentials to send an email to your specified recipient address.

The email's subject line dynamically includes the city name, and the body contains the full formatted weather report.

Setup Steps

To get this workflow up and running, follow these instructions:

Step 1: Get Your OpenWeatherMap API Key

Go to the OpenWeatherMap website.

Sign up for a free account if you don't already have one.

Once logged in, navigate to the "API keys" section of your profile.

Copy your unique API key. You will need this in Step 4.

Step 2: Create Gmail Credentials in n8n

In your n8n instance, click on Credentials in the left sidebar.

Click New Credential.

Search for and select "Gmail OAuth2 API" or "Gmail API" (OAuth2 is generally preferred).

Follow the on-screen instructions to connect your Gmail account. This usually involves clicking an "Authenticate with Google" button and granting n8n the necessary permissions. Save the credential.

Make note of the Credential Name (e.g., "My Gmail Account").

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 - Daily Schedule (8 AM)

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

Block 2 - Fetch Weather Data

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

Block 3 - Format Weather Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Send Email Report

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 5 - Sticky Note

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

Block 6 - Sticky Note1

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

3. Summary Table

Workflow Send daily weather reports to email with OpenWeatherMap and Gmail
Complexity intermediate
Nodes 6
Categories Personal Productivity
Author David Olusola
Published 26 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6465/6465.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 Send daily weather reports to email with OpenWeatherMap and Gmail do?

This n8n workflow automates the process of sending a daily weather report for a specified city directly to your email inbox. It's a simple yet effective way to stay informed about the weather witho...

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 Personal Productivity use case.