lead-gen-pipeline

star 3

Automated lead generation pipeline with AI-powered lead scoring and personalized follow-up generation. Score leads 0-100 with reasoning, generate context-aware follow-ups in multiple tones. Integrates with any CRM. Use for sales automation, cold outreach, and pipeline management.

GeorgeDoors888 By GeorgeDoors888 schedule Updated 4/16/2026

name: lead-gen-pipeline description: Automated lead generation pipeline with AI-powered lead scoring and personalized follow-up generation. Score leads 0-100 with reasoning, generate context-aware follow-ups in multiple tones. Integrates with any CRM. Use for sales automation, cold outreach, and pipeline management. homepage: https://www.agxntsix.ai license: MIT compatibility: Python 3.10+, OpenRouter API key metadata: {"openclaw": {"emoji": "\ud83c\udfa3", "requires": {"env": ["OPENROUTER_API_KEY"]}, "primaryEnv": "OPENROUTER_API_KEY", "homepage": "https://www.agxntsix.ai"}}

Lead Gen Pipeline

AI-powered lead generation pipeline. Score leads intelligently, generate personalized follow-ups, and manage your sales pipeline.

Quick Start

export OPENROUTER_API_KEY="your-key"

# Score a lead
python3 {baseDir}/scripts/lead_scorer.py '{"name":"Jane Smith","company":"Acme Corp","title":"VP Marketing","source":"webinar","actions":["downloaded whitepaper","visited pricing page 3x","opened 5 emails"]}'

# Generate follow-up
python3 {baseDir}/scripts/followup_generator.py '{"name":"Jane Smith","company":"Acme Corp","context":"Attended our AI webinar, downloaded whitepaper","stage":"warm","tone":"professional"}'

Lead Scoring

The AI scorer evaluates leads on multiple dimensions:

Factor Weight Description
Fit 30% Does the lead match your ICP? (title, company size, industry)
Intent 30% Behavioral signals (page visits, downloads, email engagement)
Engagement 20% How actively are they interacting? (recency, frequency)
Source Quality 20% Where did they come from? (referral > webinar > cold)

Score Ranges

  • 80-100: ๐Ÿ”ฅ Hot โ€” reach out immediately, high buying intent
  • 60-79: ๐ŸŸก Warm โ€” nurture with targeted content, book a call
  • 40-59: ๐ŸŸ  Cool โ€” add to drip sequence, monitor engagement
  • 0-39: ๐Ÿ”ต Cold โ€” low priority, long-term nurture only
# Score with custom ICP
python3 {baseDir}/scripts/lead_scorer.py '{"name":"...","company":"...","icp":{"industries":["SaaS","fintech"],"minEmployees":50,"titles":["VP","Director","C-suite"]}}'

Follow-Up Generation

Generate personalized follow-up messages for any pipeline stage:

# Professional follow-up after demo
python3 {baseDir}/scripts/followup_generator.py '{
  "name": "Jane Smith",
  "company": "Acme Corp",
  "context": "Had a 30-min demo, interested in enterprise plan, concerned about onboarding time",
  "stage": "post-demo",
  "tone": "professional",
  "channel": "email"
}'

# Casual SMS check-in
python3 {baseDir}/scripts/followup_generator.py '{
  "name": "Mike",
  "context": "Met at conference, exchanged cards, talked about AI automation",
  "stage": "initial",
  "tone": "casual",
  "channel": "sms"
}'

# Urgent closing message
python3 {baseDir}/scripts/followup_generator.py '{
  "name": "Sarah Johnson",
  "company": "TechFlow",
  "context": "Proposal sent 5 days ago, no response, deal worth $25k, quarter ending",
  "stage": "closing",
  "tone": "urgent",
  "channel": "email"
}'

Supported Tones

  • professional โ€” formal business communication
  • casual โ€” friendly, conversational
  • urgent โ€” time-sensitive, action-oriented
  • friendly โ€” warm, relationship-focused
  • consultative โ€” expert advice framing

Supported Channels

  • email โ€” full email with subject line
  • sms โ€” short, punchy (< 160 chars)
  • whatsapp โ€” conversational, emoji-friendly
  • linkedin โ€” professional networking tone

Pipeline Stages

  • initial โ€” first contact / cold outreach
  • warm โ€” engaged but no meeting yet
  • booked โ€” meeting/demo scheduled
  • post-demo โ€” after initial call/demo
  • proposal โ€” proposal sent
  • closing โ€” negotiation / final decision
  • revival โ€” re-engaging cold/lost lead

Cold Outreach Templates

The AIDA Framework

  1. Attention โ€” Hook with relevant pain point
  2. Interest โ€” Show you understand their world
  3. Desire โ€” Paint the outcome
  4. Action โ€” Clear, low-friction CTA

Outreach Sequences

Day 1: Initial value-first email Day 3: Follow-up with case study / social proof Day 7: Different angle (video, voice note, meme) Day 14: Break-up email ("Should I close your file?")

Generate any of these:

python3 {baseDir}/scripts/followup_generator.py '{"name":"...","stage":"initial","sequence_step":1}'
python3 {baseDir}/scripts/followup_generator.py '{"name":"...","stage":"initial","sequence_step":4}'

CRM Integration Patterns

With GHL (GoHighLevel)

# 1. Score incoming lead
SCORE=$(python3 {baseDir}/scripts/lead_scorer.py '{"name":"...","source":"facebook_ad"}')

# 2. Create contact in GHL with score tag
python3 ../ghl-crm/{baseDir}/scripts/ghl_api.py contacts create '{"firstName":"...","tags":["score-85","hot-lead"]}'

# 3. Add to appropriate pipeline stage
python3 ../ghl-crm/{baseDir}/scripts/ghl_api.py opportunities create '{"pipelineId":"...","stageId":"hot-stage-id","contactId":"..."}'

# 4. Generate and send follow-up
MSG=$(python3 {baseDir}/scripts/followup_generator.py '{"name":"...","stage":"warm","channel":"sms"}')
python3 ../ghl-crm/{baseDir}/scripts/ghl_api.py conversations send-sms <contactId> "$MSG"

With Any CRM

The scripts output JSON โ€” pipe into any CRM API wrapper. Lead scores include reasoning that can be stored as CRM notes.

Response Handling

When a lead replies, re-score with updated context:

python3 {baseDir}/scripts/lead_scorer.py '{"name":"Jane","company":"Acme","actions":["replied to email","asked about pricing","requested demo"]}'

Then generate contextual response:

python3 {baseDir}/scripts/followup_generator.py '{"name":"Jane","context":"She asked about pricing and wants a demo","stage":"warm","tone":"professional"}'

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

๐Ÿ“… Need help setting up OpenClaw for your business? Book a free consultation

Install via CLI
npx skills add https://github.com/GeorgeDoors888/GB-Power-Market-JJ --skill lead-gen-pipeline
Repository Details
star Stars 3
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator
GeorgeDoors888
GeorgeDoors888 Explore all skills →