Capture and route real estate leads with Google Sheets, Gmail, and Slack

Go to Workflow
0 views
Built by Redowan Ahmed Farhan Redowan Ahmed Farhan
Created on June 30, 2026

Description

Quick overview
This workflow captures real estate property inquiries via a webhook, validates and normalizes lead details, upserts the lead into Google Sheets, sends an auto-reply through Gmail, and notifies your team in Slack, with separate handling for high-priority leads and workflow failure alerts.

How it works
Receives a website property inquiry via a POST webhook.
Extracts the lead fields (name, email, phone, property ID, message, source, and timestamp) and rejects invalid submissions with a 400 JSON response explaining what’s missing.
Normalizes the lead data by lowercasing the email address and stripping non-numeric characters from the phone number.
Classifies the inquiry as high or standard priority based on keywords found in the message and property text.
Appends or updates the lead in a Google Sheets CRM table, matching on email to avoid duplicates.
Sends a Gmail auto-reply and posts a Slack notification, routing high-priority leads to a senior-agent message and standard leads to the general team.
Returns a JSON confirmation to the webhook caller and posts a Slack alert if the workflow errors.

Setup
Copy the webhook URL from the trigger and configure your website form/app to send a POST request with fields like name, email, phone, property_id, message, and source.
Add a Google Sheets credential, replace the spreadsheet and sheet selection, and ensure the sheet has headers for Email, Name, Phone, Source, Message, Priority, Property, and Submitted At.
Add a Gmail credential for sending the auto-reply emails and adjust the sender account and email copy if needed.
Add a Slack OAuth2 credential and set the target channels for standard lead notifications, priority lead notifications, and failure alerts.

This workflow was created by Redowan Ahmed Farhan and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
Slack
n8n-nodes-base.slack