Leadfinder workflow

Lead Finder

Chat with the assistant, answer any follow-up questions, and it will run a targeted lead search for you.

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

Asking follow-up questions or launching the search depending on what you sent.

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() }}

{{ 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