Turn pool water tests into customer reports with Sheets, Gmail, Discord, and GPT-4o-mini
Ready for 3.0What this workflow does
This AI workflow has 34 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Discord.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Normalize Test Reading (Edit Fields (Set)): sets 14 fields: test_id, pool_id, customer_name…
- Read Pools for Sweep (Google Sheets): read
- Validate Test Input (If): checks a condition and branches into true / false
- Read TestLog for Sweep (Google Sheets): read
- Read Pools Roster (Google Sheets): read
- Build Invalid Input Alert (Edit Fields (Set)): sets 4 fields: pool_id, customer_email, free_chlorine…
- Compute Route Prep (Code): runs custom JavaScript code
- Look Up Pool by ID (Code): runs custom JavaScript code
- Alert Invalid Input on Discord (Discord): work with message
- Has Route Items (If): checks a condition and branches into true / false
…plus 21 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Discord
n8n-nodes-base.discord - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Pool water tests usually end as a photo of a test strip and a guess about how much chlorine to add. This workflow takes the readings your tech already records, checks them against real chemistry targets, emails the homeowner a clear report, and logs the…