@extends('layouts.app') @section('title', 'WhatsApp Broadcast') @push('style') @endpush @section('content') @php $routePrefix = strtolower(auth()->user()->role->name); @endphp

Broadcast Message

Send a WhatsApp message to multiple leads at once.
Back
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif
@csrf
{{-- Left: Compose --}}
{{-- Recipients --}}
Recipients
Select leads or filter by segment.
@foreach([ ['label' => 'All Active Leads', 'value' => 'active'], ['label' => 'Gujarat Leads', 'value' => 'gujarat'], ['label' => 'Overdue Invoices', 'value' => 'overdue'], ['label' => 'New (Uncontacted)', 'value' => 'new'], ['label' => 'Custom selection', 'value' => 'custom'], ] as $seg)
@endforeach
0 recipient(s) selected
{{-- Message --}}
Message
Use a template or write a custom message.
@error('body')
{{ $message }}
@enderror
0 / 4096 characters · Use @{{name}} for personalisation
@error('template_id')
{{ $message }}
@enderror
{{-- Schedule --}}
Scheduling
Send now or schedule for later.
@error('scheduled_at')
{{ $message }}
@enderror
{{-- Right: Preview + Send --}}
Message Preview
Now  ✓✓
Broadcast Summary
Recipients
Message type Custom text
Timing Immediately
Cancel
@endsection @push('script') @endpush