# Score AQI health risks with Open-Meteo and AirNow: n8n workflow

> Started by a clock, and works across Slack, Twilio and WhatsApp. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/score-aqi-health-risks-with-open-meteo-and-airnow (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# Score AQI health risks with Open-Meteo and AirNow

Started by a clock, and works across Slack, Twilio and WhatsApp. It hands the judgement calls to Gemini. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscore-aqi-health-risks-with-open-meteo-and-airnow)

**24 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 3 Logic 11 Service 9

The steps in the order they run, from what starts it.

- 1 **Gemini AI Model** Lm Chat Google Gemini *Model*
- 2 **Parse Risk Output Structure** Output Parser Structured *Model*
- 3 **Every Day at 630 AM** Schedule trigger *Starts it*
- 4 **Risk Scoring Agent** Agent *Model*
- 5 **Set City Configuration** Set *Logic*
- 6 **Map Risk Results** Set *Logic*
- 7 **Fetch Open-Meteo AQI** Http Request *Service*
- 8 **Check Duplicate Alert Status** Code *Logic*
- 9 **Normalize Open-Meteo Data** Set *Logic*
- 10 **If Alert Needed** If *Logic*
- 11 **Fetch AirNow RSS Data** Http Request *Service*
- 12 **Route by Severity** Switch *Logic*
- 13 **Do Nothing on Duplicate** No Op *Logic*
- 14 **Normalize AirNow Data** Code *Logic*
- 15 **Send WhatsApp Moderate Alert** Whats App *Service*
- 16 **Send WhatsApp Severe Alert** Whats App *Service*
- 17 **Send WhatsApp Hazardous Alert** Whats App *Service*
- 18 **Calculate Weighted Avg AQI** Code *Logic*
- 19 **Send Twilio SMS Severe Alert** Twilio *Service*
- 20 **Send Twilio SMS Hazardous Alert** Twilio *Service*
- 21 **Set User Health Profile** Set *Logic*
- 22 **Post Severe Alert to Slack** Slack *Service*
- 23 **Post Urgent Alert to Slack** Slack *Service*
- 24 **Prepare Risk Scoring Data** Set *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 24, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack, Twilio, WhatsApp
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Slack, Twilio and WhatsApp accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fscore-aqi-health-risks-with-open-meteo-and-airnow)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)[Twilio](https://millionrounds.com/workflows?service=Twilio#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**AI-Powered NPM Package Intelligence Agent with OpenAI** 24 steps · calls a model · GitHub, Slack](https://millionrounds.com/workflow/ai-powered-npm-package-intelligence-agent-with-openai)
- [**AI-powered fuzzy matching, and assigns confidence scores.** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/ai-powered-fuzzy-matching-and-assigns-confidence-scores)
- [**Analyze pharma label change impact with Claude and Slack** 24 steps · calls a model · Email, Slack](https://millionrounds.com/workflow/analyze-pharma-label-change-impact-with-claude-and-slack)
- [**Audit and cancel unused SaaS seats with Google Sheets** 24 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/audit-and-cancel-unused-saas-seats-with-google-sheets)
- [**Benchmark employer brand on Glassdoor with Bright Data** 24 steps · calls a model · Slack, n8n data table](https://millionrounds.com/workflow/benchmark-employer-brand-on-glassdoor-with-bright-data)
- [**Build an AI WhatsApp chatbot with Gemini and Wikipedia** 24 steps · calls a model · WhatsApp](https://millionrounds.com/workflow/build-an-ai-whatsapp-chatbot-with-gemini-and-wikipedia)
