Skip to main content

Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram

Workflow preview

Workflow preview
100%
Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram preview
Open on n8n.io

Important notice

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

1. Workflow Overview

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...

Best for

  • Miscellaneous automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.noop, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram
Workflow name
Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram

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

  • Firecrawl free tier allows limited scraping requests per hour. Consider the 3-second interval between requests to avoid rate limits.
  • OpenAI costs apply for content summarization - GPT-4.1 mini balances quality and affordability.
  • After testing multiple AI models (GPT, Gemini), Perplexity Sonar Pro Search proved most effective for finding recent, relevant weather news from Malaysian sources.
  • The workflow focuses on major Malaysian news outlets like Utusan, Harian Metro, Berita Harian, and Kosmo.

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

  • The schedule trigger is set for 9 AM but can be adjusted to any preferred time.
  • Replace the Telegram chat ID with your channel or group ID.
  • The workflow automatically filters out "No Advisory" warnings to avoid unnecessary notifications.
  • Modify the search query timeout and batch processing based on your API limits.

Requirements

Customizing this workflow

  • Expand news sources: Modify the AI Agent prompt to include additional Malaysian news outlets or social media sources.
  • Language options: Change the final report language from English to Bahasa Malaysia by updating the "Make a summary" system prompt.
  • Alert filtering: Adjust the JavaScript code to focus on specific warning types (e.g., only severe warnings or specific states).
  • Storage integration: Connect to Supabase or Google Sheets to maintain a historical database of weather warnings and news.
  • Multi-channel delivery: Add more notification nodes to send alerts via email, WhatsApp, or SMS alongside Telegram.

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 - Schedule Trigger

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

Block 2 - Get Weather Warnings

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 3 - Send to Telegram

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

Block 4 - Make a summary

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2

Block 5 - Sticky Note

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

Block 6 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 7 - Replace Me

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

Block 8 - Sticky Note1

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

Block 9 - Separate Search Query, Warning Type and other information

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Sticky Note2

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

Block 11 - Combine Search and Location information

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

Block 12 - Clean the URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Sticky Note3

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

Block 14 - Scrape Website with Firecrawl

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 15 - Combine the Summary and Sources

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

Block 16 - Sticky Note4

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

Block 17 - Sticky Note5

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

Block 18 - Sticky Note6

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

Block 19 - Interval to avoid Firecrawl Free API Limit

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Perplexity Sonar Pro Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 21 - Loop URL One by One

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

3. Summary Table

Workflow Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram
Complexity advanced
Nodes 21
Categories Miscellaneous
Author Wan Dinie
Published 28 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12232/12232.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 Send daily Malaysian weather alerts with Perplexity AI, Firecrawl and Telegram do?

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...

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 Miscellaneous use case.