Send Daily Air Quality Alerts

OpenAItelegram_bot_api

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.

Air QualityTelegram AlertsHealth AdvisoryDaily Reports

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

  1. Scheduled Trigger — Fires daily at 06:30 UTC (cron: 30 6 * * *).
  2. 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.
  3. Telegram Node — Delivers the plain-text health briefing directly to your Telegram chat.

What You Get

Data PointDetails
AQINumber and category (Good / Moderate / Unhealthy for Sensitive Groups / Unhealthy / Very Unhealthy / Hazardous)
ParticulatesPM2.5 and PM10 readings
UV IndexValue with risk level
WeatherTemperature range and humidity
Health AdvisoryMask recommendation, indoor guidance if needed
Exercise WindowBest time for outdoor activity today
AllergensPollen 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

  1. Connect your Telegram bot (add your bot token in the Telegram node).
  2. In the AI Agent prompt, replace the default city name with your own city.
  3. 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

TimezoneEquivalent Time
UTC06:30
IST12:00 PM
CET07:30 AM
EST01: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.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .