Calculate Embodied Carbon (CO2) for Revit/IFC Models using AI Classification
Needs changesWhat this workflow does
This AI workflow has 47 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI, Anthropic Chat Model, OpenAI Chat Model and xAI Grok Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Setup - Define file paths (Edit Fields (Set)): sets 4 fields: path_to_converter, project_file, group_by…
- Create - Excel filename (Edit Fields (Set)): sets 3 fields: xlsx_filename, path_to_converter, project_file
- Check - Does Excel file exist? (Read Binary File): uses Read Binary File
- If: checks a condition and branches into true / false
- Info - Skip conversion (Edit Fields (Set)): sets 2 fields: status, xlsx_filename
- Extract - Run converter (Execute Command): runs a shell command on the n8n host
- Merge: merges the data from its input branches
- Check - Did extraction succeed? (If): checks a condition and branches into true / false
- Set Parameters (Edit Fields (Set)): sets 1 field: path_to_file
- Error - Show what went wrong (Edit Fields (Set)): sets 3 fields: error_message, error_code, xlsx_filename
…plus 35 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
3 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent Enhanced (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Read Binary File in Read Excel File, Check - Does Excel file exist?: replace with Read/Write Files from Disk.
- Write Binary File in Write HTML to Project Folder, Write Excel to Project Folder: replace with Read/Write Files from Disk.
- Also check Spreadsheet File: Convert to File / Extract from File.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent Enhanced (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| Read Binary File Read Excel File, Check - Does Excel file exist? | Read/Write Files from Disk |
| Write Binary File Write HTML to Project Folder, Write Excel to Project Folder | Read/Write Files from Disk |
Nodes used (15)
- Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Spreadsheet File
n8n-nodes-base.spreadsheetFile - Read Binary File
n8n-nodes-base.readBinaryFile - Execute Command
n8n-nodes-base.executeCommand - Merge
n8n-nodes-base.merge - Manual Trigger
n8n-nodes-base.manualTrigger - Write Binary File
n8n-nodes-base.writeBinaryFile - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - xAI Grok Chat Model
@n8n/n8n-nodes-langchain.lmChatXAiGrok
From the author
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,…