Find supported cities through Telegram
Check which cities IQAir supports before asking for air quality data.
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 Cities
Tool to list supported cities in a specified state and country. Use when you need to retrieve cities for a given state/country.
Why this helps
A lookup can stall when you are unsure how a location is represented or whether it is supported.
- Check available cities before another data request.
- Reduce trial and error with location names.
- Keep the location discovery step in the same chat.
Setup
Build it in a few focused steps.
- 1Connect Telegram and IQAir airvisual once through the Notis portal.
- 2Create an automation in the portal or ask Notis for it in plain language.
- 3Write one prompt to list IQAir-supported cities using the state and country named in the Telegram message.
- 4Choose Telegram's New Message Received trigger and select where run reports should go.
- 5Test with a real state and country supported by IQAir.
Questions about this workflow
Does this return AQI readings?
No. This action lists supported cities for a state and country; a separate city air quality request can retrieve readings.
What details should the message include?
Include the state or province and country whose supported cities you want listed.
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.
Get Air Quality Forecast Data
Tool to retrieve air quality forecast data for a specified city, state, and country. Use after confirming location details.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
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.
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.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Get supported countries
Tool to list all supported countries. Use when you need to know which countries are supported by the AirVisual API.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
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.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
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.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Get Nearest Station Air Quality
Tool to get nearest station air quality. Use when you have GPS coordinates and need closest station’s AQI.
Get States
Tool to list supported states in a specified country. Use when you need to retrieve states/provinces for a given country.
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.