(Use case) Push the weather every morning (⭐)

Date of creation
Name
(Use case) Push the weather every morning (⭐)
Created by
  • data_popcorn

Download Workflow

1. Workflow Overview

This n8n workflow is an automated system that automatically collects weather forecasts for the Seoul area and sends notifications to users every morning at 7 am via Pushbullet and Discord .

Key Features:

Get current weather and 5-day forecast data using the OpenWeatherMap API .
Send mobile and desktop push notifications with Pushbullet .
Automatically post messages to Discord channels via Discord Webhooks .
It runs automatically every morning at 7am .
✅ This workflow allows you to automatically receive weather information every morning without having to check the weather separately.

2. Pre-work

To run this workflow, you will need the following preparations:
OpenWeatherMap API Key Issuance
You will need to obtain an API key from OpenWeatherMap.
Pushbullet OAuth2 Authentication
A Pushbullet account is required, and OAuth2 authentication is required for API integration.
Discord Webhook Setup
You will need to generate a Webhook URL in the Discord channel where you want to receive weather alerts.
Mobile, Chrome push notification settings
To use Pushbullet, you need to install the mobile app or Chrome extension.

3. Main functions and roles

📌 Node List and Roles

1.
Sent every morning at 7am (Schedule Trigger)
It runs automatically every morning at 7am.
2.
Current Weather (OpenWeatherMap)
Get current weather information for Seoul via the OpenWeatherMap API.
3.
Weather Forecast (OpenWeatherMap)
Get 5-day weather forecast data.
4.
Pushbullet (send push notifications)
Send current weather information as push notifications to mobile and Chrome via Pushbullet.
5.
Send current weather (Discord Webhook)
Automatically posts current weather information to your Discord channel.
6.
Send weather forecast (Discord Webhook)
We'll compile a 5-day weather forecast into a table format and post it on Discord.
7.
HTTP Request (API call)
Make a data request by calling the OpenWeatherMap API.
8.
API_KEY (environment variable setting)
Set the OpenWeatherMap API Key required when calling the API.

4. How it works (step by step explanation)

1️⃣ Run trigger at 7am every morning
The "Send every morning at 7am" node runs.
2️⃣ Collect data from OpenWeatherMap API
The "Current Weather" node calls the OpenWeatherMap API to get the current weather data for Seoul.
The "Weather Forecast" node fetches 5 days of forecast data.
3️⃣ Send weather notifications with Pushbullet
Send current weather information as push notifications via Pushbullet.
4️⃣ Post weather information on Discord
The "Send Current Weather" node automatically posts current weather data to a Discord channel.
The "Send Weather Forecast" node posts a 5-day weather forecast in a table format to Discord.

5. Expected Results and Output

Pushbullet push notification example
⏰ 2025년 2월 24일, 07:00 기준 현재 서울은 "맑음" 입니다. 현재 기온은 3'C (체감 온도 1'C) 🌅일출시각 : 06:45 🌇일몰시각 : 18:10
Discord message example
⏰ 2025년 2월 24일, 07:00 기준 현재 서울은 "맑음" 입니다. 현재 기온은 3'C (체감 온도 1'C) 🌅일출시각 : 06:45 🌇일몰시각 : 18:10
Example of a 5-day forecast to be posted on Discord
| 날짜 및 시간 | 날씨 상태 | 기온 ('C) | | 2025-02-24 T | 맑음 | 3 | | 2025-02-25 T | 흐림 | 5 | | 2025-02-26 T | 비 | 6 | | 2025-02-27 T | 맑음 | 4 | | 2025-02-28 T | 눈 | 2 |

🚀 Summary

This workflow is an automated system that uses the OpenWeatherMap API to automatically send Seoul's current weather and 5-day forecast to Pushbullet and Discord every morning at 7 AM .
It runs every morning at 7am .
Push notifications are sent via Pushbullet .
Weather information is posted to the channel via Discord Webhooks .
😃 Now you can automatically receive accurate weather information every morning without having to run a separate app !