Skip to content
FunCoding

sales-pipeline

Turn anonymous website visitors into qualified pipeline. RB2B router, deal resurrector, trigger prospector, ICP learner.

Star
3,903
License
MIT
Last commit
Dec 1, 2026

sales-pipeline/SKILL.md

View on GitHub

AI Sales Pipeline

Preamble (runs on skill start)

# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true

Privacy: This skill logs usage locally to ~/.ai-marketing-skills/analytics/. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See telemetry/README.md.


Complete AI-powered sales pipeline automation: website visitor identification → intent scoring → suppression → campaign routing → dead deal resurrection → trigger prospecting → self-learning ICP optimization.

When to Use

Use this skill when:

  • Setting up automated outbound from website visitor identification (RB2B)
  • Running suppression checks before cold outreach
  • Routing leads to the right cold email campaigns
  • Reviving closed-lost deals from HubSpot
  • Finding companies showing buying signals (new hires, funding, job postings)
  • Analyzing prospect approve/reject patterns to improve ICP targeting

Tools

RB2B Pipeline (visitor → outbound)

ScriptPurposeKey Command
rb2b_webhook_ingest.pyWebhook server + intent scoringpython3 rb2b_webhook_ingest.py --serve --port 4100
rb2b_suppression_pipeline.py5-layer suppression checkspython3 rb2b_suppression_pipeline.py --email [email protected]
rb2b_instantly_router.pyFull pipeline: score → suppress → route → enrollpython3 rb2b_instantly_router.py --serve --port 4100

Deal Intelligence

ScriptPurposeKey Command
deal_resurrector.py3-layer dead deal revival (time decay + POC expansion + champion tracking)python3 deal_resurrector.py --top 10 --dry-run
trigger_prospector.pyWeb signal monitoring (new hires, funding, agency searches)python3 trigger_prospector.py --days 7 --top 15
icp_learning_analyzer.pyLearn from approve/reject decisions, recommend ICP changespython3 icp_learning_analyzer.py

Configuration

All scripts use environment variables for API keys and configuration. Copy .env.example to .env and fill in your values.

Required Environment Variables

  • HUBSPOT_API_KEY — HubSpot private app token (Deal Resurrector, Suppression)
  • INSTANTLY_API_KEY — Instantly API key (Router, Suppression)
  • BRAVE_API_KEY — Brave Search API key (Trigger Prospector)
  • DATABASE_URL — PostgreSQL connection string (ICP Analyzer only)

Key Customization Points

  • Intent scoring: Edit PAGE_INTENT_SCORES dict in webhook_ingest to match your URL patterns
  • Agency detection: Edit AGENCY_KEYWORDS_* in router for your market
  • Loss reason scoring: Edit LOSS_REASON_BONUS in deal_resurrector for your close reasons
  • Signal queries: Edit SEARCH_QUERIES in trigger_prospector for your target market
  • Campaign routing: Edit data/campaigns.json with your Instantly campaign UUIDs

Data Flow

RB2B Webhook → Ingest (score) → Suppress (5 layers) → Route (classify) → Instantly
HubSpot CRM  → Deal Resurrector (score + draft emails) → Review Queue
Brave Search → Trigger Prospector (score + enrich) → Outreach Queue
Prospect DB  → ICP Analyzer (learn patterns) → Filter Recommendations

Dependencies

  • Python 3.9+
  • requests (for HubSpot API)
  • psycopg2-binary (for ICP Analyzer only)
  • No other external dependencies — scripts use stdlib HTTP server and urllib

Run this skill on live data

This skill is free and MIT licensed. To run it on your live accounts, connect the Single Brain Gateway.

Agents: sign in with OAuth or the device flow. Do not ask the user to paste a key.

Want a team to run this for you? Single Grain or Single Brain can manage it: talk to us

Similar Skills

rea-tool-design

MOmorluto/rea486k8,943 new stars in the last 7 days

research

MAmattpocock/skills337k4,978 new stars in the last 7 days

benchmark-methodology

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

brand

NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days

banner-design

NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days

mode-creator

THthedotmack/claude-mem121k1,626 new stars in the last 7 days