Leadfinder workflow

Lead Finder

Tell us who you need and where. Lead Finder runs now, then you can refine after the first results.

Lead finder AI

Who do you want to find?

@foreach ($conversation as $message)

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

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

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

@endforeach

Working on your request

Running now. You can refine the brief after the first results.

Recent activity

Latest search requests

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

{{ $run->query }}

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

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

{{ data_get($run->metadata, 'outcome_note') }}

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

No searches queued

Start chatting with Lead Finder AI and your requests will show up here.

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

Live debug

Search pipeline status

Latest search run

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

@if ($debug['search_run'])

{{ $debug['search_run']->query }} @if($debug['search_run']->location) · {{ $debug['search_run']->location }} @endif

@if (! empty($debug['summary']))

{{ $debug['summary'] }}

@endif @endif

Latest scrape job

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

@if ($debug['scrape_job'])

Provider: {{ $debug['scrape_job']->provider ?: 'default' }} @if ($debug['scrape_job']->error_message) · Error: {{ $debug['scrape_job']->error_message }} @endif

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

No debug events yet

Send a request and each pipeline step will appear here.

@endforelse