⚡ Daily weather reports with OpenWeather API, Google Sheets, and Gmail

415 views · ⚡ Personal Productivity

Description

Daily Weather Reports with OpenWeather API, Google Sheets, and Gmail

This workflow fetches real-time weather data from the OpenWeather API, stores it in a Google Sheet, formats it into a beautifully styled HTML report and emails it to recipients automatically every day at 10:00 AM. It helps teams track and monitor daily weather trends and optionally correlate them with energy production or field operations.

Who’s it for?

How it works?

How to set up?

  1. Create/Open your n8n instance (Cloud or Self-hosted).
  2. Connect the following credentials:
    • Google Sheets (OAuth2)
    • Gmail (OAuth2)
  3. Set your OpenWeather API key in the HTTP Request node (api.openweathermap.org).
  4. Replace latitude/longitude in the request URL as per your location.
  5. Link a Google Sheet and define the correct tab name and headers.
  6. Configure recipient email(s) in the Gmail node.
  7. Deploy the workflow and test.

Requirements

Country
Location Latitude
Location Longitude
Temperature (°C)
Feels Like (°C)
Min Temp (°C)
Max Temp (°C)
Humidity (%)
Pressure (hPa)
Sea Level (hPa)
Ground Level (hPa)
Visibility (m)
Wind Speed (m/s)
Wind Direction (°)
Wind Gust (m/s)
Cloudiness (%)
Sunrise (UTC)
Sunset (UTC)
Date Time (UTC)

How to customize?

Add‑ons

Use Case Examples

Common Troubleshooting

IssuePossible CauseSolution
Email not sentGmail credentials not connected properlyReconnect Gmail account via n8n credential manager
Weather data is missing fieldsAPI response changed or API key invalidVerify OpenWeather API key and URL format
Google Sheet not updatingIncorrect spreadsheet ID or tab nameDouble-check spreadsheet ID and sheet name in node
HTML email renders incorrectlyBroken or missing tags in HTMLTest output HTML separately in browser/email preview tool

Need Help?

If you need assistance setting up or customizing this workflow, feel free reach out. We’re here to help!

🔗 Nodes Used

Google Sheets, HTTP Request, Gmail, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup