@php $statusBadge = ['new' => 'neutral', 'active' => 'info', 'replied' => 'success', 'opted_out' => 'paused']; @endphp

Engagements

Every contact this agent is working, their sequence, and where they're up to.

@if ($contacts->isEmpty()) @else @foreach ($contacts as $contact) @php $st = $contact->engagementStatus(); $progress = $contact->sequenceProgress(); @endphp @endforeach
Contact Status Sequence Step Last interaction
{{ $contact->entity_name ?: $contact->entity_id }}
{{ $contact->entity_id }}
{{ $contact->currentSequence?->name ?? '—' }} @if ($contact->current_sequence_id) {{ $progress['sent'] }}/{{ $progress['total'] }} @else — @endif {{ $contact->last_interaction_at?->diffForHumans() ?? '—' }}
@endif