Weather alerts via SMS (OpenWeather + Twilio)
🌤️ Weather Alerts via SMS (OpenWeather + Twilio) This workflow checks the current weather and forecast every 6 hours using the OpenWeather API, and automatically sends an SMS alert via Twilio if severe conditions are...
Template notes
🌤️ Weather Alerts via SMS (OpenWeather + Twilio)
This workflow checks the current weather and forecast every 6 hours using the OpenWeather API, and automatically sends an SMS alert via Twilio if severe conditions are detected. It’s great for keeping teams, family, or field workers updated about extreme heat, storms, or snow.
---
⚙️ How It Works
1. Check Every 6 Hours - A Cron node triggers the workflow every 6 hours. - Frequency can be adjusted based on your needs.
2. Fetch Current Weather & Forecast - Calls OpenWeather API for both current conditions and the 24-hour forecast. - Retrieves temperature, precipitation, wind speed, and weather descriptions.
3. Analyze Weather Data - A Code node normalizes the weather data. - Detects alert conditions such as: - Extreme heat (≥95°F) - Extreme cold (≤20°F) - Severe storms (thunderstorm, tornado) - Rain or snow - High winds (≥25 mph) - Also checks upcoming forecast for severe weather in the next 24 hours.
4. Alert Needed? - If no severe conditions → workflow stops. - If alerts exist → proceed to SMS formatting.