How it works
Only hear about the weather when it matters. Every morning at 06:00 the workflow gets today's hourly forecast from the free Open-Meteo API (no key required) for the place you choose.
A Code node looks at the rain probability for each hour and picks out the hours at or above your threshold, along with the expected rainfall in millimetres. It also records the day's peak probability. If any hour qualifies, an IF node sends a Telegram message such as "Rain likely in Manchester today (peak 70%)" followed by the rainy hours. On dry days the workflow ends quietly on a No Op node, so you are not sent a message you do not need.
Set up steps
- Import the workflow and open Alert settings.
- Set
place, latitude, longitude and threshold (a percentage, 50 by default).
- In Telegram, create a bot with BotFather and copy its token. Add it as a Telegram credential in Send rain alert.
- Send your bot a message, find your chat ID (for example with a Telegram Trigger test or a user-info bot) and paste it into Chat ID.
- Click Execute workflow to test, then activate it.
Customise it
- Lower or raise the threshold for more or fewer alerts.
- Add
snowfall or wind_gusts_10m to the hourly variables for other alerts.
- Send to a group chat so the whole household or team gets the warning.
- Swap Telegram for SMS, email or a push notification service.