Automation library · Lead generation

Qualify and route real estate leads from web

Started by another system calling it, and works across Gmail, Google Sheets and HubSpot. It hands the judgement calls to DeepSeek. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: DeepSeek

22 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 2Logic 11Service 6

The steps in the order they run, from what starts it.

  1. 1Capture Webform LeadsWebhookStarts it
  2. 2Capture WhatsApp LeadsWebhookStarts it
  3. 3Capture Facebook LeadsWebhookStarts it
  4. 4DeepSeek AI Chat ModelLm Chat Deep SeekModel
  5. 5Normalize Incoming LeadsCodeLogic
  6. 6Qualify Leads with AIAgentModel
  7. 7Find Duplicate Leads in HubSpotHubspotService
  8. 8Extract AI InsightsCodeLogic
  9. 9Flag Duplicate LeadsCodeLogic
  10. 10Fetch Available AgentsGoogle SheetsService
  11. 11Check for DuplicatesIfLogic
  12. 12Organize Agent InformationCodeLogic
  13. 13Log and Skip DuplicatesCodeLogic
  14. 14Determine Agent AvailabilityIfLogic
  15. 15Create Agent Claim DataCodeLogic
  16. 16Assemble Lead DataCodeLogic
  17. 17Update Agent Slot in SheetsGoogle SheetsService
  18. 18Add Lead to HubSpot CRMHubspotService
  19. 19Compose Agent NotificationCodeLogic
  20. 20Draft Booking EmailCodeLogic
  21. 21Email Assigned AgentGmailService
  22. 22Email Booking Link to LeadGmailService

How it's built

Starts on
Another system calling it
Steps
22, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, HubSpot
Model
DeepSeek

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and HubSpot accounts, and a key for DeepSeek. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls DeepSeek. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.