Sales Pipeline Lead Scoring
Captures new leads via webhook or schedule, enriches them with LinkedIn and Crunchbase data, scores fit using AI.
sales teamsops and IT teams
What it does
Capture new leads instantly via webhook or schedule and automatically score their fit using AI. Enrich every profile with LinkedIn and Crunchbase data before routing qualified prospects to the right sales rep in HubSpot while updating your Google Sheets dashboard.
Step by step
- Configure the webhook endpoint to accept POST requests with a JSON payload containing lead details.
- Map the enriched lead data fields from ScrapeGraphAI output to the corresponding HubSpot contact properties.
- Set up the Google Sheets API service account credentials for read/write access to the dashboard spreadsheet.
Where the LLM does the work
- Define the specific scoring criteria and weightings for lead qualification based on historical conversion data.
- Generate natural language summaries of enriched LinkedIn profiles to provide context for sales representatives.
- Craft personalized Slack notification messages that highlight key insights from the AI enrichment process.
Watch out for
ScrapeGraphAI may return inconsistent JSON structures, so add robust error handling and field validation before routing data.
LinkedIn enrichment often fails for private profiles, set a fallback strategy that uses available public data instead of failing silently.
Google Sheets cell references can break if columns are reordered, use named ranges or column headers dynamically in your code node.
Tools that fit
The agent brief
Everything your agent needs, including the gotchas. Copy it and go.
You are helping me build the following AI agent workflow. ## Goal Sales Pipeline Lead Scoring: Captures new leads via webhook or schedule, enriches them with LinkedIn and Crunchbase data, scores fit using AI. ## Specification - What it does: Capture new leads instantly via webhook or schedule and automatically score their fit using AI. Enrich every profile with LinkedIn and Crunchbase data before routing qualified prospects to the right sales rep in HubSpot while updating your Google Sheets dashboard. - Trigger: Triggered by an event (Scheduled · periodic monitoring or Event · webhook on new lead) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - HubSpot: CRM integration and deal management - Google Sheets: Pipeline dashboard and data storage - Slack: Team notifications - ScrapeGraphAI: Lead intelligence and data enrichment ## Known pitfalls, handle each one explicitly in your implementation 1. ScrapeGraphAI may return inconsistent JSON structures, so add robust error handling and field validation before routing data. 2. LinkedIn enrichment often fails for private profiles, set a fallback strategy that uses available public data instead of failing silently. 3. Google Sheets cell references can break if columns are reordered, use named ranges or column headers dynamically in your code node. ## Reference implementation https://n8n.io/workflows/6432 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/automate-sales-pipeline-with-ai-lead-scoring/ via usecasesforagents.com
Frequently asked questions
Can I use a different CRM than HubSpot?
Yes. HubSpot is only the example CRM in this recipe. The same flow works with Agile CRM, Attio, Close CRM and Freshworks CRM. Swap the CRM connection and keep the rest of the setup as written.
Want this running in your business?
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Who it's for
Built for sales teams who want the prep work done before they pick up the phone.
Ops-IT teams triaging their own internal requests get the same pattern, different queue.