AI Lead Research & Scoring Agent: Automate RevOps with n8n + Claude
What This Workflow Does
This workflow automates the most tedious part of sales: lead research. It triggers whenever a new lead is added to your CRM, scrapes their company website and LinkedIn profile using Firecrawl, and uses claude-3-5-sonnet to score the lead against your ICP and draft a hyper-personalized outreach email.
Who It's For
Sales Development Representatives (SDRs) and RevOps managers who want to stop spending 20 minutes researching every lead and start focusing on high-value conversations.
What You'll Need
- n8n account (self-hosted or cloud)
- Anthropic API key
- Firecrawl API key (for web scraping)
- CRM access (HubSpot or Salesforce)
- Estimated setup time: 45–60 minutes
What You Get
- Complete lead profile enriched with recent news and tech stack data
- Automated lead scoring (1-100) based on your custom ICP rules
- Personalized outreach drafts that actually get replies
- Saves 10-15 hours/week per SDR
The Workflow
Trigger on New CRM Lead
Set up a HubSpot or Salesforce trigger node in n8n that fires whenever a new Lead or Contact is created. Ensure you capture the 'Website' and 'Company Name' fields as these are critical for the research phase.
Watch out: Filter for leads that have a valid company website to avoid wasting API credits on incomplete data.
Scrape Website Data with Firecrawl
Use the Firecrawl node to 'crawl' the lead's company website. Extract the 'About Us', 'Products', and 'Blog' pages to get a deep understanding of their business model and recent announcements.
Watch out: Set a depth limit of 2 and max pages of 5 to keep the research fast and cost-effective.
Analyze and Score Lead with Claude
Send the scraped text to claude-3-5-sonnet. Provide your Ideal Customer Profile (ICP) criteria and ask Claude to score the lead (1-100) and identify 'pain points' your product solves.
Watch out: Use a system prompt that defines your ICP precisely (e.g., 'Targeting B2B SaaS companies with 50-200 employees').
Draft Personalized Outreach
Using the score and pain points from the previous step, have Claude draft a personalized email. It should reference a specific detail found on their website to prove it's not a generic template.
Watch out: Instruct Claude to keep the email under 150 words and focus on one specific value proposition.
Update CRM and Notify Slack
Write the score, research notes, and email draft back to the Lead record in your CRM. Finally, send a Slack message to the lead owner for 'Hot' leads (score > 80).
Watch out: Use custom fields in HubSpot/Salesforce to store the AI-generated data so it doesn't clutter the main notes.
Workflow Insights
Deep dive into the implementation and ROI of the AI Lead Research & Scoring Agent: Automate RevOps with n8n + Claude system.
Yes, this workflow is designed with architectural clarity in mind. Most users can implement the core logic within 45-60 minutes using the provided steps and tool recommendations.
Absolutely. The blueprint provided is modular. You can easily swap tools or modify individual steps to fit your unique operational requirements while maintaining the core algorithmic efficiency.
Based on current benchmarks, this specific system can save approximately 12 hours/week hours per week by automating repetitive tasks that previously required manual intervention.
The tools vary. Some are free, while others may require a subscription. We always try to recommend tools with generous free tiers or high ROI to ensure the automation remains cost-effective.
We recommend reviewing each step carefully. If you encounter issues with a specific tool (like Zapier or OpenAI), their respective documentation is the best resource. You can also reach out to the Dailyaiworld collective for architectural guidance.