A Closed Won deal creates its own next pipeline. 5 to 10 lookalike accounts, each with one verified decision maker, scored and staged.

Overview

This system turns one Closed Won into net new pipeline without hand sourcing. When a deal hits Closed Won, it extracts the firmographics, finds non customer lookalikes, finds one verified decision maker per lookalike, scores fit, and stages winners as Company and Contact and Deal in a dedicated pipeline. Low fit and invalid emails are filtered out.

It is built with HubSpot for trigger and records, OpenRouter for firmographic extraction, Tavily for lookalike search, Hunter and Prospeo and Dropcontact and ZeroBounce for the per lookalike waterfall, and Slack for a summary.

Each part can swap. Sourcing can swap from Tavily to Apollo when paid. Thresholds are numeric at 70 and 50. Free tier limits tracked.

Tools and Integrations

Tool Role
HubSpot Fires on Closed Won, stores Company and Contact and Deal in Target Lookalikes
OpenRouter minimax-m3 free Extracts industry, headcount, tech stack and region into structured JSON
Tavily Searches for lookalike companies. Apollo free returns 403 so Tavily is used with fallback seed
Hunter Per lookalike domain search, primary people source
Prospeo Fallback via LinkedIn URL when Hunter misses
Dropcontact Fallback enrich
ZeroBounce on api-us Final verify, only valid proceeds
Slack Text summary
n8n Runs webhook, extraction, sourcing, waterfall, scoring and writes with 33 nodes

Architecture

graph LR
    A[HubSpot<br/>Deal Closed Won] --> B[OpenRouter<br/>Extract<br/>Firmographics]
    B --> C{Tavily<br/>Find Lookalikes}
    C -->|found| D[Filter<br/>non customers<br/>by domain]
    C -->|none| E[Fallback Seed<br/>5 lookalikes]
    D --> F[Loop<br/>per lookalike]
    E --> F
    F --> G[Hunter<br/>Find People<br/>10 results]
    G --> H{Found?}
    H -->|yes| I[ZeroBounce<br/>Verify<br/>api-us]
    H -->|no| J[Prospeo<br/>via LinkedIn]
    J --> K[Dropcontact]
    K --> I
    I --> L{Valid?}
    L -->|yes| M[Score<br/>0 to 100]
    L -->|no| Q1[Quarantine<br/>email_not_valid]
    M --> N{Score<br/>gate}
    N -->|70 or more| O[HubSpot<br/>Company by domain<br/>Contact by email<br/>Deal in Pipeline]
    N -->|50 to 69| O
    N -->|under 50| Q2[Quarantine<br/>low fit]
    O --> P[Slack<br/>Summary]

    style A fill:#111111,stroke:#111111,color:#ffffff
    style B fill:#111111,stroke:#111111,color:#ffffff
    style C fill:#111111,stroke:#111111,color:#ffffff
    style F fill:#111111,stroke:#111111,color:#ffffff
    style G fill:#111111,stroke:#111111,color:#ffffff
    style J fill:#111111,stroke:#111111,color:#ffffff
    style K fill:#111111,stroke:#111111,color:#ffffff
    style I fill:#111111,stroke:#111111,color:#ffffff
    style M fill:#111111,stroke:#111111,color:#ffffff
    style O fill:#111111,stroke:#111111,color:#ffffff
    style P fill:#111111,stroke:#111111,color:#ffffff
    style Q1 fill:#333333,stroke:#333333,color:#ffffff
    style Q2 fill:#333333,stroke:#333333,color:#ffffff

1. Trigger and Extract

Objective

Turn Closed Won event into structured firmographics with industry, headcount, tech stack, region and domain, without manual mapping, with confidence gate before sourcing spend.

Step by Step Process

Step What happens Detail
1 Seed Closed Won Create fake Closed Won in sandbox with industry, employee count, tech stack, region and domain. Two seeds are generic example.com and realistic linear.app
2 Webhook fires HubSpot deal moving to Closed Won fires POST webhook. Non Closed Won is ignored
3 Extract and validate OpenRouter extracts firmographics as JSON with industry, headcount, tech_stack, region, company_domain and confidence. Validated before search. Under threshold gives quarantine with no sourcing

A full payload gave high confidence, a minimal domain still extracted via LLM. Non Closed Won is ignored.

Deliverables

Validated firmographic JSON ready for lookalike query.

Seeded test Deal moved to Closed Won — stage change fires the flow

Seeded test Deal moved to Closed Won — stage change fires the flow

Output Example

Closed Won Extracted Confidence Action
Acme, 511210, 120 emp, HubSpot industry 511210, headcount 120, tech HubSpot high Proceed to sourcing
Linear minimal Software, 200, React mid Proceed
Deal not closed won empty empty Ignored