Check historical AQI when a team asks what changed
Answer a follow-up about past air conditions with a city history lookup instead of starting research from scratch.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Action
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.
Why this helps
Questions about whether conditions improved require extra digging, and the answer can get lost among current updates.
- Retrieve historical AQI readings for a confirmed city.
- Support follow-up questions about changing conditions.
- Keep the request and report tied to the Slack discussion.
Setup
Build it in a few focused steps.
- 1Connect Slack and IQAir AirVisual to Notis once in the portal.
- 2Start a new automation in the portal or tell Notis what you want conversationally.
- 3In one plain-language prompt, ask Notis to retrieve a city's historical AQI when Slack asks about past air quality.
- 4Select the Slack channel message trigger, pick a run-report channel, and test with a real city history request.
Questions about this workflow
What details should the request include?
Name the city and include state or country details when needed to make the location unambiguous.
Does this return live AQI?
This workflow retrieves historical data. Choose a current city lookup for live conditions.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to Iqair airvisual. A trigger fires from one place; an action lands in another.
Slack 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 Channel Created Trigger
Triggered when a new channel is created in Slack.
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.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Get supported countries
Tool to list all supported countries. Use when you need to know which countries are supported by the AirVisual API.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
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 Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
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.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Get Nearest Station Air Quality
Tool to get nearest station air quality. Use when you have GPS coordinates and need closest station’s AQI.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
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.
Slack 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.