{
  "id": "jE-RwcIvKAj0yzwr7xZeS",
  "name": "AI-powered carbon accounting and emissions verification system",
  "tags": [],
  "nodes": [
    {
      "id": "e3bd3795-d1e2-4e2f-aa09-17ff5de7278c",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -880,
        560
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "companyName",
              "type": "string",
              "value": "Acme Corporation"
            },
            {
              "id": "id-2",
              "name": "reportingPeriod",
              "type": "string",
              "value": "2024-Q1"
            },
            {
              "id": "id-3",
              "name": "emissionsThreshold",
              "type": "number",
              "value": 1000
            },
            {
              "id": "id-4",
              "name": "regulatoryFramework",
              "type": "string",
              "value": "GHG Protocol"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "520bfe4e-07ab-4eb5-8ca1-0829bbaeb29c",
      "name": "Generate Sample Emissions Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -656,
        560
      ],
      "parameters": {
        "jsCode": "// Generate sample emissions data for carbon accounting\nconst facilities = [\n  { name: 'Manufacturing Plant A', location: 'California, USA', type: 'Production' },\n  { name: 'Distribution Center B', location: 'Texas, USA', type: 'Logistics' },\n  { name: 'Office Complex C', location: 'New York, USA', type: 'Administrative' },\n  { name: 'Research Lab D', location: 'Massachusetts, USA', type: 'R&D' },\n  { name: 'Warehouse E', location: 'Illinois, USA', type: 'Storage' }\n];\n\nconst emissionsData = [];\n\nfor (let i = 0; i < facilities.length; i++) {\n  const facility = facilities[i];\n  \n  // Generate random energy consumption (kWh)\n  const electricityConsumption = Math.floor(Math.random() * 500000) + 100000;\n  const naturalGasConsumption = Math.floor(Math.random() * 300000) + 50000;\n  \n  // Generate random emissions values (metric tons CO2e)\n  const scope1Emissions = Math.floor(Math.random() * 1000) + 200; // Direct emissions\n  const scope2Emissions = Math.floor(Math.random() * 800) + 150; // Indirect emissions from purchased energy\n  const scope3Emissions = Math.floor(Math.random() * 1500) + 300; // Other indirect emissions\n  \n  const totalEmissions = scope1Emissions + scope2Emissions + scope3Emissions;\n  \n  emissionsData.push({\n    facilityId: `FAC-${String(i + 1).padStart(3, '0')}`,\n    facilityName: facility.name,\n    location: facility.location,\n    facilityType: facility.type,\n    reportingPeriod: '2024-Q1',\n    energyConsumption: {\n      electricity: electricityConsumption,\n      naturalGas: naturalGasConsumption,\n      unit: 'kWh'\n    },\n    emissions: {\n      scope1: scope1Emissions,\n      scope2: scope2Emissions,\n      scope3: scope3Emissions,\n      total: totalEmissions,\n      unit: 'metric tons CO2e'\n    },\n    emissionsIntensity: parseFloat((totalEmissions / (electricityConsumption + naturalGasConsumption) * 1000).toFixed(4)),\n    dataQuality: Math.random() > 0.3 ? 'High' : 'Medium',\n    verificationStatus: 'Pending',\n    timestamp: new Date().toISOString()\n  });\n}\n\nreturn emissionsData.map(data => ({ json: data }));"
      },
      "typeVersion": 2
    },
    {
      "id": "4b96b0f6-f35e-405f-93d6-63ca5a98bd7e",
      "name": "Emissions Validation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -432,
        560
      ],
      "parameters": {
        "text": "=Validate the following emissions data: {{ $json }}",
        "options": {
          "systemMessage": "You are an Emissions Validation Specialist responsible for verifying the accuracy and completeness of carbon emissions data.\n\nYour task is to:\n1. Verify all required fields are present (facility_name, energy_consumption, scope1_emissions, scope2_emissions, scope3_emissions)\n2. Check data types and value ranges are valid (positive numbers, realistic values)\n3. Validate calculation consistency between energy consumption and emissions\n4. Identify any suspicious or anomalous values\n5. Check for completeness of scope 1, 2, and 3 emissions data\n6. Return validation status as VALID or INVALID\n7. Provide detailed validation findings and any issues detected"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 3.1
    },
    {
      "id": "0f514da6-e734-4fb5-b5e4-aa91309c19c7",
      "name": "OpenAI Model - Validation",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -464,
        784
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.1
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "3096830a-8fa1-4733-b177-a1645a96b824",
      "name": "Validation Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -288,
        784
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"validationStatus\": \"VALID\",\n  \"dataCompleteness\": 100,\n  \"issues\": [],\n  \"findings\": \"All emissions data validated successfully\",\n  \"scope1_valid\": true,\n  \"scope2_valid\": true,\n  \"scope3_valid\": true\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "49df4e9a-eb25-4be9-8262-bb1443a01474",
      "name": "Route by Validation Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        -80,
        544
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Valid",
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.validationStatus }}",
                    "rightValue": "VALID"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Invalid",
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.validationStatus }}",
                    "rightValue": "INVALID"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {
          "fallbackOutput": "extra"
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d10498a0-e370-458d-8b12-8b6a866d25f9",
      "name": "Carbon Accounting Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        272,
        704
      ],
      "parameters": {
        "text": "={{ $fromAI(\"emissionsData\", \"Validated emissions data to calculate carbon accounting metrics\", \"json\") }}",
        "options": {
          "systemMessage": "You are a Carbon Accounting Specialist responsible for calculating comprehensive carbon footprint metrics.\n\nYour task is to:\n1. Calculate total carbon footprint across all scopes (Scope 1, 2, and 3)\n2. Compute emissions intensity metrics (per revenue, per employee, per unit)\n3. Calculate year-over-year emissions trends and reduction percentages\n4. Identify highest emission sources and categories\n5. Compute carbon offset requirements to achieve net-zero targets\n6. Calculate emissions by facility and business unit\n7. Return structured carbon accounting report with all calculations"
        },
        "hasOutputParser": true,
        "toolDescription": "Calculates comprehensive carbon accounting metrics including total emissions, intensity metrics, trends, and offset requirements"
      },
      "typeVersion": 3
    },
    {
      "id": "15b633ef-8137-4eaf-b4b1-3645738bb4ca",
      "name": "OpenAI Model - Accounting",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        224,
        896
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.2
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "3e7ad908-5ca6-4698-bbd7-8e335e0bdfa1",
      "name": "Accounting Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        432,
        912
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"total_emissions_tco2e\": 5000,\n  \"scope1_total\": 1500,\n  \"scope2_total\": 2000,\n  \"scope3_total\": 1500,\n  \"emissions_intensity_per_revenue\": 0.05,\n  \"highest_emission_source\": \"Facility A\",\n  \"carbon_offset_required\": 500,\n  \"yoy_reduction_percentage\": 10\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "6d4ea54f-2449-406e-a112-b16b3b019b0d",
      "name": "Regulatory Compliance Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        832,
        704
      ],
      "parameters": {
        "text": "={{ $fromAI(\"carbonReport\", \"Carbon accounting report to assess regulatory compliance\", \"json\") }}",
        "options": {
          "systemMessage": "You are a Regulatory Compliance Specialist for carbon emissions and environmental reporting.\n\nYour task is to:\n1. Assess compliance with specified regulatory framework (GHG Protocol, CDP, TCFD, etc.)\n2. Verify all mandatory disclosure requirements are met\n3. Check data quality and verification standards\n4. Identify any compliance gaps or missing information\n5. Assess materiality and completeness of scope 3 emissions reporting\n6. Evaluate alignment with science-based targets and net-zero commitments\n7. Return compliance status as COMPLIANT, NON_COMPLIANT, or REQUIRES_REVIEW\n8. Provide detailed compliance assessment and remediation recommendations"
        },
        "hasOutputParser": true,
        "toolDescription": "Assesses regulatory compliance for carbon emissions reporting against frameworks like GHG Protocol, CDP, and TCFD"
      },
      "typeVersion": 3
    },
    {
      "id": "408d58f4-a2c0-46db-bb20-133c0bbbbc14",
      "name": "OpenAI Model - Compliance",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        864,
        912
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.1
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "c3fc86c8-973b-4d26-a5d2-a372a2efc54f",
      "name": "Compliance Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1008,
        912
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"complianceStatus\": \"COMPLIANT\",\n  \"framework\": \"GHG Protocol\",\n  \"disclosure_completeness\": 95,\n  \"compliance_gaps\": [],\n  \"materiality_assessment\": \"Complete\",\n  \"recommendations\": \"Continue current reporting practices\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "dd69340b-648f-446e-b2fd-2dbffd19b9b8",
      "name": "Reporting Orchestrator Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        432,
        496
      ],
      "parameters": {
        "text": "=Generate comprehensive carbon accounting and regulatory disclosure report for: {{ $json }}",
        "options": {
          "systemMessage": "You are a Carbon Reporting Orchestrator responsible for coordinating carbon accounting analysis and regulatory compliance assessment.\n\nYour task is to:\n1. Call the Carbon Accounting Calculator tool to compute all carbon metrics\n2. Call the Regulatory Compliance Checker tool to assess compliance status\n3. Synthesize results from both tools into a comprehensive report\n4. Generate executive summary with key findings and recommendations\n5. Identify priority actions for emissions reduction and compliance improvement\n6. Return structured report with carbon metrics, compliance status, and action items"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 3.1
    },
    {
      "id": "e7eea11b-6c9b-4cf2-b466-f772e8a5a954",
      "name": "OpenAI Model - Orchestrator",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        144,
        704
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.3
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "2748314e-a2a2-4c30-9b37-c5322808c9d1",
      "name": "Report Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1136,
        720
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"report_id\": \"RPT-2024-001\",\n  \"complianceStatus\": \"COMPLIANT\",\n  \"total_emissions_tco2e\": 5000,\n  \"executive_summary\": \"Carbon footprint analysis complete\",\n  \"carbon_metrics\": {},\n  \"compliance_assessment\": {},\n  \"priority_actions\": [],\n  \"report_date\": \"2024-01-15\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "8d79f728-9f70-4793-ac3f-aee6db288565",
      "name": "Route by Compliance Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        1296,
        576
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "Compliant",
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.complianceStatus }}",
                    "rightValue": "COMPLIANT"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "Non-Compliant",
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": false,
                  "typeValidation": "loose"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.output.complianceStatus }}",
                    "rightValue": "NON_COMPLIANT"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {
          "fallbackOutput": "extra"
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "bcb92280-5164-4918-a3a5-f3e0e082379c",
      "name": "Store Compliant Reports",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1520,
        496
      ],
      "parameters": {
        "columns": {
          "value": {},
          "mappingMode": "defineBelow"
        },
        "options": {},
        "dataTableId": {
          "__rl": true,
          "mode": "name",
          "value": "CompliantEmissionsReports"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "46f66392-4d24-4e5b-b8a9-681466097291",
      "name": "Store Non-Compliant Reports",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1520,
        688
      ],
      "parameters": {
        "columns": {
          "value": {},
          "mappingMode": "defineBelow"
        },
        "options": {},
        "dataTableId": {
          "__rl": true,
          "mode": "name",
          "value": "NonCompliantEmissionsReports"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "ac6b667a-77e8-4a1d-8d17-ba29fb322e62",
      "name": "Store Invalid Emissions Data",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        960,
        1104
      ],
      "parameters": {
        "columns": {
          "value": {},
          "mappingMode": "defineBelow"
        },
        "options": {},
        "dataTableId": {
          "__rl": true,
          "mode": "name",
          "value": "InvalidEmissionsData"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "0a26673f-f90f-4115-8241-b4c92daacca7",
      "name": "Merge All Results",
      "type": "n8n-nodes-base.merge",
      "position": [
        1744,
        672
      ],
      "parameters": {
        "mode": "combine",
        "options": {},
        "combineBy": "combineByPosition",
        "numberInputs": 3
      },
      "typeVersion": 3.2
    },
    {
      "id": "d8c6c9d0-cbce-4941-8b9c-59f33dc7eced",
      "name": "Format Final Summary",
      "type": "n8n-nodes-base.set",
      "position": [
        1968,
        688
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "workflow_execution_date",
              "type": "string",
              "value": "={{ $now.toISO() }}"
            },
            {
              "id": "id-2",
              "name": "total_records_processed",
              "type": "number",
              "value": "={{ $items().length }}"
            },
            {
              "id": "id-3",
              "name": "summary",
              "type": "string",
              "value": "Carbon accounting and emissions verification workflow completed successfully"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "00b3b7ec-750a-42c3-8df6-1834bfcabd5e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 5,
        "width": 432,
        "height": 368,
        "content": "## Prerequisites\nNVIDIA NIM API key and Google Sheets access with write permissions.\n## Use Cases\nAutomates monthly GHG reporting and EPA compliance submissions\n## Customization\nExtend with region-specific regulations and integrate live emissions monitoring systems\n## Benefits\nCuts report preparation time by 80% and eliminates manual calculation errors"
      },
      "typeVersion": 1
    },
    {
      "id": "20044ad2-52a4-4368-8c77-934889ff607d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        80
      ],
      "parameters": {
        "width": 400,
        "height": 288,
        "content": "## Setup Steps\n1. Configure API credentials with Llama-3.1-70B-Instruct model access\n2. Set up schedule trigger for monthly/quarterly reporting cycles\n3. Connect Google Sheets for compliant report storage with appropriate folder permissions\n4. Configure compliance routing logic based on validation outcomes\n5. Customize AI agent prompts for specific regulatory frameworks and industry requirements"
      },
      "typeVersion": 1
    },
    {
      "id": "7aa1e669-ba7e-4029-9f87-ffe318ccbf98",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        80
      ],
      "parameters": {
        "width": 592,
        "height": 288,
        "content": "## How It Works\nThis workflow automates emissions data validation and compliance reporting for environmental managers, sustainability officers, and compliance teams across manufacturing, energy, and transportation sectors. Manual verification of emissions data against multiple regulatory frameworks such as GHG Protocol, EPA standards, is time-consuming and error-prone, risking missed deadlines and penalties. On a set schedule, the system ingests synthetic emissions data and deploys specialist AI agents in parallel: one verifies data accuracy, another reviews accounting methodology, and a third assesses regulatory compliance. An orchestrator consolidates all findings and routes outcomes intelligently, while non-compliant results trigger exception handling and corrective action workflows. Teams gain audit-ready records, consistent framework alignment, and timely reporting without manual bottlenecks."
      },
      "typeVersion": 1
    },
    {
      "id": "891c8b21-8d3a-41e6-80fe-22e293e2be72",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1152,
        416
      ],
      "parameters": {
        "color": 7,
        "width": 992,
        "height": 512,
        "content": "## Emissions Validation\nIdentifies data gaps and mathematical errors before regulatory submission to prevent compliance violations."
      },
      "typeVersion": 1
    },
    {
      "id": "5e1149e5-2d92-4c68-88d5-766c82f8eef5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        400
      ],
      "parameters": {
        "color": 7,
        "width": 848,
        "height": 752,
        "content": "## Accounting Review \nEnsures emissions categorization meets international reporting standards for stakeholder transparency."
      },
      "typeVersion": 1
    },
    {
      "id": "fe9db634-f68c-430e-9cdc-e68db55bd16a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        400
      ],
      "parameters": {
        "color": 7,
        "width": 1328,
        "height": 864,
        "content": "## Compliance Assessment \nConfirms legal compliance and identifies gaps requiring corrective action before filing deadlines."
      },
      "typeVersion": 1
    },
    {
      "id": "617efb7b-3ff4-4b38-8d09-0cf586200598",
      "name": "Trigger for data collection",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1104,
        560
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.3
    }
  ],
  "active": false,
  "settings": {
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "2d782703-6128-4fef-aae2-0d39919e46c5",
  "connections": {
    "Merge All Results": {
      "main": [
        [
          {
            "node": "Format Final Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Report Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Reporting Orchestrator Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Generate Sample Emissions Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Compliant Reports": {
      "main": [
        [
          {
            "node": "Merge All Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Accounting Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Carbon Accounting Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Compliance Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Regulatory Compliance Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Validation Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Emissions Validation Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Accounting": {
      "ai_languageModel": [
        [
          {
            "node": "Carbon Accounting Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Compliance": {
      "ai_languageModel": [
        [
          {
            "node": "Regulatory Compliance Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Validation": {
      "ai_languageModel": [
        [
          {
            "node": "Emissions Validation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Emissions Validation Agent": {
      "main": [
        [
          {
            "node": "Route by Validation Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Compliance Status": {
      "main": [
        [
          {
            "node": "Store Compliant Reports",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store Non-Compliant Reports",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Validation Status": {
      "main": [
        [
          {
            "node": "Reporting Orchestrator Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store Invalid Emissions Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Orchestrator": {
      "ai_languageModel": [
        [
          {
            "node": "Reporting Orchestrator Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Store Non-Compliant Reports": {
      "main": [
        [
          {
            "node": "Merge All Results",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Trigger for data collection": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Carbon Accounting Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Reporting Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Reporting Orchestrator Agent": {
      "main": [
        [
          {
            "node": "Route by Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Invalid Emissions Data": {
      "main": [
        [
          {
            "node": "Merge All Results",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Generate Sample Emissions Data": {
      "main": [
        [
          {
            "node": "Emissions Validation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Regulatory Compliance Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Reporting Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}