Send HAB early warnings and exposure reports with NOAA ERDDAP, Open-Meteo and Gmail
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs on a schedule (every 6 hours) (plus 1 other trigger). Along the way it connects Gmail and Slack. It also calls api.pdfendpoint.com over HTTP.
How it runs
Trigger: On a schedule (every 6 hours) (plus 1 other trigger).
- Set Coastal AOI Parameters (Edit Fields (Set)): sets 38 fields: regionName, centerLat, centerLon…
- Post Error to Slack (Slack): uses Slack
- Fetch NOAA Chlorophyll-a Data (HTTP Request): calls an HTTP API
- Get Marine Conditions (HTTP Request): calls an HTTP API
- Get Wind Forecast (HTTP Request): calls an HTTP API
- Analyze Bloom and Drift (Code): runs custom JavaScript code
- Check Notification Requirement (If): checks a condition and branches into true / false
- Route by Notification Type (Switch): routes items into 3 branches
- Set Cycle Telemetry Data (Edit Fields (Set)): sets 7 fields: cycleCompletedAt, executionId, dataStatus…
- Get Satellite Basemap (HTTP Request): calls an HTTP API
…plus 13 more steps. See the full node list below.
Services it uses
Other Gmail + Slack templates (957)
HTTP calls to: api.pdfendpoint.com
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - HTML
n8n-nodes-base.html - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview Youtube Video: https://youtu.be/F6ivgk4PU This workflow runs every six hours to monitor NOAA ERDDAP chlorophyll-a and Open-Meteo marine conditions, estimates harmful algal bloom severity and drift near a coastal area of interest, and sends…