Leadfinder workflow

Lead Finder

Describe target role, industry, and location. We run immediately.

AI brief

Who should we find?

@foreach ($conversation as $index => $message)

{{ $message['role'] === 'user' ? 'You' : 'Lead Finder AI' }}

{!! nl2br(e($message['content'])) !!}

{{ $message['time'] ?? '' }}

@endforeach

Pipeline running

Collecting verified leads now.

Recent activity

Latest searches

See leads
@forelse ($this->getRecentSearches() as $run) @php $searchRunLeadsUrl = \App\Filament\Resources\LeadResource::getUrl('index') .'?'.http_build_query([ 'tableFilters' => [ 'search_run_id' => [ 'value' => (string) $run->id, ], ], ]); @endphp

{{ \Illuminate\Support\Str::limit($run->query, 120) }}

{{ $run->location ?: 'No location' }} · {{ $run->created_at?->diffForHumans() }}

@if (($run->result_count ?? 0) === 0 && filled(data_get($run->metadata, 'outcome_note')))

{{ \Illuminate\Support\Str::limit((string) data_get($run->metadata, 'outcome_note'), 110) }}

@endif
{{ ucfirst($run->status) }} {{ $run->leads_count ?? $run->result_count ?? 0 }} leads
@empty

No searches yet

Run your first brief to start the pipeline.

@endforelse
@if ($this->canViewDebugPanel()) @php($debug = $this->getDebugSnapshot())

Live debug

Pipeline status

Queue: {{ $debug['queue_connection'] }}

Search Run

@if ($debug['search_run']) #{{ $debug['search_run']->id }} · {{ ucfirst($debug['search_run']->status) }} @else none @endif

Scrape Job

@if ($debug['scrape_job']) #{{ $debug['scrape_job']->id }} · {{ ucfirst($debug['scrape_job']->status) }} @else none @endif

Queued Jobs

{{ number_format($debug['queue_pending_total']) }}

Failed Jobs

{{ number_format($debug['failed_jobs_total']) }}
@if ($debug['search_run'])

{{ \Illuminate\Support\Str::limit((string) $debug['search_run']->query, 150) }} @if($debug['search_run']->location) · {{ $debug['search_run']->location }} @endif @if (filled($debug['summary'])) · {{ \Illuminate\Support\Str::limit((string) $debug['summary'], 110) }} @endif

@endif

SSH Debug

{{ $debug['ssh_debug_command'] }}

JSON: php artisan leadfinder:debug --json

@forelse ($debug['events'] as $event)
{{ $event['time'] }}
{{ $event['message'] }} @if (! empty($event['context']))
@foreach ($event['context'] as $key => $value) {{ $key }}={{ $value }} @endforeach
@endif
@empty

No debug events yet

Run a brief and events will appear here.

@endforelse
@endif