Skip to main content

Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets

Workflow preview

Workflow preview
100%
Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow collects a construction Scope of Work PDF via an n8n form, uses Azure OpenAI to extract BOQ style line items, prices them using a Google Sheets unit rate database, gene...

Best for

  • Automation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatazureopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.formtrigger, n8n-nodes-base.extractfromfile, n8n-nodes-base.code, n8n-nodes-base.aggregate, n8n-nodes-base.googledocs

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets
Workflow name
Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets

Quick Overview

This workflow collects a construction Scope of Work PDF via an n8n form, uses Azure OpenAI to extract BOQ-style line items, prices them using a Google Sheets unit-rate database, generates a formatted Google Docs bid report, logs the estimate to Google Sheets, and emails the result via Gmail.

How it works

  1. Receives project details and a Scope of Work PDF through an n8n form submission.
  2. Extracts text from the uploaded PDF and sends it to Azure OpenAI (GPT-4o-mini) to return structured JSON line items.
  3. Cleans and parses the AI response into individual BOQ items enriched with project name, client name, and estimator email.
  4. Looks up matching unit rates in a Google Sheets UnitRates sheet using keyword matching and applies category-based fallback rates when no match is found.
  5. Calculates total cost per line item, aggregates all items, and builds a bid summary with category totals and grand totals including 18% GST.
  6. Creates a Google Docs report, writes the full bid content into the document, and appends the generated estimate text to a Google Sheets BidLog sheet.
  7. Emails the estimator via Gmail with key totals and a link to the Google Docs report.

Setup

  1. Add credentials for Azure OpenAI, Google Sheets OAuth2, Google Docs OAuth2, Gmail OAuth2, and Slack OAuth2 (for error alerts).
  2. Create or update a Google Sheets file with a UnitRates sheet containing columns like “Description Keyword”, “Unit Rate (₹)”, and “Source / Project Ref”, and ensure a BidLog sheet exists for appended logs.
  3. Replace the placeholder Google Sheets document ID and the Google Drive folder ID in the Google Sheets and Google Docs nodes.
  4. Activate the workflow and share the generated n8n form URL with estimators so they can upload SOW PDFs and receive emailed estimates.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 📋 Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Section — Intake

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Section — AI Extraction

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Section — Costing

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Section — Output

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Credentials Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Azure OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 8 - 🤖 AI Agent – Extract Line Items

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 9 - Form — Upload SOW

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 10 - Extract from File

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 11 - Parse Extracted Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Calculate Cost Per Item

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Aggregate All Line Items

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 14 - Build Bid Summary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Google Docs — Create Bid Report

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 16 - Google Sheets — Log Bid

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 17 - Gmail — Send Estimate to Estimator

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 18 - Google Sheets — Rate Lookup1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 19 - Google Docs — Write Report Content

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 20 - On Workflow Error

Type / Role
n8n-nodes-base.errorTrigger - errorTrigger
Config choices
Version 1

Block 21 - Slack – Send Error Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 22 - Section: Error Handler

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets
Complexity advanced
Nodes 22
Categories Automation
Author Rahul Joshi
Published 16 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16426/16426.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate construction bid estimates with Azure OpenAI, Google Docs and Sheets do?

Quick Overview This workflow collects a construction Scope of Work PDF via an n8n form, uses Azure OpenAI to extract BOQ style line items, prices them using a Google Sheets unit rate database, gene...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Automation use case.