Hello {{ $recipientName }},
Here is the automated AI-generated Minutes of Meeting (MoM) for {{ $callNote->client->project_name ?? 'Client Call' }} with {{ $callNote->client->client_name ?? 'Client' }}.
Detected Client Sentiment:
@php
$sentiment = strtolower($callNote->detected_sentiment ?? 'neutral');
$badgeClass = match($sentiment) {
'happy' => 'badge-happy',
'sad' => 'badge-sad',
'angry' => 'badge-angry',
default => 'badge-neutral',
};
$emoji = match($sentiment) {
'happy' => '😊 Happy / Satisfied',
'sad' => '😟 Concerned / Sad',
'angry' => '😡 Frustrated / Angry',
default => '😐 Neutral / Professional',
};
@endphp
{{ $emoji }}
Executive Summary
{{ $callNote->summary ?? 'Meeting completed successfully.' }}
@if(!empty($callNote->action_items) && count($callNote->action_items) > 0)
Action Items & Deliverables
| Task / Action Item |
Assignee |
Status |
@foreach($callNote->action_items as $item)
| {{ is_array($item) ? ($item['task'] ?? $item['action'] ?? json_encode($item)) : $item }} |
{{ is_array($item) ? ($item['owner'] ?? 'Team') : 'Team' }} |
{{ is_array($item) ? ($item['status'] ?? 'Assigned') : 'Assigned' }} |
@endforeach
@endif
@if(!empty($callNote->key_decisions) && count($callNote->key_decisions) > 0)
Key Decisions Made
@foreach($callNote->key_decisions as $decision)
- {{ is_array($decision) ? ($decision['decision'] ?? json_encode($decision)) : $decision }}
@endforeach
@endif
Full Minutes of Meeting (MoM)
{!! nl2br(e($callNote->mom_content)) !!}