Brokerage ops

Have n8n and Gemini read every new email, sort it into lead, property inquiry, or deal update, write the details into your Google Sheets CRM, and leave a fact-based reply draft in the Gmail thread

An n8n template by Sumedha Dilshi (published October 14, 2026) checks a Gmail inbox every minute, skips mail you sent and selected Gmail categories, removes duplicates against an Email Log sheet, and strips quoted replies. It loads the current Leads, Properties, Sale Deals, and Rental Deals sheets as context, then has Google Gemini classify the email and extract the sender, property or deal identifiers, and updates. The workflow adds or updates the lead or property, or writes checked field updates to the matching sale or rental deal. Matches below a confidence threshold you set go to Needs Review with no changes. When a lead, inquiry, or rental listing needs a reply, Gemini drafts a fact-based answer and saves it as a Gmail draft in the original thread, and deal updates trigger a summary email to your team. Every message is logged with its classification, matched IDs, actions taken, and whether a draft was made. Nothing goes to a client until you send the draft.

At a glance

Tools used
n8nGoogle GeminiGmailGoogle Sheets
Category
Brokerage ops
Audience
agent, team lead, property manager
Difficulty
Builder
Source
Triage real estate inbox leads and deals with Gmail, Gemini, and Google Sheets
Sumedha Dilshi (n8n creator) · n8n template · Oct 14, 2026
First step
Copy the template's five sheets (Leads, Properties, Sale Deals, Rental Deals, Email Log) with their exact tab names and headers, set ownEmails, teamEmail, signature, timezone, and minConfidence in the Config node, then send yourself a test inquiry and check the sheet row and the Gmail draft before you activate it.

Compliance note: Don't let the workflow change contract dates, prices, or deal status without someone reviewing the change, and keep the Needs Review route for anything unclear. Reply drafts should answer property questions with facts only and never steer buyers or renters by protected characteristics.

Suggested prompt

Written by this directory, inspired by the source. Replace the [bracketed] parts.

You sort emails for a real estate office. Using the email below and the current CRM rows provided (Leads, Properties, Sale Deals, Rental Deals), return JSON with: type (new lead, property inquiry, sale deal update, rental deal update, or other), sender name, email, and phone if given, the matching lead, property, or deal ID if one clearly matches, the fields that changed with their new values, a confidence score from 0 to 1, and needs_reply (true or false). Use only facts stated in the email or the CRM rows. If you can't match a deal with confidence, leave the ID empty and say why. Email: [latest message text without quoted replies]. CRM context: [rows].

Share on X Read the source

← All use cases