Skip to main content

Daily weather reports with OpenWeatherMap and Telegram Bot

Workflow preview

Workflow preview
100%
Daily weather reports with OpenWeatherMap and Telegram Bot preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Get automated weather updates delivered directly to your Telegram chat at scheduled intervals. This workflow fetches current weather data from OpenWeatherMap and sends formatted weather reports via...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.cron, n8n-nodes-base.openweathermap, n8n-nodes-base.function, n8n-nodes-base.telegram

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Daily weather reports with OpenWeatherMap and Telegram Bot
Workflow name
Daily weather reports with OpenWeatherMap and Telegram Bot

Get automated weather updates delivered directly to your Telegram chat at scheduled intervals. This workflow fetches current weather data from OpenWeatherMap and sends formatted weather reports via a Telegram bot.

Use Cases

  • Daily morning weather briefings
  • Regular weather monitoring for outdoor activities
  • Automated weather alerts for specific locations
  • Personal weather assistant for travel planning

Prerequisites

Before setting up this workflow, ensure you have:

  • An OpenWeatherMap API account (free tier available)
  • A Telegram bot token
  • Your Telegram chat ID
  • n8n instance (cloud or self-hosted)

Setup Instructions

Step 1: Create OpenWeatherMap Account

  1. Go to OpenWeatherMap and sign up for a free account
  2. Navigate to the API keys section in your account
  3. Copy your API key (you'll need this for the workflow configuration)

Step 2: Create Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Start a chat and use the /newbot command
  3. Follow the prompts to create your bot and get the bot token
  4. Save the bot token securely

Step 3: Get Your Telegram Chat ID

  1. Start a conversation with your newly created bot
  2. Send any message to the bot
  3. Visit https://api.telegram.org/bot<YourBOTToken>/getUpdates in your browser
  4. Look for your chat ID in the response (it will be a number like 123456789)

Step 4: Configure the Workflow

  1. Import this workflow into your n8n instance
  2. Configure each node with your credentials:
Schedule Trigger Node
  • Set your preferred schedule (default: daily at 8:00 AM)
  • Use cron expression format (e.g., 0 8 * * * for 8 AM daily)
Get Weather Node
  • Add your OpenWeatherMap credentials
  • Update the cityName parameter to your desired location
  • Format: "CityName,CountryCode" (e.g., "London,UK")
Send a text message Node
  • Add your Telegram bot credentials (bot token)
  • Replace XXXXXXX in the chatId field with your actual chat ID

Customization Options

Location Settings

In the "Get Weather" node, modify the cityName parameter to change the location. You can specify:

  • City name only: "Paris"
  • City with country: "Paris,FR"
  • City with state and country: "Miami,FL,US"

Schedule Frequency

In the "Schedule Trigger" node, adjust the cron expression:

  • Every 6 hours: 0 */6 * * *
  • Twice daily (8 AM & 6 PM): 0 8,18 * * *
  • Weekly on Mondays at 9 AM: 0 9 * * 1

Message Format

In the "Format Weather" node, you can customize the message template by modifying the message variable in the function code. Current format includes:

  • Current temperature with "feels like" temperature
  • Min/max temperatures for the day
  • Weather description and precipitation
  • Wind speed and direction
  • Cloud coverage percentage
  • Sunrise and sunset times

Language Support

In the "Get Weather" node, change the language parameter to get weather descriptions in different languages:

  • English: "en"
  • Spanish: "es"
  • French: "fr"
  • German: "de"
  • Polish: "pl"

Troubleshooting

Common Issues

Weather data not updating:

  • Verify your OpenWeatherMap API key is valid and active
  • Check if you've exceeded your API rate limits
  • Ensure the city name format is correct

Messages not being sent:

  • Confirm your Telegram bot token is correct
  • Verify the chat ID is accurate (should be a number, not username)
  • Make sure you've started a conversation with your bot

Workflow not triggering:

  • Check if the workflow is activated (toggle switch should be ON)
  • Verify the cron expression syntax is correct
  • Ensure your n8n instance is running continuously

Testing the Workflow

  1. Use the "Test workflow" button to run manually
  2. Check each node's output for errors
  3. Verify the final message format in Telegram

Node Descriptions

Schedule Trigger

Automatically starts the workflow based on a cron schedule. Runs at specified intervals to fetch fresh weather data.

Get Weather

Connects to OpenWeatherMap API to retrieve current weather conditions for the specified location.

Format Weather

Processes the raw weather data and creates a user-friendly message with emojis and organized information.

Send a text message

Delivers the formatted weather report to your Telegram chat using the configured bot.

Additional Features

You can extend this workflow by:

  • Adding weather alerts for specific conditions (temperature thresholds, rain warnings)
  • Including weather forecasts for multiple days
  • Sending reports to multiple chat recipients
  • Adding location-based emoji selection
  • Integrating with other notification channels (email, Slack, Discord)

Security Notes

  • Keep your API keys and bot tokens secure
  • Don't share your chat ID publicly
  • Consider using n8n's credential system for storing sensitive information
  • Regularly rotate your API keys for better security

Special thanks to Arkadiusz, the only person who supports me in n8n mission to make automation great again.

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 - Workflow Overview

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

Block 2 - Schedule Trigger

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

Block 3 - Schedule Setup

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

Block 4 - Get Weather

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

Block 5 - Weather API

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

Block 6 - Format Weather

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

Block 7 - Message Formatting

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

Block 8 - Send a text message

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

Block 9 - Telegram Delivery

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

Block 10 - Quick Start Guide

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

3. Summary Table

Workflow Daily weather reports with OpenWeatherMap and Telegram Bot
Complexity intermediate
Nodes 10
Categories Personal Productivity
Author Dariusz Koryto
Published 02 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8162/8162.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 Daily weather reports with OpenWeatherMap and Telegram Bot do?

Get automated weather updates delivered directly to your Telegram chat at scheduled intervals. This workflow fetches current weather data from OpenWeatherMap and sends formatted weather reports via...

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.