Send Daily Air Quality Alerts
Searches daily air quality, PM2.5, UV index, and health advisories for your city, then sends a concise Telegram briefing with mask and exercise guidance.
What It Does
Every morning at a scheduled time, this workflow searches for today's air quality and environmental health data for your configured city. It delivers an AQI reading with category (Good through Hazardous), PM2.5 and PM10 particulate levels, UV index, temperature range, and a specific health advisory — all as a plain Telegram message before you leave the house.
Why It Matters
Most people check the weather before going outside. Almost no one checks the AQI. But on a Moderate or Unhealthy air quality day, a 30-minute run can do more harm than staying inside. This workflow makes the decision automatic — a 10-second Telegram read every morning tells you whether to wear a mask, whether to skip the outdoor workout, and the best window for physical activity based on today's specific conditions.
How It Works
- Scheduled Trigger — Fires daily at 06:30 UTC (cron:
30 6 * * *). - AI Agent — Searches the web for current AQI, PM2.5, PM10, UV index, temperature, humidity, and any active health advisories for your configured city. It identifies the optimal outdoor exercise window based on today's conditions.
- Telegram Node — Delivers the plain-text health briefing directly to your Telegram chat.
What You Get
| Data Point | Details |
|---|---|
| AQI | Number and category (Good / Moderate / Unhealthy for Sensitive Groups / Unhealthy / Very Unhealthy / Hazardous) |
| Particulates | PM2.5 and PM10 readings |
| UV Index | Value with risk level |
| Weather | Temperature range and humidity |
| Health Advisory | Mask recommendation, indoor guidance if needed |
| Exercise Window | Best time for outdoor activity today |
| Allergens | Pollen or allergen alert if active |
Who It's For
- Runners and cyclists who want to know if outdoor exercise is safe today
- Parents checking conditions before school drop-off
- Anyone with asthma, allergies, or respiratory sensitivities
- Urban professionals commuting in high-pollution cities
Setup
- Connect your Telegram bot (add your bot token in the Telegram node).
- In the AI Agent prompt, replace the default city name with your own city.
- Publish the workflow — daily air quality alerts start the next morning.
Customize It
- Change the trigger time — Edit the cron schedule to match your morning routine (e.g.,
0 5 * * *for 05:00 UTC). - Add a second city — Extend the AI prompt to cover multiple locations, useful for families in different cities.
- Add event suitability guidance — If you frequently have outdoor meetings or sports, ask the AI agent to include an outdoor event recommendation.
Timezone Reference
| Timezone | Equivalent Time |
|---|---|
| UTC | 06:30 |
| IST | 12:00 PM |
| CET | 07:30 AM |
| EST | 01:30 AM |
Adjust the cron expression to match your local morning.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
