Qualify and route real estate leads from web and WhatsApp to HubSpot with DeepSeek and Gmail
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects HubSpot, Google Sheets, Gmail and DeepSeek Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Normalize Incoming Leads (Code): runs custom JavaScript code
- Find Duplicate Leads in HubSpot (HubSpot): search
- Flag Duplicate Leads (Code): runs custom JavaScript code
- Check for Duplicates (If): checks a condition and branches into true / false
- Log and Skip Duplicates (Code): runs custom JavaScript code
- Qualify Leads with AI (AI Agent): runs an AI agent, with model: DeepSeek AI Chat Model
- Extract AI Insights (Code): runs custom JavaScript code
- Fetch Available Agents (Google Sheets): uses Google Sheets
- Organize Agent Information (Code): runs custom JavaScript code
- Determine Agent Availability (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other HubSpot + Gmail templates (102) · Other HubSpot + Google Sheets templates (86)
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 (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HubSpot
n8n-nodes-base.hubspot - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - DeepSeek Chat Model
@n8n/n8n-nodes-langchain.lmChatDeepSeek
From the author
Quick overview Captures real estate leads from web forms, WhatsApp and Facebook Lead Ads, then deduplicates and qualifies them with DeepSeek AI.Assigns each lead to the next available agent through fair round robin rotation, logs everything in HubSpot, and…