← All runbooks
gooseworks-ai / signal-detection-pipeline

Signal Detection Pipeline

Detect buying signals from multiple sources, qualify leads, and generate outreach context. This runbook orchestrates multiple independent signal-detection sub-skills (job postings, funding events, conference attendance, Reddit discussions, and LinkedIn content) to surface compani

agent claude-codemodel claude-sonnet-4-6snapshot python312-uveval programmatic9 stepsv1.0.0

Deploy Signal Detection Pipeline to your jetty.io

One-click installs this runbook into a collection on your Jetty account. You can run it from the Spot dashboard, schedule it, or pipe inputs in via the API.

The shape of the run

9 steps · start to finish.

  1. 1
    Step 1

    Environment Setup

    pip install requests pyyaml pandas
    mkdir -p /app/results
    
    # Validate required inputs
    if [ -z "$TARGET_KEYWORDS" ]; then
      echo "ERROR: TARGET_KEYWORDS is not set"; exit 1
    fi
    if [ -z "$ICP_CRITERIA" ]; then
      echo "ERROR: ICP_CRITERIA is not set"; exit 1
    fi
    echo "Environment ready — Keywords: $TARGET_KEYWORDS | ICP: $ICP_CRITERIA"
    
  2. 2
    Step 2

    Run Signal Sources in Parallel

    Run the sources relevant to the client's ICP. Each is independent — run in parallel.

  3. 3
    Step 3

    Combine and Deduplicate Signals

    After all sources complete, merge and deduplicate:

  4. 4
    Step 4

    Score and Qualify Leads

    Apply `lead-qualification` skill to the deduplicated list:

  5. 5
    Step 5

    Human Checkpoint — Review Before Proceeding

    **STOP HERE** — review the consolidated lead list before initiating outreach.

  6. 6
    Step 6

    Iterate on Errors (max 3 rounds)

    If any signal source returned zero leads or an error:

  7. 7
    Step 7

    Check Contact Cache

    Deduplicate final leads against previously contacted companies:

  8. 8
    Step 8

    Write Executive Summary

    import pandas as pd, pathlib df = pd.read_csv("/app/results/qualified_leads.csv") summary = f"""# Signal Detection Pipeline — Results

  9. 9
    Step 9

    Final Checklist (MANDATORY — do not skip)

    echo "=== FINAL OUTPUT VERIFICATION ===" RESULTS_DIR="/app/results" for f in \ "$RESULTS_DIR/qualified_leads.csv" \