What This Automation Does
This workflow in n8n helps you check and score new real estate leads fast.
It does this by connecting your CRM with BatchData’s Property Lookup API.
- It takes new lead info from CRM via a webhook.
- Fetches more full lead details using CRM API.
- Checks property info like value, size, and age with BatchData API.
- Scores the lead by set rules based on that property data.
- Updates the CRM record with score and property info.
- Sends alerts or tasks for high-value leads.
This workflow saves time and stops leads being missed because of bad or slow data work.
Beginner step-by-step: How to use this workflow in n8n
1. Importing the workflow
- Download the workflow file using the Download button on this page.
- Open your n8n editor.
- Click on the menu and choose Import from File.
- Select the file you downloaded and import it.
2. Configuring credentials and details
- Add your CRM API credentials under n8n credentials section.
- Add your BatchData API Key as HTTP Header Auth credentials named for BatchData.
- If using Slack notifications, add Slack API token in Slack node credentials.
- Check the Webhook node URL and configure your CRM to send new lead notifications to this webhook.
- Update any IDs, emails, channels, or table names in the nodes to match your CRM and Slack setup.
3. Testing and activating
- Send a test lead from your CRM or use test data matching the webhook schema.
- Check the workflow runs and data flows properly through the nodes.
- Look for lead scoring results and CRM updates.
- Activate the workflow with the toggle switch in n8n when ready for live use.
Inputs, Processing, and Outputs
Inputs
- New lead data from CRM via webhook, includes lead ID and address.
- Lead details fetched from CRM API using this lead ID.
- Property data fetched from BatchData API using address info.
Processing
- Lead details enriched and verified with property info.
- Application of a scoring algorithm based on property value, size, age, ownership, and lot size.
- Qualification status assigned by score ranges.
- Branching of workflow based on whether lead score qualifies as high-value.
- Creation of follow-up tasks for high-value leads or notifications for others.
Outputs
- Updated CRM lead record with score, qualification, and notes.
- Urgent follow-up tasks created in CRM for high-value leads.
- Slack notifications sent about lead qualification.
Tools and Services Used
- n8n Automation Platform: Runs the workflow and nodes.
- CRM System API: Provides lead data and receives updates.
- BatchData Property Lookup API: Returns detailed property info for scoring.
- Slack API (optional): Sends notifications to sales team channels.
Customizations
- You can change how the lead score is calculated by editing the Score And Qualify Lead code.
- New property factors like crime rates or school scores can be added by adjusting BatchData API calls and code logic.
- Notification method can be switched from Slack to email or SMS by changing the last notification node.
- CRM update requests can be customized to fit different data field names or added info.
- Routing logic can be changed to direct leads by location or source using more IF nodes.
Troubleshooting
- 401 Unauthorized from BatchData API: Check that the API Key is correct and set in credentials exactly with header name
x-api-key. - Lead data missing in CRM update: Check CRM API URL and permissions. Test API separately to see response format.
- Task creation errors (400 Bad Request): Make sure all required fields are included in the Create Immediate Follow-up Task node and match CRM API spec.
Deployment Guide
Activate the workflow inside n8n by toggling it ON.
Set your CRM system to send new lead data to the webhook URL you get from the Webhook node.
Watch n8n’s logs to see if things run smoothly.
If APIs have limits, add retries or delays in HTTP Request nodes.
You can host n8n yourself for better control and speed if needed — see self-host n8n.
Summary
✓ Workflow checks and scores real estate leads automatically.
✓ Saves time by fetching property data and scoring without manual work.
✓ Updates CRM lead records with clear scores and status.
✓ Sends alerts to the sales team for quick action on top leads.
→ Results in better lead follow-up and fewer opportunities lost.
