Turn estimates into supplier material orders with OpenAI, Gmail and Sheets
Ready for 3.0What this workflow does
This AI workflow has 53 nodes and runs when someone submits an n8n form (plus 4 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model and Gmail.
How it runs
Trigger: When someone submits an n8n form (plus 4 other triggers).
- Read settings for the form (Code): runs custom JavaScript code
- Your settings (Edit Fields (Set)): sets or maps fields
- Read the suppliers (form) (Google Sheets): uses Google Sheets
- Read your settings (Code): runs custom JavaScript code
- Read the catalog (form) (Google Sheets): uses Google Sheets
- What started this? (Switch): routes items into branches
- Read the orders (form) (Google Sheets): uses Google Sheets
- Read the suppliers (Google Sheets): uses Google Sheets
- Create the spreadsheet (Google Sheets): uses Google Sheets
- Find the estimate PDF (Code): runs custom JavaScript code
…plus 36 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook - Split Out
n8n-nodes-base.splitOut
From the author
Quick overview This workflow collects a job’s estimate (PDF or typed list) via an n8n form, uses OpenAI to extract materials, matches them to a Google Sheets catalog, and coordinates review, supplier confirmation, and crew delivery checks through Gmail and a…