Build contractor job closeout packs with OpenAI, Google Drive and Gmail
Ready for 3.0What this workflow does
This AI workflow has 35 nodes and runs when someone submits an n8n form (plus 2 other triggers). Along the way it connects Google Drive, OpenAI Chat Model, Gmail and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (plus 2 other triggers).
- Your settings (Edit Fields (Set)): sets or maps fields
- Read your settings (Code): runs custom JavaScript code
- What started this? (Switch): routes items into branches
- Create the job folder (Google Drive): uses Google Drive
- Read the closeouts (Google Sheets): uses Google Sheets
- Create the spreadsheet (Google Sheets): uses Google Sheets
- One item per photo (Code): runs custom JavaScript code
- Morning follow-up check (Code): runs custom JavaScript code
- Example closeout (Code): runs custom JavaScript code
- Shrink each photo (Edit Image): uses Edit Image
…plus 20 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 (17)
- n8n Form Trigger
n8n-nodes-base.formTrigger - 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 Drive
n8n-nodes-base.googleDrive - Edit Image
n8n-nodes-base.editImage - 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 - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut
From the author
Quick overview This workflow collects closeout details and photos via an n8n Form, uses OpenAI to draft homeowner-friendly text, saves a branded closeout pack to Google Drive, emails the PDF via Gmail, logs the job in Google Sheets, and runs daily follow-ups…