Triage real estate inbox leads and deals with Gmail, Gemini, and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 35 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets and Google Gemini Chat Model.
How it runs
Trigger: On Gmail events.
- Config (Edit Fields (Set)): sets 12 fields: leadsSheetUrl, propertiesSheetUrl, saleDealsSheetUrl…
- Load Email Log (Google Sheets): read
- Prepare New Emails (Code): runs custom JavaScript code
- Loop Over Emails (Loop Over Items (Split in Batches)): loops over the items in batches
- Load Leads (Google Sheets): read
- Load Properties (Google Sheets): read
- Load Sale Deals (Google Sheets): read
- Load Rental Deals (Google Sheets): read
- Build AI Context (Code): runs custom JavaScript code
- Extract Email Data (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Extract Model
…plus 21 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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) (Gmail Trigger).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow monitors a shared Gmail inbox, uses Google Gemini to classify and extract real estate email details, updates a Google Sheets-based CRM (leads, properties, and deals), creates reply drafts in Gmail when needed, and logs every…