Playground

Draft against a sample prospect, tweak the guidance, and re-run to see the difference. Nothing is saved or sent until you ask. Dry-run — no Pipedrive, Slack, or approval.

@foreach ($scenarios as $s) @endforeach @if ($scenarioId) Duplicate @endif
{{ $scenarioId ? 'Save' : 'Save new' }}
@if ($error)
{{ $error }}
@endif @if ($sendNotice)
{{ $sendNotice }}
@endif
{{-- Inputs --}}

Scenario

@if ($scenario === 'custom') @endif
@if ($scenario === 'follow_up') @elseif ($scenario === 'reply')
@foreach (\App\Livewire\Agents\Playground::REPLY_INTENTS as $intent) @endforeach
@endif
Skills to run @php $skills = $this->draftableSkills(); @endphp @if ($skills->isEmpty())

No drafting skills attached to this agent.

@else
@foreach ($skills as $skill) @endforeach

Untick a skill to see its effect on the draft.

@endif
Generate draft Drafting… Edit skills →
{{-- Output --}}

Output

@if (! $generated) @else @if ($subject) Subject
{{ $subject }}
@endif Message
{{ $body }}
@if (! empty($stages))
Stages ({{ count($stages) }})
    @foreach ($stages as $stage)
  • {{ $stage['slug'] }} · {{ $stage['type'] }} · {{ $stage['status'] }}
  • @endforeach
@endif @php $preview = $this->mergeTagPreview(); @endphp @if (! empty($preview))
Merge tags we'll send ({{ count($preview) }})
@foreach ($preview as $tag => $val)
{{ $tag }} → {{ \Illuminate\Support\Str::limit(strip_tags((string) $val), 80) ?: '—' }}
@endforeach

Tags your template doesn't use are ignored. Add missing ones under Config → Mailblaze merge tags.

@endif
{{ $mailblazeTemplateId !== '' ? 'Send template test' : 'Send test' }} Sending…
@endif