Skip to main content

Score product-qualified leads with Amplitude, Claude & PDL for sales routing

Workflow preview

Workflow preview
100%
Score product-qualified leads with Amplitude, Claude & PDL for sales routing preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Powered Product Qualified Lead (PQL) Scoring & Sales Routing One Line Description Automatically score product usage signals from Amplitude cohorts and route hot leads to sales with enriched cont...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.httprequest, n8n-nodes-base.perplexity, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Connor Provines.

Original n8n.io source

1.1 Workflow description

Title
Score product-qualified leads with Amplitude, Claude & PDL for sales routing
Workflow name
Score product-qualified leads with Amplitude, Claude & PDL for sales routing

AI-Powered Product-Qualified Lead (PQL) Scoring & Sales Routing

One-Line Description

Automatically score product usage signals from Amplitude cohorts and route hot leads to sales with enriched context.

Detailed Description

What it does:

This workflow transforms behavioral data into sales-ready leads by instantly detecting when users hit your PQL threshold, enriching their profile with company intelligence, and using AI to score their conversion potential. Hot leads are routed directly to sales with personalized conversation starters, while warm and cold leads enter appropriate nurture sequences.

Who it's for:

  • Product-led growth (PLG) teams bridging the gap between product adoption and sales conversion
  • Sales development teams needing real-time alerts on high-intent users with actionable context
  • Revenue operations professionals optimizing lead handoff processes between product and sales

Key Features:

  • Real-time PQL detection - Triggers instantly when users enter Amplitude behavior cohorts, eliminating manual lead review
  • Multi-source enrichment - Combines product usage data with company intelligence from People Data Labs and AI-powered research
  • AI-driven scoring - Evaluates usage intensity, ICP fit, intent signals, and timing to produce 0-10 lead scores with breakdown reasoning
  • Smart routing logic - Automatically categorizes leads as hot (8-10), warm (5-7), or cold (0-4) for appropriate follow-up workflows
  • Sales enablement context - Provides conversation starters, key insights, red flags, and handoff recommendations tailored to each lead
  • Customizable criteria - References external Google Doc for PQL rules, allowing non-technical teams to update scoring logic

How it works:

  1. Trigger: Amplitude fires webhook when user enters predefined PQL cohort based on product usage patterns
  2. Enrichment: Pulls company data from People Data Labs and conducts AI research on company stage, tech sophistication, and budget indicators
  3. AI Scoring: Agent evaluates combined usage + enrichment data against ICP criteria stored in Google Docs, producing structured scoring output
  4. Routing: High-scoring leads (hot) generate formatted Slack alerts for immediate sales outreach; warm/cold leads could trigger email sequences (not shown in this template)

Setup Requirements

Prerequisites:

  • Amplitude account with cohort webhook capability (Growth plan or higher)
  • People Data Labs API key for company/person enrichment (paid credits required)
  • Perplexity API for AI-powered company research
  • Anthropic Claude API for PQL scoring logic
  • Google Gemini API for Slack message formatting
  • Slack workspace with OAuth app configured for posting messages
  • Google Docs containing your PQL criteria and ICP definition (publicly readable or authenticated access)

Estimated Setup Time:

45-60 minutes including API credential configuration, Amplitude cohort definition, and PQL criteria document creation

Installation Notes

  • Amplitude cohort setup: Define your PQL cohort using behavioral criteria (e.g., "Users who viewed 5+ pages AND invited team members in last 7 days"). Configure webhook to fire on cohort entry.
  • PQL criteria document: Create a Google Doc outlining your scoring components (usage intensity factors, ICP requirements, intent signals). Update the Google Docs Tool node with your document URL.
  • Free email filtering: The workflow includes logic to flag free email domains (Gmail, Yahoo, etc.) which you may want to route differently
  • Testing tip: Use Amplitude's "Test Webhook" feature to send sample payloads before going live

Customization Options

  • Replace People Data Labs with Clearbit, Apollo, or other enrichment providers by swapping the HTTP Request node
  • Add CRM integration to automatically create opportunities or update lead scores in Salesforce/HubSpot
  • Extend routing paths by adding branches for warm/cold leads (e.g., trigger email sequences via Customer.io, Braze)
  • Adjust scoring weights by modifying the AI agent prompt or criteria document without touching workflow logic
  • Multi-channel alerts by duplicating output nodes to send to email, SMS, or CRM tasks in addition to Slack

Category

Sales

Tags

  • amplitude
  • pql
  • product-qualified-leads
  • sales-automation
  • lead-scoring
  • enrichment
  • people-data-labs
  • slack-notifications
  • ai-scoring
  • revenue-operations

Use Case Examples

  • SaaS PLG companies: Automatically escalate free trial users who hit usage milestones (API calls, integrations connected, team invites sent) to sales for upgrade conversations
  • Developer tools: Identify enterprise-ready accounts based on team size growth, deployment patterns, and GitHub integration usage, routing to enterprise sales team
  • B2B marketplaces: Surface buyers showing high-intent behavior (multiple searches, saved items, pricing page views) to account executives with company context for proactive outreach

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Amplitude Cohort Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Parse Webhook Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Filter: Entering Cohort Only

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2

Block 6 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - PDL Enrich

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Company Research

Type / Role
n8n-nodes-base.perplexity - perplexity
Config choices
Version 1

Block 10 - Merge All Sources

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - Merge PQL Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - PQL Scoring Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 14 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1.1

Block 15 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 16 - Parse & Structure PQL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Format Hot PQL Slack

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Send Hot PQL Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 21 - ICP Guidelines

Type / Role
n8n-nodes-base.googleDocsTool - googleDocsTool
Config choices
Version 2

3. Summary Table

Workflow Score product-qualified leads with Amplitude, Claude & PDL for sales routing
Complexity advanced
Nodes 21
Categories Lead Generation, AI Summarization
Author Connor Provines
Published 22 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10010/10010.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Score product-qualified leads with Amplitude, Claude & PDL for sales routing do?

AI Powered Product Qualified Lead (PQL) Scoring & Sales Routing One Line Description Automatically score product usage signals from Amplitude cohorts and route hot leads to sales with enriched cont...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.