Daily personalized air & pollen health alerts with Ambee API and AI via email
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs on a schedule (every day at 07:00). Along the way it connects OpenAI Chat Model and Gmail. It also calls api.ambeedata.com over HTTP.
How it runs
Trigger: On a schedule (every day at 07:00).
- Set Your Location Coordinates (Edit Fields (Set)): sets 2 fields: lat, lng
- Set User Profile (Edit Fields (Set)): sets 2 fields: Age , Health sensitivities
- Get Air data (HTTP Request): calls api.ambeedata.com
- Get Pollen data (HTTP Request): calls api.ambeedata.com
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Gmail, Think)
Services it uses
HTTP calls to: api.ambeedata.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Think Tool
@n8n/n8n-nodes-langchain.toolThink - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail Tool
n8n-nodes-base.gmailTool - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
This workflow fetches real-time air quality and pollen data using Ambee’s APIs and sends a friendly, personalized daily summary by email. It uses a scheduler to automate data collection, AI-generated health tips, and clear, actionable messages—perfect for…