Global AI Network
Agent Template v1.0

Severe Weather Alert Telegram Bot

Receive instant Telegram alerts for severe weather conditions with hourly automated monitoring and intelligent threat detection.

85+
Deployments
5m
Setup Time
Free
Pricing

Need custom configuration?

Our solution engineers can help you adapt this agent to your specific infrastructure and requirements.

Enterprise Grade Best Practices Production Optimized

INTEGRATED_MODULES

Telegram
Telegram
Step by Step

Setup Tutorial

mission-briefing.md

What This Agent Does

This Weather Alert Automation Agent monitors weather conditions on a scheduled basis and instantly notifies you via Telegram whenever weather alerts are detected. Instead of manually checking weather forecasts or missing critical weather warnings, this workflow automatically pulls real-time weather data every hour and sends you immediate notifications when dangerous conditions are identified.

Key benefits and time savings:

  • Automated monitoring eliminates the need for manual weather checks throughout your day
  • Real-time alerts ensure you're never caught off-guard by severe weather conditions
  • Instant notifications via Telegram mean you receive warnings wherever you are
  • Saves 5-10 minutes daily of manual weather checking and research
  • Reduces risk by ensuring you're always aware of critical weather events

Target use cases:

  • Outdoor event planners who need to monitor conditions for scheduling decisions
  • Delivery and logistics companies tracking weather impacts on operations
  • Construction site managers ensuring worker safety during severe weather
  • Travel coordinators planning trips and managing weather-related delays
  • Farmers and agricultural businesses monitoring conditions affecting crops
  • Emergency response teams needing real-time severe weather awareness

Who Is It For

This workflow is perfect for anyone who needs to stay informed about weather conditions without constant manual monitoring. Whether you're managing outdoor operations, planning events, or simply want peace of mind knowing you'll be alerted to dangerous weather, this agent works 24/7 on your behalf.

You'll benefit most if you:

  • Spend time outdoors or manage outdoor activities
  • Need to make decisions based on weather conditions
  • Want to receive alerts on your phone instantly
  • Prefer automated solutions over manual checking
  • Operate in regions with variable or severe weather patterns

Required Integrations

Telegram

Why it's needed: Telegram serves as your notification delivery channel, ensuring you receive weather alerts instantly on your mobile device or desktop. Telegram's reliability, speed, and cross-platform availability make it ideal for time-sensitive weather notifications. Unlike email, Telegram messages arrive within seconds and can include rich formatting for clear, readable alerts.

Setup steps:

  1. Create a Telegram Bot

    • Open Telegram and search for @BotFather
    • Send the command /start to begin
    • Send /newbot to create a new bot
    • Follow the prompts to name your bot (e.g., "WeatherAlertBot")
    • BotFather will provide your API Token (save this securely)
  2. Obtain Your Chat ID

    • Search for @userinfobot in Telegram
    • Send /start to receive your User ID (this is your Chat ID)
    • Alternatively, send a message to your new bot and visit: https://api.telegram.org/bot<YOUR_API_TOKEN>/getUpdates to find your Chat ID in the response
  3. Test Your Bot Connection

    • Send a test message to your bot to ensure it's active
    • Verify you can receive messages from the bot
  4. Configuration in TaskAGI

    • Navigate to IntegrationsTelegram
    • Click Add New Integration
    • Paste your API Token in the authentication field
    • Save and test the connection
    • The integration is now ready to use in your workflow

Configuration Steps

Node 1: How It Works (Workflow Note)

This is a documentation node that explains your workflow's purpose. While it doesn't affect execution, it's valuable for future reference.

Configuration:

  • Add a clear description: "Monitors weather conditions hourly and sends Telegram alerts when severe weather is detected"
  • This helps you remember the workflow's purpose when reviewing it later

Node 2: Hourly Trigger (Schedule Interval)

This trigger node determines when your workflow runs. It's the heartbeat of your automation.

Configuration parameters:

  • Interval Type: Select Hours
  • Interval Value: Enter 1 (runs every hour)
  • Start Time: Set to your preferred time (e.g., 06:00 for 6 AM)
  • Timezone: Select your local timezone for accurate scheduling

Example: If you set this to run at 6:00 AM with a 1-hour interval, the workflow executes at 6:00 AM, 7:00 AM, 8:00 AM, and so on throughout the day.


Node 3: Get Weather Data (HTTP Request)

This node fetches real-time weather information from a weather API.

Configuration parameters:

  • Method: Select GET
  • URL: Use a weather API endpoint, for example:
    https://api.openweathermap.org/data/2.5/weather?q=YourCity&appid=YOUR_API_KEY&units=metric
    
  • Headers: Add Content-Type: application/json
  • Authentication: Include your API key (obtain from OpenWeatherMap or similar service)

Important: Replace YourCity with your target location and YOUR_API_KEY with your actual API credentials.

Expected output: A JSON response containing current weather data including temperature, conditions, alerts, and more.


Node 4: Check for Weather Alerts (If Condition)

This decision node evaluates whether weather alerts exist in the data received from Node 3.

Configuration parameters:

  • Condition Type: Select Contains or Equals
  • Field to Check: response.alerts (or the relevant field from your weather API)
  • Comparison Value: true or check if the alerts array is not empty
  • True Path: Routes to Node 5 (Send Alert)
  • False Path: Routes to Node 6 (No Alert - Stop)

Logic explanation: If the weather data contains alerts (severe weather warnings), the workflow proceeds to send you a notification. If no alerts exist, the workflow stops without sending a message.


Node 5: Send Weather Alert (Telegram Message)

This node delivers the alert to your Telegram account when severe weather is detected.

Configuration parameters:

  • Integration: Select your configured Telegram integration
  • Chat ID: Enter your Telegram Chat ID (obtained during Telegram setup)
  • Message Text: Create a clear, actionable message:
    🚨 WEATHER ALERT 🚨
    Location: [City Name]
    Alert: [Alert Type]
    Details: [Alert Description]
    Time: [Current Time]
    
  • Parse Mode: Select HTML or Markdown for formatted text

Example message:

🚨 WEATHER ALERT 🚨
Location: New York
Alert: Severe Thunderstorm Warning
Details: Severe thunderstorms expected with hail and strong winds
Time: 2:00 PM EST

Node 6: No Alert - Stop (No Operation)

This node gracefully ends the workflow when no alerts are detected, preventing unnecessary notifications.

Configuration: No parameters needed. This node simply stops execution without taking further action.


Testing Your Agent

Step 1: Execute a Test Run

  1. Open your workflow in TaskAGI
  2. Click Test Execution or Run Now
  3. Monitor the execution progress in real-time

Step 2: Verify Each Node

  • Node 2 (Trigger): Confirm the trigger activated at the scheduled time
  • Node 3 (Get Weather Data): Check that weather data was successfully retrieved (view the response in the execution log)
  • Node 4 (Check Alerts): Verify the condition evaluated correctly (true or false)
  • Node 5 or 6: Confirm the correct path was taken based on alert status

Step 3: Check Expected Results

Success indicators:

  • ✅ Workflow executes at scheduled intervals without errors
  • ✅ Weather data is retrieved successfully (HTTP 200 response)
  • ✅ When alerts exist: Telegram message arrives within 5 seconds
  • ✅ When no alerts exist: Workflow completes silently without notifications
  • ✅ Execution logs show all nodes completed successfully

Troubleshooting tips:

  • If weather data fails to load, verify your API key and URL are correct
  • If Telegram messages don't arrive, confirm your Chat ID and API Token are accurate
  • If the workflow doesn't trigger, check your timezone and interval settings
  • Review execution logs for specific error messages

Your Weather Alert Automation Agent is now ready to keep you informed 24/7!