@extends('layouts.app') @section('title', 'Assistant conversations') @section('page', 'conversations') @section('content') @php $flag = fn ($c) => match (true) { $c->rating === 'not_helpful' || $c->messages->contains('rating', 'not_helpful') => ['bad', badge('Rated not helpful', 'b-red')], $c->status === 'handed_over' => ['handoff', badge('Handed to team', 'b-blue')], $c->status === 'missed' => ['missed', badge('No answer', 'b-amber')], default => ['answered', badge('Answered', 'b-green')], }; $first = $convs->first(); @endphp
Read what clients asked {{ agency()->assistant?->name ?? 'Desk Assistant' }}. Fix weak answers and they're used from the next question on.