Calculate Embodied Carbon (CO2) for Revit/IFC Models Using AI Classification

Estimate **embodied carbon (CO2e)** for grouped BIM/CAD elements. The workflow accepts an existing **XLSX** (grouped element data) or, if missing, can trigger a local **RvtExporter.exe** to generate one. It detects category fields, filters out non-building elements, infers **aggregation rules** with AI, computes **CO2** using densities & emission factors, and exports a **multi-sheet Excel** plus a clean **HTML** report. ## What it does - **Reads or builds XLSX** (from your model via `RvtExporter.exe` when needed). - **Finds category/volumetric fields**; separates building vs. annotation elements. - Uses AI to **infer aggregation rules** (sum/mean/first) per header. - **Groups** rows by your `group_by` field and aggregates totals. - Prepares **enhanced prompts** and calls your LLM to classify materials and estimate CO2 (A1-A3 minimum). - **Computes project totals** and generates a **multi-sheet XLSX** + **HTML** report with charts and hotspots. ## Prerequisites - **LLM credentials** for one provider (e.g., OpenAI, Anthropic, Gemini, Grok/OpenRouter). Enable one chat node and connect credentials. - **Windows host** only if you want to auto-extract from `.rvt/.ifc` via `RvtExporter.exe`. If you already have an XLSX, Windows is **not required**. - Optional: mapping/classifier files (XLSX/CSV/PDF) to improve material classification. ## How to use 1. **Import** this JSON into n8n. 2. Open the **Setup/Parameters** node(s) and set: - `project_file` - path to your `.rvt/.ifc` **or** to an existing grouped `*_rvt.xlsx` - `path_to_converter` - `C:\\DDC_Converter_Revit\\datadrivenlibs\\RvtExporter.exe` (optional) - `group_by` - e.g., `Type Name` / `Category` / `IfcType` - `sheet_name` - default `Summary` (if reading from XLSX) 3. **Enable one LLM node** and attach credentials; keep others disabled. 4. **Execute** (Manual trigger). The workflow detects/builds the XLSX, analyzes, classifies, estimates CO2, then writes **Excel** and opens the **HTML** report. ## Outputs - **Excel** (`CO2_Analysis_Report_YYYY-MM-DD.xlsx`, ~8 sheets): Executive Summary, All Elements, Material Summary, Category Analysis, Impact Analysis, Top 20 Hotspots, Data Quality, Recommendations. - **HTML**: executive report with key KPIs and charts. - Per-group fields include: Material (EU/DE/US), Quantity & Unit, Density, Mass, CO2 Factor, Total CO2 (kg/tonnes), CO2 %, Confidence, Assumptions. ## Notes & tips - Input quantities (volumes/areas) are **already aggregated per group** - do **not** multiply by element count. - Use `-no-collada` upstream if you only need XLSX in extraction. - Prefer ASCII-safe paths and ensure write permissions to output folder. ## Categories Data Extraction | Files & Storage | AI | CAD/BIM | Carbon/ESG ## Tags `cad-bim`, `co2`, `carbon`, `embodied-carbon`, `lca`, `revit`, `ifc`, `xlsx`, `html-report`, `llm` ## Author [DataDrivenConstruction.io](https://DataDrivenConstruction.io) [info@datadrivenconstruction.io](mailto:info@datadrivenconstruction.io) ## Consulting and Training We work with leading construction, engineering, consulting agencies, and technology firms around the world to help them implement open data principles, automate CAD/BIM processing, and build robust AI pipelines. If you would like to test this solution with your own data, or are interested in adapting the workflow to real project tasks, feel free to contact us. **Docs & Issues:** [Full Readme on GitHub](https://github.com/datadrivenconstruction/cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto)

n8n

Estimate embodied carbon (CO2e) for grouped BIM/CAD elements. The workflow accepts an existing XLSX (grouped element data) or, if missing, can trigger a local RvtExporter.exe to generate one. It detects category fields, filters out non-building elements, infers aggregation rules with AI, computes CO2 using densities & emission factors, and exports a multi-sheet Excel plus a clean HTML report.

What it does

  • Reads or builds XLSX (from your model via RvtExporter.exe when needed).
  • Finds category/volumetric fields; separates building vs. annotation elements.
  • Uses AI to infer aggregation rules (sum/mean/first) per header.
  • Groups rows by your group_by field and aggregates totals.
  • Prepares enhanced prompts and calls your LLM to classify materials and estimate CO2 (A1-A3 minimum).
  • Computes project totals and generates a multi-sheet XLSX + HTML report with charts and hotspots.

Prerequisites

  • LLM credentials for one provider (e.g., OpenAI, Anthropic, Gemini, Grok/OpenRouter). Enable one chat node and connect credentials.
  • Windows host only if you want to auto-extract from .rvt/.ifc via RvtExporter.exe. If you already have an XLSX, Windows is not required.
  • Optional: mapping/classifier files (XLSX/CSV/PDF) to improve material classification.

How to use

  1. Import this JSON into n8n.
  2. Open the Setup/Parameters node(s) and set:
    • project_file - path to your .rvt/.ifc or to an existing grouped *_rvt.xlsx
    • path_to_converter - C:\\DDC_Converter_Revit\\datadrivenlibs\\RvtExporter.exe (optional)
    • group_by - e.g., Type Name / Category / IfcType
    • sheet_name - default Summary (if reading from XLSX)
  3. Enable one LLM node and attach credentials; keep others disabled.
  4. Execute (Manual trigger). The workflow detects/builds the XLSX, analyzes, classifies, estimates CO2, then writes Excel and opens the HTML report.

Outputs

  • Excel (CO2_Analysis_Report_YYYY-MM-DD.xlsx, ~8 sheets): Executive Summary, All Elements, Material Summary, Category Analysis, Impact Analysis, Top 20 Hotspots, Data Quality, Recommendations.
  • HTML: executive report with key KPIs and charts.
  • Per-group fields include: Material (EU/DE/US), Quantity & Unit, Density, Mass, CO2 Factor, Total CO2 (kg/tonnes), CO2 %, Confidence, Assumptions.

Notes & tips

  • Input quantities (volumes/areas) are already aggregated per group - do not multiply by element count.
  • Use -no-collada upstream if you only need XLSX in extraction.
  • Prefer ASCII-safe paths and ensure write permissions to output folder.

Categories

Data Extraction | Files & Storage | AI | CAD/BIM | Carbon/ESG

Tags

cad-bim, co2, carbon, embodied-carbon, lca, revit, ifc, xlsx, html-report, llm

Author

DataDrivenConstruction.io info@datadrivenconstruction.io

Consulting and Training

We work with leading construction, engineering, consulting agencies, and technology firms around the world to help them implement open data principles, automate CAD/BIM processing, and build robust AI pipelines.

If you would like to test this solution with your own data, or are interested in adapting the workflow to real project tasks, feel free to contact us.

Docs & Issues: Full Readme on GitHub

$24.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Other workflows

More from Artem Boiko

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.