Get current air quality from a Slack direct message
A private question about a city can get a focused lookup without pulling you into a broader channel search.
Trigger
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Action
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.
Why this helps
Small one-to-one requests can sit unanswered while you stop, open another tool, and find the right location.
- Handle city AQI questions where they arrive in a DM.
- Return current air and weather information from the named city.
- Avoid carrying a lookup request in working memory.
Setup
Build it in a few focused steps.
- 1Connect Slack and IQAir AirVisual to Notis once in the portal.
- 2Create an automation in the portal or ask Notis to set it up conversationally.
- 3Give Notis one plain-language instruction to look up current city AQI when a DM asks about a named city.
- 4Choose the Slack direct message trigger, select a run-report channel, and test with a real location question.
Questions about this workflow
Will a channel message start this workflow?
No. This automation uses the Slack direct message trigger.
What if the DM only says 'how is the air there'?
The request needs a clear city or usable location context for the city lookup.
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.