Back to Catalog

Send daily weather forecasts from OpenWeatherMap to Telegram with smart formatting

AurΓ©lien P.AurΓ©lien P.
2097 views
2/3/2026
Official Page

🌀️ 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

  1. Triggers daily at 7:50 AM to send morning weather updates
  2. Fetches 5-day forecast from OpenWeatherMap API with 3-hour intervals
  3. Processes and analyzes weather data with smart algorithms
  4. Formats comprehensive report with HTML styling and emojis
  5. 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

  1. Import this workflow to your n8n instance
  2. Add your OpenWeatherMap API key
  3. Set up Telegram bot credentials
  4. Test manually first
  5. 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.

Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting

This n8n workflow automates the process of fetching daily weather forecasts from OpenWeatherMap and sending them as a well-formatted message to a Telegram chat. It's designed to provide a convenient, scheduled weather update without manual intervention.

What it does

  1. Triggers Daily: The workflow is scheduled to run once every day at a specific time (e.g., 8:00 AM).
  2. Fetches Weather Data: It makes an HTTP request to the OpenWeatherMap API to retrieve the current weather and forecast for a specified location.
  3. Formats Weather Information: A Code node processes the raw API response, extracting key weather details like temperature, description, and city, and formats them into a human-readable message.
  4. Sends Telegram Message: The formatted weather forecast is then sent as a message to a designated Telegram chat.

Prerequisites/Requirements

  • n8n Instance: A running instance of n8n.
  • OpenWeatherMap API Key: An API key from OpenWeatherMap to access their weather data. You can get one by signing up on their website.
  • Telegram Bot Token: A Telegram Bot token. You can create a new bot by talking to @BotFather on Telegram.
  • Telegram Chat ID: The ID of the Telegram chat where you want to receive the weather updates. You can get this by forwarding a message from the target chat to @getidsbot.

Setup/Usage

  1. Import the Workflow:
    • Copy the provided JSON code.
    • In your n8n instance, click "New" to create a new workflow.
    • Go to "File" > "Import from JSON" and paste the copied JSON.
  2. Configure Credentials:
    • HTTP Request (OpenWeatherMap):
      • Edit the "HTTP Request" node.
      • Update the URL parameter to include your OpenWeatherMap API Key and the desired city.
        • Example URL: https://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_OPENWEATHERMAP_API_KEY&units=metric
        • Replace London with your desired city and YOUR_OPENWEATHERMAP_API_KEY with your actual key.
    • Telegram:
      • Edit the "Telegram" node.
      • Click "Create New Credential" or select an existing one.
      • Enter your Telegram Bot Token.
      • In the "Chat ID" field, enter the Telegram Chat ID where you want the messages to be sent.
  3. Configure Schedule:
    • Edit the "Schedule Trigger" node.
    • Set the "Mode" to "Every Day" and choose your preferred "Time" for the forecast to be sent (e.g., 08:00 for 8:00 AM).
  4. Activate the Workflow:
    • Save the workflow.
    • Toggle the workflow to "Active" in the top right corner of the n8n editor.

The workflow will now automatically fetch and send daily weather forecasts to your Telegram chat at the specified time.

Related Templates

Seo blog content automation with GPT-4o-mini and human approval in Google Docs

Overview This n8n workflow automates the entire content creation process for SEO blog posts, from topic submission and AI drafting to human approval, revision, and final storage in Google Docs. It ensures high-quality, SEO-optimized content is generated efficiently while keeping a human in the loop for quality control. Prerequisites To use this workflow, you need the following accounts and credentials: Google Sheets Account: To manage the content tracker. The sheet must contain columns for Topic, Reference URL, Title, Status, and Link to document. OpenAI API Key (for GPT-4o-mini): To power the initial content drafting and subsequent revisions. Gmail Account: To send the content for human approval and wait for feedback. Google Docs Account: To create and store the final approved blog posts. How It Works The workflow operates in four main stages: Topic Submission, AI Content Creation, Human Approval & Revision Loop, and Final Publishing. Stage 1: Topic Submission and Tracking This stage captures a new blog topic and adds it to the content tracker. On form submission (Form Trigger): The workflow is initiated when a user submits a Topic and an optional Reference link through the form. Append row in sheet (Google Sheets): The new topic and reference link are added as a new row in your content tracker sheet. Get Topic from Google Sheets: The workflow fetches the newly added row, including the system-generated row_number for tracking updates. Stage 2: AI Content Creation (Initial Draft) The workflow uses an expert AI agent to generate the first draft of the blog post. Copywriter AI Agent: Acting as an expert SEO content strategist, the agent receives the topic and reference URL. The agent improves the provided topic into an SEO-optimized title. It writes a complete, conversational, SEO-friendly blog post (800–1200 words) using proper Markdown headings and lists. OpenAI Chat Model (GPT-4o-mini): Powers the agent's generation. Structured Output Parser: Ensures the output is in a JSON format with separate title and content keys. Set Data: The AI-generated title and content are mapped to workflow variables (Topic Title, Content) for easy use in subsequent nodes. Stage 3: Human Approval and Revision Loop This is the critical quality control step where a human reviews the draft and decides on the next action. Send Content for Approval (Gmail): The generated title and content are sent via email to the approver (&lt;your email&gt;). This uses a custom form that allows the user to choose Yes (Approve), No (Request Revision), or Cancel. The form also includes a Content Feedback textarea. Approval Result (Switch): The workflow pauses until the approver submits the form, and then directs the flow based on their choice. If "Yes" (Approved): Proceeds to the final publishing stage. The Update Topic Status on Google Sheets node is executed, setting the Status to Approved and logging the new Title. If "No" (Revision Requested): Proceeds to the revision loop. Copywriter Revision Agent: This agent takes the original content, the topic title, and the user's Content Feedback. It is instructed to incorporate the feedback, preserving the existing structure and tone, and outputs a revised blog post. The flow loops back through the Set Data node and then returns to the Send Content for Approval node for a new review. If "Cancel": Stops the workflow, and the Update Topic Status on Google Sheets node is executed. Stage 4: Final Publishing Once approved, the content is stored in Google Docs and the tracker is updated. Create Blog file (Google Docs): A new Google Doc is created using the approved Topic Title. Add blog content in file (Google Docs): The final Content (in Markdown format) is inserted into the newly created document. Update sheet with blog post link (Google Sheets): The final tracker update logs the Link to document and the Published date. Customization Tip Recommend using AI humanazier and AI detector tools before approval to make the SEO score better.

Priyanka RanaBy Priyanka Rana
528

Automated YouTube publishing from Drive with GPT & Gemini metadata generation

How it works This workflow turns a Google Drive folder into a fully automated YouTube publishing pipeline. Whenever a new video file is added to the folder, the workflow generates all YouTube metadata using AI, uploads the video to your YouTube channel, deletes the original file from Drive, sends a Telegram confirmation, and can optionally post to Instagram and Facebook using permanent system tokens. High-level flow: Detects new video uploads in a specific Google Drive folder. Downloads the file and uses AI to generate: β€’ a polished first-person YouTube description β€’ an SEO-optimized YouTube title β€’ high-ranking YouTube tags Uploads the video to YouTube with the generated metadata. Deletes the original Drive file after upload. Sends a Telegram notification with video details. (Optional) Posts to Instagram & Facebook using permanent system user tokens. Set up steps Setup usually takes a few minutes. Add Google Drive OAuth2 credentials for the trigger and download/delete nodes. Add your OpenAI (or Gemini) API credentials for title/description/tag generation. Add YouTube OAuth2 credentials in the YouTube Upload node. Add Facebook/Instagram Graph API credentials if enabling cross-posting. Replace placeholder IDs (Drive folder ID, Page ID, IG media endpoint). Review sticky notes in the workflowβ€”they contain setup guidance and token info. Activate the Google Drive trigger to start automated uploads.

Ai x NoumanBy Ai x Nouman
468

Generate SEO content briefs with GPT-4o, DataForSEO keyword research & SERP analysis

πŸ“Š Description Generate high-quality, SEO-optimized content briefs automatically using AI, real-time keyword research, SERP intelligence, and historical content context. This workflow standardizes user inputs, fetches search metrics, analyzes competitors, and produces structured SEO briefs with quality scoring and version control. It also stores all versions in Google Sheets and generates HTML previews for easy review and publishing. πŸ€–πŸ“„πŸ“ˆ What This Template Does Normalizes user input from the chat trigger into structured fields (intent, topic, parameters). ✏️ Fetches real-time keyword metrics such as search volume, CPC, and difficulty from DataForSEO. πŸ” Retrieves SERP insights through SerpAPI for top competitors, headings, and content gaps. 🌐 Loads historical brief versions from Google Sheets for continuity and versioning. πŸ“š Uses an advanced GPT-4o-mini agent to generate a complete SEO brief with title, metadata, keywords, outline, entities, and internal links. πŸ€– Calculates detailed SEO, differentiation, and completeness quality scores. πŸ“Š Validates briefs against quality thresholds (outline length, keywords, word count, overall score). ⚑ Stores approved briefs in Google Sheets with version control and timestamping. πŸ—‚οΈ Generates an HTML preview with styled formatting for team review or CMS use. πŸ–₯️ Sends Slack alerts when a brief does not meet quality standards. 🚨 Key Benefits βœ… Fully automated SEO content brief generation βœ… Uses real-time keyword + SERP + competitor intelligence βœ… Ensures quality through automated scoring and validation βœ… Built-in version control for content operations teams βœ… Beautiful HTML preview ready for editors or clients βœ… Reduces research time from hours to minutes βœ… Ideal for content agencies, SEO teams, and AI-powered workflows Features Chat-triggered brief generation Real-time DataForSEO keyword metrics SERP analysis tool integration GPT-4o-mini structured AI agent Google Sheets integration for storing & retrieving versions Automated quality scoring (SEO, gaps, completeness) HTML preview builder with rich formatting Slack alerting for low-quality briefs Semantic entities, content gaps, competitor insights Requirements OpenAI API (GPT-4o-mini or compatible model) DataForSEO access credentials (Basic Auth) SerpAPI key for SERP extraction Google Sheets OAuth2 integration Optional: Slack webhook for quality alerts Target Audience SEO teams generating large amounts of content briefs Content agencies scaling production with automation Marketing teams building data-driven content strategies SaaS teams wanting automated keyword-based briefs Anyone needing structured, high-quality content briefs from chat Step-by-Step Setup Instructions Connect your OpenAI API credential and confirm GPT-4o-mini availability. πŸ”Œ Add DataForSEO HTTP Basic Auth for keyword metrics. πŸ“Š Connect SerpAPI for SERP analysis tools. 🌐 Add Google Sheets OAuth2 and link your content_versions sheet. πŸ“„ Optional: Add a Slack webhook URL for quality alerts. πŸ”” Test by sending a topic via the chat trigger. Review the generated SEO brief and HTML preview. Enable the workflow for continued use in your content pipeline. πŸš€

Rahul JoshiBy Rahul Joshi
378