Forecast air quality for pull request review
A new pull request arrives with a clearer view of when review work may feel easiest.
Trigger
New Pull Request Created
Triggers when a new pull request is created in GitHub, matching the optional configured filters. Emits an event for each newly created pull request. Supports filtering by repository, owner/organisation, author, assignee, label, state, base branch, head branch, and draft status.
Action
Get Air Quality Forecast Data
Tool to retrieve air quality forecast data for a specified city, state, and country. Use after confirming location details.
Why this helps
New review requests compete with existing plans, making it easy to postpone them without choosing a realistic review window.
- Turn review requests into schedulable work
- Reduce open-loop planning
- Match demanding review to better conditions
- Give remote teams a shared planning cue
Setup
Build it in a few focused steps.
- 1Connect GitHub and Iqair airvisual to Notis once.
- 2Create the automation in the portal or ask Notis to create it in plain language.
- 3Use this instruction: When a new GitHub pull request is created, retrieve the air quality forecast for the reviewer's primary city and suggest a practical review window.
- 4Select New Pull Request Created as the trigger and choose a run-report channel.
- 5Test with one pull request.
Questions about this workflow
Can this support multiple reviewers?
Yes. Ask Notis to check a specified primary city or summarize locations for the review team.
Does it create a calendar event?
No. This workflow retrieves forecast data and reports a suggested planning window.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link GitHub to Iqair airvisual. A trigger fires from one place; an action lands in another.
GitHub triggers
Iqair airvisual actions
New Workflow Artifact Created
Triggers when a new workflow artifact is created in a GitHub repository. Monitors for newly created GitHub Actions workflow artifacts. Optionally filters by artifact name to restrict monitoring to specific artifacts.
Get Air Quality Forecast Data
Tool to retrieve air quality forecast data for a specified city, state, and country. Use after confirming location details.
Branch Changed
Triggers when a GitHub branch changes. Monitors a specific branch for: - New commits pushed (head commit SHA changes) - Protection status toggled (branch becomes protected or unprotected) - Protection settings changed, including: required status checks and their enforcement level, admin enforcement, required pull request reviews (dismiss stale reviews, code owner reviews, approving review count, last push approval), required linear history, force push allowance, deletion allowance, conversation resolution, branch locking, and fork syncing.
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 Branch Created
Triggers when a new branch is created in a GitHub repository. Detects newly created branches. Deleted branches do not fire events.
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.
Check Run Status / Conclusion Changed
Triggers when a specific GitHub check run changes its status or conclusion. Monitors a single check run for changes to: status (queued, in_progress, completed, etc.), conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required), started_at, and completed_at.
Get supported countries
Tool to list all supported countries. Use when you need to know which countries are supported by the AirVisual API.
Check Suite Status / Conclusion Changed
Triggers when a GitHub check suite changes its status or conclusion for a given ref. Monitors all check suites associated with a git reference (branch, tag, or commit SHA) for changes to status (queued, in_progress, completed, etc.) and conclusion (success, failure, neutral, cancelled, skipped, timed_out, action_required, startup_failure, stale). Optionally filters by GitHub App ID.
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.
New Code Scanning Alert Created
Triggers when a new code scanning alert is created in a repository. Fires an event for each newly created code scanning alert detected in the configured repository. Alerts can be filtered by Git reference, scanning tool, state, and severity. The payload includes the alert number, rule details, tool information, state, severity, and the location of the most recent instance.
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 Repository Collaborator Added
Triggers when a new collaborator is added to a GitHub repository. Monitors the full list of collaborators on a repository and fires an event for each newly added collaborator. The payload includes the collaborator's GitHub username, account ID, profile URL, avatar URL, permission flags (pull, triage, push, maintain, admin), and assigned role 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.
Commit Event
Triggered when a new commit is pushed to a repository.
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.
Not just GitHub and Iqair airvisual. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Iqair airvisual.