Monitor IoT sustainability compliance and ESG reports with OpenAI, Airtable, Slack and Gmail
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every 15 minutes). Along the way it connects OpenAI Chat Model, Slack, Airtable and Gmail.
How it runs
Trigger: On a schedule (every 15 minutes).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: iotApiUrl, complianceThresholdEnergy, complianceThresholdWater…
- Get IoT Data (Airtable): uses Airtable
- Parse and Structure IoT Data (Code): runs custom JavaScript code
- Compliance Monitor Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Compliance; output parser: Compliance Output Parser
- Anomaly Detection Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Anomaly; output parser: Anomaly Output Parser
- Check for Issues (If): checks a condition and branches into true / false
- Prepare Alert Data (Edit Fields (Set)): sets 9 fields: alertType, location, timestamp…
- Aggregate: combines items into one
- Send Slack Alert (Slack): uses Slack
- ESG Report Generator (AI Agent): runs an AI agent, with model: OpenAI Model - ESG Report
…plus 1 more step. See the full node list below.
Services it uses
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 - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Aggregate
n8n-nodes-base.aggregate - Airtable
n8n-nodes-base.airtable - Gmail
n8n-nodes-base.gmail
From the author
How It Works This workflow automates IoT device compliance monitoring and anomaly detection for industrial operations. Designed for facility managers, quality assurance teams, and regulatory compliance officers, it solves the challenge of continuously…