{
  "name": "Monitor and optimize carbon emissions for ESG with GPT‑4o, Slack and Google Sheets",
  "nodes": [
    {
      "id": "31b22291-3f1c-4a99-b1da-91eb3bbf0de9",
      "name": "Scheduled Carbon Data Collection",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        224,
        928
      ]
    },
    {
      "id": "46713c29-7e3b-4652-8e94-e98cfd45ae33",
      "name": "Real-time Emissions Data Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        112,
        1088
      ]
    },
    {
      "id": "fa7c8285-2fe7-4e47-8ab5-58629dfdd99d",
      "name": "Merge Data Sources",
      "type": "n8n-nodes-base.merge",
      "position": [
        480,
        896
      ]
    },
    {
      "id": "96ef6655-cd22-421b-b5ba-77d532cfa981",
      "name": "Carbon Supervisor Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1424,
        896
      ]
    },
    {
      "id": "60088dda-3b7d-421a-96a7-e63ebffb0da9",
      "name": "Supervisor Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        800,
        1312
      ]
    },
    {
      "id": "43cc6763-43ce-4c92-b741-b24e22601f4d",
      "name": "Supervisor Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2224,
        1312
      ]
    },
    {
      "id": "fe53a095-e330-4add-ae2c-2dc51d175728",
      "name": "Carbon Monitoring Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        928,
        1312
      ]
    },
    {
      "id": "279db0e0-83e6-41f0-bd24-7cf96d269b0e",
      "name": "Monitoring Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        560,
        1520
      ]
    },
    {
      "id": "3a8c3018-d572-4615-831a-da70d6211a51",
      "name": "Carbon Optimization Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1344,
        1312
      ]
    },
    {
      "id": "7bc751bc-e85d-4f10-bd61-93a9bf09dbf4",
      "name": "Optimization Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1248,
        1520
      ]
    },
    {
      "id": "edaddbbc-9e15-422b-904c-10135a1c5c53",
      "name": "Policy Enforcement Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1648,
        1312
      ]
    },
    {
      "id": "50dcd6ed-4c83-4ef7-a434-16f22fa19f94",
      "name": "Policy Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1664,
        1520
      ]
    },
    {
      "id": "0a7703a4-f2ec-4f95-a48f-441bb6d52b67",
      "name": "ESG Reporting Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1936,
        1312
      ]
    },
    {
      "id": "db093b39-5b0a-4835-a18d-40f49b153acb",
      "name": "ESG Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2016,
        1520
      ]
    },
    {
      "id": "3887d823-c201-439e-8606-5eac551eddb2",
      "name": "Carbon Calculations Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        816,
        1520
      ]
    },
    {
      "id": "e330021c-9d84-4438-9812-e0b0f2b44090",
      "name": "KPI Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1312,
        1728
      ]
    },
    {
      "id": "7c87493c-3893-4036-8171-2f7ed140dd73",
      "name": "Carbon Database Tool",
      "type": "n8n-nodes-base.postgresTool",
      "position": [
        1056,
        1520
      ]
    },
    {
      "id": "8c507355-4586-4a1b-9133-e8b41aecd457",
      "name": "Policy Sheets Tool",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1808,
        1520
      ]
    },
    {
      "id": "d3e7ab6c-96b7-42d8-98c2-e3b62ce8927d",
      "name": "Approval Workflow Tool",
      "type": "n8n-nodes-base.slackHitlTool",
      "position": [
        1376,
        1520
      ]
    },
    {
      "id": "6de1bc0d-fb58-4160-9fb4-9b3261192297",
      "name": "Route by Action Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        2560,
        1072
      ]
    },
    {
      "id": "861fb4fb-d1e1-48ed-bd32-750d756fd63b",
      "name": "Store Carbon Metrics",
      "type": "n8n-nodes-base.postgres",
      "position": [
        3456,
        992
      ]
    },
    {
      "id": "a1b01743-1381-44d2-87be-5f9ad1834b31",
      "name": "Prepare Optimization Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2768,
        1376
      ]
    },
    {
      "id": "4e262fcc-a75b-4bb0-987d-e8e56b5cf240",
      "name": "Send Policy Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        3456,
        1568
      ]
    },
    {
      "id": "bffb3126-519a-4fa3-b98d-6df566e30cc7",
      "name": "Update ESG Report",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3232,
        1760
      ]
    },
    {
      "id": "03ec1027-aeca-407f-a07a-9995024232fc",
      "name": "Check Approval Required",
      "type": "n8n-nodes-base.if",
      "position": [
        3008,
        1280
      ]
    },
    {
      "id": "97e87f59-f00f-4e63-81a5-702cc8230cc9",
      "name": "Request Strategy Approval",
      "type": "n8n-nodes-base.slack",
      "position": [
        3232,
        1184
      ]
    },
    {
      "id": "2b7cfd43-d42a-4db5-9267-887ef15af4d5",
      "name": "Log Approved Strategy",
      "type": "n8n-nodes-base.postgres",
      "position": [
        3456,
        1184
      ]
    },
    {
      "id": "cff86851-e84b-465a-a3bd-2d494c4c88dc",
      "name": "Auto-Execute Strategy",
      "type": "n8n-nodes-base.postgres",
      "position": [
        3456,
        1376
      ]
    },
    {
      "id": "5bf1187d-eee0-4b9b-9adf-89e15ba61ecd",
      "name": "Send ESG Report Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        3456,
        1760
      ]
    },
    {
      "id": "2e82947a-9625-4068-b99b-33e91fcfbd10",
      "name": "Consolidate All Actions",
      "type": "n8n-nodes-base.merge",
      "position": [
        3680,
        1328
      ]
    },
    {
      "id": "3c2315d9-9d91-4b70-aba6-cc09ef0e4719",
      "name": "Send Summary Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        3904,
        1376
      ]
    },
    {
      "id": "70b04d9d-6545-44ea-89e0-61ba7ad808a8",
      "name": "Update KPI Dashboard",
      "type": "n8n-nodes-base.postgres",
      "position": [
        4128,
        1376
      ]
    },
    {
      "id": "8d18ca9f-5f7e-46de-b187-d240c96db1e5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        448
      ],
      "parameters": {
        "width": 688,
        "height": 256,
        "content": "## How It Works\nThis workflow automates end-to-end carbon emissions monitoring, strategy optimisation, and ESG reporting using a multi-agent AI supervisor architecture in n8n. Designed for sustainabil"
      }
    },
    {
      "id": "3c5c4eb6-607d-40b8-8678-5d0615b94a2c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        432
      ],
      "parameters": {
        "width": 448,
        "height": 272,
        "content": "## Setup Steps\n1. Connect scheduled trigger and webhook nodes to your emissions data sources.\n2. Add credentials for Slack (bot token), Gmail (OAuth2), and Google Sheets (service account).\n3. Configur"
      }
    },
    {
      "id": "d22ded0d-d30d-4088-9eb3-0e575ada773e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        352
      ],
      "parameters": {
        "width": 528,
        "height": 352,
        "content": "## Prerequisites\n- OpenAI or compatible LLM API key\n- Slack bot token\n- Gmail OAuth2 credentials\n- Google Sheets service account\n## Use Cases\n- Corporate sustainability teams automating monthly ESG re"
      }
    },
    {
      "id": "4b6b8014-c0cf-48a5-870d-1409d0c01f58",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        224,
        1232
      ],
      "parameters": {
        "width": 2160,
        "height": 656,
        "content": "## Strategy & Policy Evaluation\n**What:** Optimisation and Policy Enforcement Agents propose and validate actions.\n**Why:** Keeps reduction strategies compliant before execution."
      }
    },
    {
      "id": "e8b6c838-f9cc-4e69-95db-73b019d74a6a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        784
      ],
      "parameters": {
        "width": 1936,
        "height": 416,
        "content": "## Supervisor Orchestration\n**What:** Carbon Supervisor Agent delegates tasks across four specialised sub-agents.\n**Why:** Parallel processing improves speed and separates concerns cleanly."
      }
    },
    {
      "id": "25a3e0ee-960d-4d6a-892d-a58d28afeaa7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2480,
        896
      ],
      "parameters": {
        "width": 880,
        "height": 1024,
        "content": "\n## Approval Routing\n**What:** Routes strategies requiring sign-off to Slack; auto-executes low-risk ones.\n**Why:** Balances automation with governance oversight."
      }
    },
    {
      "id": "9895286e-18cf-4fac-bdc5-21c96872ba5a",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3424,
        880
      ],
      "parameters": {
        "width": 880,
        "height": 1168,
        "content": "## Reporting & Notification\n**What:** Updates ESG report, sends email summary, refreshes KPI dashboard.\n**Why:** Closes the feedback loop for stakeholders in real time."
      }
    }
  ],
  "connections": {
    "ESG Model": {
      "ai_languageModel": [
        [
          {
            "node": "ESG Reporting Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Policy Model": {
      "ai_languageModel": [
        [
          {
            "node": "Policy Enforcement Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "KPI Calculator": {
      "ai_tool": [
        [
          {
            "node": "Carbon Monitoring Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Approval Workflow Tool",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Monitoring Model": {
      "ai_languageModel": [
        [
          {
            "node": "Carbon Monitoring Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Supervisor Model": {
      "ai_languageModel": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Send Policy Alert": {
      "main": [
        [
          {
            "node": "Consolidate All Actions",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Update ESG Report": {
      "main": [
        [
          {
            "node": "Send ESG Report Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Data Sources": {
      "main": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Optimization Model": {
      "ai_languageModel": [
        [
          {
            "node": "Carbon Optimization Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Policy Sheets Tool": {
      "ai_tool": [
        [
          {
            "node": "Policy Enforcement Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "ESG Reporting Agent": {
      "ai_tool": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Database Tool": {
      "ai_tool": [
        [
          {
            "node": "Carbon Monitoring Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Carbon Optimization Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Route by Action Type": {
      "main": [
        [
          {
            "node": "Store Carbon Metrics",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Optimization Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Policy Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update ESG Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Carbon Metrics": {
      "main": [
        [
          {
            "node": "Consolidate All Actions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auto-Execute Strategy": {
      "main": [
        [
          {
            "node": "Consolidate All Actions",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Log Approved Strategy": {
      "main": [
        [
          {
            "node": "Consolidate All Actions",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Send ESG Report Email": {
      "main": [
        [
          {
            "node": "Consolidate All Actions",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Approval Workflow Tool": {
      "ai_tool": [
        [
          {
            "node": "Carbon Optimization Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Monitoring Agent": {
      "ai_tool": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Supervisor Agent": {
      "main": [
        [
          {
            "node": "Route by Action Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Approval Required": {
      "main": [
        [
          {
            "node": "Request Strategy Approval",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Auto-Execute Strategy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Consolidate All Actions": {
      "main": [
        [
          {
            "node": "Send Summary Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Calculations Tool": {
      "ai_tool": [
        [
          {
            "node": "Carbon Monitoring Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Policy Enforcement Agent": {
      "ai_tool": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Supervisor Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Optimization Agent": {
      "ai_tool": [
        [
          {
            "node": "Carbon Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Optimization Data": {
      "main": [
        [
          {
            "node": "Check Approval Required",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Strategy Approval": {
      "main": [
        [
          {
            "node": "Log Approved Strategy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Summary Notification": {
      "main": [
        [
          {
            "node": "Update KPI Dashboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Real-time Emissions Data Webhook": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Scheduled Carbon Data Collection": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}