Skip to content

Add Prospecting tool with job management and field kit support#126

Merged
NextMonthLab merged 2 commits intomainfrom
claude/add-prospecting-mode-8DrzU
Feb 1, 2026
Merged

Add Prospecting tool with job management and field kit support#126
NextMonthLab merged 2 commits intomainfrom
claude/add-prospecting-mode-8DrzU

Conversation

@NextMonthLab
Copy link
Copy Markdown
Owner

Summary

This PR introduces the Prospecting tool, a new suite application for discovering and enriching business prospects. The tool enables users to search for businesses by location, manage discovery jobs, and extract custom fields using configurable field kits.

Key Changes

Core Infrastructure

  • Added Prospecting to the tool registry with live status and search icon
  • Integrated Prospecting routes into main App router with nested sub-routes
  • Created mode-specific navigation items (Search, Jobs, Field Kits)
  • Updated tool order to accommodate new Prospecting tool (CharacterX moved from order 4 to 5)

Application Structure

  • ProspectingHomePage: Main entry point with route handling for all Prospecting sub-pages
  • ProspectingLayout: Consistent layout wrapper with global nav and Prospecting-specific sub-navigation
  • Lazy-loaded page components for code splitting and performance

Pages Implemented

  • ProspectingSearchPage: Main search interface (placeholder)
  • ProspectingJobsPage: Lists all discovery jobs with status, location, and result counts
  • ProspectingJobDetailPage: Detailed job view with results table, prospect details drawer, and CSV export
  • ProspectingKitsPage: Field kit management interface (placeholder)
  • ProspectingKitEditPage: Field kit editor for custom field configuration (placeholder)

Components

  • ProspectingMap: Interactive map component for search area definition
    • Supports location search via Nominatim geocoding
    • Manual coordinate input with validation
    • Browser geolocation support
    • Static map preview with fallback UI
    • Prepared for future Leaflet integration

Features

  • Job status tracking (queued, running, completed, failed)
  • Real-time job polling for status updates
  • Results table with base fields (name, address, distance, rating, website)
  • Dynamic kit field columns in results table
  • Prospect detail drawer with contact info and extracted field values
  • Confidence scoring for extracted fields with evidence display
  • CSV export functionality for job results
  • Responsive design with dark theme styling

Implementation Details

  • Uses React Query for data fetching and caching with automatic refetch intervals
  • Wouter for client-side routing
  • Lazy loading with Suspense for better performance
  • Nominatim API for geocoding (no API key required)
  • Static map tiles from OpenStreetMap for preview
  • Prepared architecture for future Leaflet map integration
  • Consistent UI patterns with existing CRM tool

https://claude.ai/code/session_01SHX6jtkyD3u6LvZgEfXVRx

Implements a new Prospecting Mode with:
- Map-based discovery using Google Places API
- Configurable Field Kits for custom extraction
- Two-stage enrichment: rule-based signals + LLM extraction
- Results table with dynamic columns from kit fields
- CSV export functionality
- Two starter kits: Flashbuzz Video Signals, Hut Studio Thought Leadership

Backend:
- 10 new database tables for prospecting data model
- Storage layer methods for all prospecting entities
- API routes for kits, jobs, prospects, and lists
- Job runner with discovery and enrichment pipeline
- Page fetcher with signal detection
- Rule extractor for deterministic patterns
- LLM extractor using GPT-4o-mini

Frontend:
- Prospecting mode registered in tool registry
- Search page with map/coordinate input
- Jobs list and job detail pages
- Field kits management UI
- Prospect detail drawer with field values

https://claude.ai/code/session_01SHX6jtkyD3u6LvZgEfXVRx
@NextMonthLab NextMonthLab temporarily deployed to claude/add-prospecting-mode-8DrzU - icemaker PR #126 February 1, 2026 16:15 — with Render Destroyed
Resolves conflicts in server/routes.ts and shared/schema.ts
to include both email settings (from main) and prospecting module.

https://claude.ai/code/session_01SHX6jtkyD3u6LvZgEfXVRx
@NextMonthLab NextMonthLab temporarily deployed to claude/add-prospecting-mode-8DrzU - icemaker PR #126 February 1, 2026 16:19 — with Render Destroyed
@NextMonthLab NextMonthLab merged commit 8194887 into main Feb 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants