Generate photo-based construction cost estimates with GPT-4 Vision and DDC CWICR
Upload a construction photo via web form โ get a detailed cost estimate with work breakdown, resource costs, and professional HTML report. Powered by GPT-4 Vision and the open-source DDC CWICR database (55,000+ work items).
Who's it for
Site managers** who need quick estimates from mobile photos Renovation contractors** evaluating project scope from initial site visit Real estate inspectors** estimating repair costs Construction consultants** providing rapid ballpark figures DIY enthusiasts** planning home improvement budgets
What it does
Collects photo + region/language via n8n Form Analyzes photo with GPT-4 Vision (room type, elements, dimensions) Decomposes visible elements into construction work items Searches DDC CWICR vector database for matching rates Generates professional HTML report with cost breakdown
Supports 9 regions: ๐ฉ๐ช Berlin ยท ๐ฌ๐ง Toronto ยท ๐ท๐บ St. Petersburg ยท ๐ช๐ธ Barcelona ยท ๐ซ๐ท Paris ยท ๐ง๐ท Sรฃo Paulo ยท ๐จ๐ณ Shanghai ยท ๐ฆ๐ช Dubai ยท ๐ฎ๐ณ Mumbai
How it works
โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ Web Form โ โ โ STAGE 1 โ โ โ STAGE 4 โ โ โ Loop Works โ โ Photo+Lang โ โ GPT-4 Vision โ โ Decompose โ โ per item โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ โ โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ Identify room, elements, fixtures, dimensions โ โ โ Break down into 15-40 construction work items โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ HTML Report โ โ โ STAGE 7.5 โ โ โ STAGE 5 โ โ โ Qdrant โ โ Response โ โ Aggregate โ โ Parse+Score โ โ Vector DB โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
Pipeline stages:
| Stage | Node | Description | |-------|------|-------------| | 1 | GPT-4 Vision | Analyzes photo: room type, elements, materials, dimensions | | 4 | GPT-4 Decompose | Breaks elements into work items with quantities | | 5 | Vector Search + Score | Finds matching rates in DDC CWICR, quality scoring | | 7.5 | Aggregate & Validate | Sums costs, groups by phase, validates results | | 9 | HTML Report | Generates professional estimate document |
Prerequisites
| Component | Requirement | |-----------|-------------| | n8n | v1.30+ with Form Trigger support | | OpenAI API | GPT-4 Vision + Embeddings access | | Qdrant | Vector DB with DDC CWICR collections | | DDC CWICR Data | github.com/datadrivenconstruction/DDC-CWICR |
Setup
-
n8n Credentials (Settings โ Credentials) OpenAI API** โ required (GPT-4 Vision + text-embedding-3-large) Qdrant API** โ your Qdrant instance connection
-
Qdrant Collections Load DDC CWICR embeddings for your target regions: DE_BERLIN_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR ENG_TORONTO_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR RU_STPETERSBURG_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR ES_BARCELONA_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR FR_PARIS_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR PT_SAOPAULO_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR ZH_SHANGHAI_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR AR_DUBAI_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR HI_MUMBAI_workitems_costs_resources_EMBEDDINGS_3072_DDC_CWICR
-
Activate Workflow Import JSON into n8n Link OpenAI + Qdrant credentials to respective nodes Activate workflow Access form at: https://your-n8n/form/photo-estimate-pro-v3
Features
| Feature | Description | |---------|-------------| | ๐ธ Photo Analysis | GPT-4 Vision identifies room type, elements, fixtures | | ๐ Dimension Estimation | Uses reference objects (doors, tiles) for sizing | | ๐ง Work Decomposition | Breaks down to 15-40 specific work items | | ๐ฏ Quality Scoring | Rates match quality (high/medium/low/not_found) | | ๐ Phase Grouping | PREPARATION โ MAIN โ FINISHING โ MEP | | ๐ฐ Cost Breakdown | Labor, materials, machines per item | | โ Validation | Warns if <50% rates found or missing demolition | | ๐ 9 Languages | Full localization + regional pricing |
Form Fields
| Field | Type | Options | |-------|------|---------| | ๐ท Upload Photo | File | .jpg, .png, .webp | | ๐ Region & Language | Dropdown | 9 regions with currencies | | ๐๏ธ Work Type | Dropdown | New / Renovation / Repair / Auto | | ๐ Description | Textarea | Optional context |
Example Output
Input: Bathroom photo (renovation)
Region: ๐ฉ๐ช German - Berlin (EUR โฌ)
Generated Work Items: PREPARATION (3 items) โโโ Demolition of wall tiles โ 12 mยฒ โ โฌ180 โโโ Demolition of floor tiles โ 4.5 mยฒ โ โฌ95 โโโ Disposal of construction waste โ 0.8 mยณ โ โฌ120
MAIN (8 items) โโโ Floor waterproofing โ 4.5 mยฒ โ โฌ225 โโโ Wall waterproofing wet zone โ 8 mยฒ โ โฌ280 โโโ Floor screed โ 4.5 mยฒ โ โฌ135 โโโ Wall tiling โ 22 mยฒ โ โฌ880 โโโ Floor tiling โ 4.5 mยฒ โ โฌ225 โโโ Toilet installation โ 1 pcs โ โฌ320 โโโ Sink installation โ 1 pcs โ โฌ185 โโโ Shower cabin installation โ 1 pcs โ โฌ450
FINISHING (3 items) โโโ Ceiling painting โ 4.5 mยฒ โ โฌ68 โโโ Grouting โ 26.5 mยฒ โ โฌ133 โโโ Silicone sealing โ 8 m โ โฌ48
MEP (4 items) โโโ Socket installation โ 2 pcs โ โฌ90 โโโ Light point installation โ 2 pcs โ โฌ120 โโโ Mixer/faucet installation โ 2 pcs โ โฌ160 โโโ Ventilation installation โ 1 pcs โ โฌ85
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ TOTAL: โฌ3,799.00 Labor: โฌ1,520 ยท Materials: โฌ1,900 ยท Machines: โฌ379 Quality: 78% high match ยท 18 work items
Quality Scoring System
| Score | Level | Meaning | |-------|-------|---------| | 60-100 | ๐ข High | Exact match with resources | | 40-59 | ๐ก Medium | Good match, minor differences | | 20-39 | ๐ Low | Partial match, review needed | | 0-19 | ๐ด Not Found | No suitable rate found |
Scoring factors: Has price in database (+30) Has resources breakdown (+25) Unit matches expected (+20) Material keywords match (+15) Work type keywords match (+10) Vector similarity >0.5 (+10)
Notes & Tips
Best photo angles:** Capture full room, include reference objects (doors, sockets) Renovation mode:** AI automatically adds demolition works Validation warnings:** Check if <50% rates found โ may need manual additions Rate accuracy:** Depends on DDC CWICR coverage for your region Extend:** Chain with PDF generation, email delivery, or CRM integration
Categories
AI ยท Data Extraction ยท Document Ops ยท Files & Storage
Tags
photo-analysis, gpt-4-vision, construction, cost-estimation, qdrant, vector-search, form-trigger, html-report, multilingual
Author
DataDrivenConstruction.io
https://DataDrivenConstruction.io
info@datadrivenconstruction.io
Consulting & Training
We help construction, engineering, and technology firms implement: AI-powered visual estimation systems CAD/BIM data processing pipelines Vector database integration for construction data Multilingual cost database solutions
Contact us to test with your data or adapt to your project requirements.
Resources
DDC CWICR Database:** GitHub Qdrant Documentation:** qdrant.tech/documentation n8n Form Trigger:** docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger
โญ Star us on GitHub! github.com/datadrivenconstruction/DDC-CWICR
Related Templates
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Add product ideas to Google Sheets via a Slack
Use Case This workflow is a slight variation of a workflow we're using at n8n. In most companies, employees have a lot o...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments