Skip to content
Notis

Check nearby city air quality from a location in Slack

Use coordinates or an IP supplied in a direct message to find the nearest city's current air and weather conditions.

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 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.

Why this helps

Translating a precise location into a useful city lookup adds an unnecessary manual step to a quick question.

  • Look up the nearest city from coordinates or an IP.
  • Get current air quality and weather information for that nearby city.
  • Avoid manually resolving a location before checking conditions.

Setup

Build it in a few focused steps.

  • 1Connect Slack and IQAir AirVisual to Notis once in the portal.
  • 2Create an automation from the portal or ask Notis for one in plain language.
  • 3Tell Notis to use the nearest-city lookup when a Slack DM requests air conditions and provides coordinates or an IP.
  • 4Select the Slack direct message trigger, choose a run-report channel, and test with a real location-based request.

Questions about this workflow

Can this work with only a city name?

This workflow is for precise location data such as coordinates or an IP. Use a city lookup when the city is already known.

What does the action return?

It retrieves air quality data for the nearest city based on the supplied location.

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.

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 Channel Created Trigger

Triggered when a new channel is created in Slack.

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

Channel Message Received

Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.

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

Direct Message Received

Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.

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 Reaction Added

Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.

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

Message Reaction Removed

Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.

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

Reaction Added Trigger

DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.

TriggerInstant

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.

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.