Templates / Estimate construction costs from text with Telegram, OpenAI and DDC CWICR

Estimate construction costs from text with Telegram, OpenAI and DDC CWICR

Ready for 3.0

by Artem Boiko ✓ · 312 views · created 2025-12-26 · Document Extraction, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 70 nodes and runs on Telegram events (callback query, message). Along the way it connects Telegram, OpenAI Chat Model, Google Gemini Chat Model and Anthropic Chat Model and 2 more. It also calls api.openai.com over HTTP.

How it runs

Trigger: On Telegram events (callback query, message).

  1. 🔑 TOKEN (Edit Fields (Set)): sets 4 fields: bot_token, OPENAI_API_KEY, QDRANT_URL…
  2. Main (Code): runs custom JavaScript code
  3. Config (Code): runs custom JavaScript code
  4. Route (Switch): routes items into 11 branches
  5. 📤 Lang Menu (HTTP Request): calls an HTTP API (POST)
  6. Answer Lang CB (HTTP Request): calls an HTTP API (POST)
  7. Works Updated (Code): runs custom JavaScript code
  8. Edit Menu (Code): runs custom JavaScript code
  9. 📤 Ask New Work (HTTP Request): calls an HTTP API (POST)
  10. Answer Calc CB (HTTP Request): calls an HTTP API (POST)

…plus 57 more steps. See the full node list below.

Services it uses

TelegramOpenAI Chat ModelGoogle Gemini Chat ModelAnthropic Chat ModelOpenRouter Chat ModelDeepSeek Chat Model

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

A Telegram bot that converts natural-language work descriptions into detailed cost estimates using AI parsing, vector search, and the open-source DDC CWICR database with 55,000+ construction work items. Who's it for - Contractors & Estimators who need quick…

Excerpt from Artem Boiko's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.