Analyze Seoul air pollution with MotherDuck and Ollama Qwen2.5
Ready for 3.0What this workflow does
This workflow has 5 nodes and runs when an HTTP GET request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.motherduck.com and ollama:11434 over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Post to Motherduck API (HTTP Request): calls api.motherduck.com (POST)
- Post to Ollama API (HTTP Request): calls ollama:11434 (POST)
- Set Response Data (Edit Fields (Set)): sets 1 field: response
- Send Webhook Response (Respond to Webhook): sends the response back to the webhook caller
HTTP calls to: api.motherduck.com, ollama:11434
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow exposes a webhook that queries PM10 air pollution data from a MotherDuck database, sends the results to a local Ollama (qwen2.5:3b) model for analysis, and returns an HTML report showing the top polluted Seoul districts and the…