đź”§ Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram

⚡ 50 views · 🔧 Miscellaneous

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Automated Malaysian Weather Alerts with Perplexity AI, Firecrawl and Telegram

This n8n template automates daily weather monitoring by fetching official government warnings and searching for related news coverage, then delivering comprehensive reports directly to Telegram.

Use cases include monitoring severe weather conditions, tracking flood warnings across Malaysian states, staying updated on weather-related news, and receiving automated daily weather briefings for emergency preparedness.

Good to know

How it works

  1. Schedule Trigger runs daily at 9 AM to fetch weather warnings from Malaysia’s official data.gov.my API.
  2. JavaScript code processes weather data to extract warning types, severity levels, and affected locations.
  3. Search queries are aggregated and combined with location information.
  4. Perplexity Sonar Pro AI Agent searches for recent news articles (within 3 days) from Malaysian news channels.
  5. URLs are cleaned and processed one by one through a loop to manage API limits.
  6. Firecrawl scrapes each news article and extracts summaries from main content.
  7. All summaries and source URLs are combined and sent to OpenAI for final report generation.
  8. The polished weather report is delivered to your Telegram channel in English.

How to use

Requirements

Customizing this workflow

đź”— Nodes Used

HTTP Request, Telegram, Schedule Trigger, AI Agent, OpenAI, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup