Schedule golf course irrigation with Open-Meteo, GPT-4o-mini, and Telegram
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Telegram. It also calls api.open-meteo.com and irrigation-controller.internal.golfclub.example over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Fetch Today's Weather Forecast (HTTP Request): calls api.open-meteo.com
- Split Zones Into Individual Items (Split Out): splits a list into separate items
- Compute Soil Moisture Deficit (Code): runs custom JavaScript code
- Recent Pesticide Application? (If): checks a condition and branches into true / false
- Extract REI & Buffer Requirements (Information Extractor): extracts structured fields from text with AI, with model: GPT-4o-mini for Label Extraction
- Merge: merges the data from its input branches
- Determine Zone Still Restricted (Code): runs custom JavaScript code
- Is Zone Restricted? (If): checks a condition and branches into true / false
- Flag Zone Skip Irrigation (Edit Fields (Set)): sets 2 fields: irrigation_minutes, skip_reason
- Compute Irrigation Run Minutes (Edit Fields (Set)): sets 2 fields: irrigation_minutes, skip_reason
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: api.open-meteo.com, irrigation-controller.internal.golfclub.example
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)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow receives a daily batch of golf course zone sensor readings, pulls a forecast from Open-Meteo, calculates per-zone irrigation runtimes, checks pesticide-label REI and water-hazard buffer rules with OpenAI, then posts the final…