Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting

๐ŸŒค๏ธ Daily Weather Forecast Bot

A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap and sends beautifully formatted daily summaries to Telegram.

๐Ÿ“‹ Features

๐Ÿ“Š Daily Overview**: Complete temperature range, rainfall totals, and wind conditions โฐ Hourly Forecast**: Weather predictions at key times (9AM, 12PM, 3PM, 6PM, 9PM) ๐ŸŒก๏ธ Smart Emojis**: Context-aware weather icons and temperature indicators ๐Ÿ’ก Smart Recommendations**: Contextual advice (umbrella alerts, clothing suggestions, sun protection) ๐ŸŒช๏ธ Enhanced Details**: Feels-like temperature, humidity levels, wind speed, UV warnings ๐Ÿ“ฑ Rich Formatting**: HTML-formatted messages with emojis for excellent readability ๐Ÿ• Timezone-Aware**: Proper handling of Luxembourg timezone (CET/CEST)

๐Ÿ› ๏ธ What This Workflow Does

Triggers daily at 7:50 AM to send morning weather updates Fetches 5-day forecast from OpenWeatherMap API with 3-hour intervals Processes and analyzes weather data with smart algorithms Formats comprehensive report with HTML styling and emojis Sends to Telegram with professional formatting and actionable insights

โš™๏ธ Setup Instructions

  1. OpenWeatherMap API Sign up at OpenWeatherMap Get your free API key (1000 calls/day included) Replace API_KEY in the HTTP Request node URL

  2. Telegram Bot Message @BotFather on Telegram Send /newbot command and follow instructions Copy the bot token to n8n credentials Get your chat ID by messaging the bot, then visiting: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates Update the chatId parameter in the Telegram node

  3. Location Configuration Default location: Strassen, Luxembourg To change: modify q=Strassen in the HTTP Request URL Format: q=CityName,CountryCode (e.g., q=Paris,FR)

๐ŸŽฏ Technical Details

API Source**: OpenWeatherMap 5-day forecast Schedule**: Daily at 7:50 AM (configurable) Format**: HTML with rich emoji formatting Error Handling**: 3 retry attempts with 5-second delays Rate Limits**: Uses only 1 API call per day Timezone**: Europe/Luxembourg (handles CET/CEST automatically)

๐Ÿ“Š Weather Data Analyzed

Temperature ranges and "feels like" temperatures Precipitation forecasts and accumulation Wind speed and conditions Humidity levels and comfort indicators Cloud coverage and visibility UV index recommendations Time-specific weather patterns

๐Ÿ’ก Smart Features

Conditional Recommendations**: Only shows relevant advice Night/Day Awareness**: Different emojis for time of day Temperature Context**: Color-coded temperature indicators Weather Severity**: Appropriate icons for weather intensity Humidity Comfort**: Comfort level indicators Wind Analysis**: Descriptive wind condition text

๐Ÿ”ง Customization Options

Schedule**: Modify trigger time in the Schedule node Location**: Change city in HTTP Request URL Forecast Hours**: Adjust desiredHours array in the code Temperature Thresholds**: Modify emoji temperature ranges Recommendation Logic**: Customize advice triggers

๐Ÿ“ฑ Sample Output ๐ŸŒค๏ธ Weather Forecast for Strassen, LU ๐Ÿ“… Monday, 2 June 2025 ๐Ÿ“Š Daily Overview ๐ŸŒก๏ธ Range: 12ยฐC - 22ยฐC ๐Ÿ’ง Comfortable (65%) โฐ Hourly Forecast ๐Ÿ•’ 09:00 โ˜€๏ธ 15ยฐC ๐Ÿ•’ 12:00 ๐ŸŒค๏ธ 20ยฐC ๐Ÿ•’ 15:00 โ˜€๏ธ 22ยฐC (feels 24ยฐC) ๐Ÿ•’ 18:00 โ›… 19ยฐC ๐Ÿ•’ 21:00 ๐ŸŒ™ 16ยฐC ๐Ÿ“ก Data from OpenWeatherMap | Updated: 07:50 CET

๐Ÿš€ Getting Started

Import this workflow to your n8n instance Add your OpenWeatherMap API key Set up Telegram bot credentials Test manually first Activate for daily automated runs

๐Ÿ“‹ Requirements

n8n instance (cloud or self-hosted) Free OpenWeatherMap API account Telegram bot token Basic understanding of n8n workflows

Perfect for: Daily weather updates, team notifications, personal weather tracking, smart home automation triggers.

1
Downloads
664
Views
9.14
Quality Score
beginner
Complexity
Author:Aurรฉlien P.(View Original โ†’)
Created:8/13/2025
Updated:9/23/2025

๐Ÿ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments