Skip to content
Notis

See world AQI rankings from Telegram

Request a global city ranking when you need a quick view beyond one location.

Trigger

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

Action

Get World AQI Rankings

Tool to retrieve a ranking of cities worldwide based on current AQI. Use when you need a global AQI ranking list after authenticating with a valid AirVisual API key. If /world-rankings is not accessible, gracefully falls back to /nearest_city and returns a single-item list based on the nearest city.

Why this helps

Comparing conditions across places can become a manual search task with no clear starting point.

  • Get a broad comparison in response to one request.
  • Reduce manual switching among city lookups.
  • Use current rankings as a starting point for deeper location checks.

Setup

Build it in a few focused steps.

  • 1Connect Telegram and IQAir airvisual once using the Notis portal.
  • 2Create the automation by asking Notis in a conversation or opening Automations and choosing New Automation.
  • 3Write a single prompt asking for current IQAir world AQI rankings when a Telegram message requests them.
  • 4Select Telegram's New Message Received trigger and choose the channel for run reports.
  • 5Test with a real request for global rankings.

Questions about this workflow

Will this always return a worldwide list?

The action is designed to retrieve worldwide city rankings, with a documented nearest-city fallback if the rankings endpoint is unavailable.

Can the ranking replace a local lookup?

Use the ranking for broad comparison; use a city or station lookup when you need a specific place.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Iqair airvisual. A trigger fires from one place; an action lands in another.

Telegram triggers

Iqair airvisual actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Get Air Quality Forecast Data

Tool to retrieve air quality forecast data for a specified city, state, and country. Use after confirming location details.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Get Cities

Tool to list supported cities in a specified state and country. Use when you need to retrieve cities for a given state/country.

ActionInstant

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

Get City Air Quality

Tool to retrieve air quality data for a specific city. Use when you need current pollution and weather data by specifying city, state, and country.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

Get supported countries

Tool to list all supported countries. Use when you need to know which countries are supported by the AirVisual API.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Get Historical AQI Data

Tool to retrieve historical air quality data for a city. Use after confirming city, state, and country when you need AQI readings over time.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Get Nearest City Air Quality

Tool to retrieve air quality data for the nearest city based on latitude/longitude or IP. Use when you have precise location data or want to geolocate an IP for air quality.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Get Nearest Station Air Quality

Tool to get nearest station air quality. Use when you have GPS coordinates and need closest station’s AQI.

ActionInstant

Get States

Tool to list supported states in a specified country. Use when you need to retrieve states/provinces for a given country.

ActionInstant

Connect any two apps with Notis in the middle.

Telegram and Iqair airvisual, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Iqair airvisual.