Turn home inspection reports into repair quotes with OpenAI, Gmail and Sheets
Ready for 3.0What this workflow does
This AI workflow has 52 nodes and runs on Gmail events (plus 5 other triggers). Along the way it connects Gmail, OpenAI Chat Model and Google Sheets.
How it runs
Trigger: On Gmail events (plus 5 other triggers).
- Your settings (Edit Fields (Set)): sets or maps fields
- Read settings for the form (Code): runs custom JavaScript code
- Read your settings (Code): runs custom JavaScript code
- Read the request (Code): runs custom JavaScript code
- What started this? (Switch): routes items into branches
- Report attached? (If): checks a condition and branches into true / false
- Read the quote (Google Sheets): uses Google Sheets
- Read all quotes (Google Sheets): uses Google Sheets
- Create the spreadsheet (Google Sheets): uses Google Sheets
- Read the PDF (Extract from File): extracts data from a file
…plus 32 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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Report email).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (17)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - 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 - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Gmail
n8n-nodes-base.gmail - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow ingests home inspection report PDFs from Gmail or an n8n Form, uses OpenAI to extract repair defects and map them to a Google Sheets price book, then emails you a review link and hosts a quote page where you send the quote and…