Controls where the floating WhatsApp action icon and popup window will appear on client devices.
Upload a custom support agent photo or avatar icon for the header.
The main greeting message displayed inside the WhatsApp popup chat bubble when opened by visitors.
This text will be pre-loaded into the user's chat input when they click the WhatsApp button.
Quick Action Preset Buttons (Inside Chat Bubble)
Visitors can click these preset buttons inside the chatbot window to quickly populate a query message.
@php
$rawPresets = $agency->whatsapp_presets_data ?? null;
if (is_string($rawPresets)) {
$dec = json_decode($rawPresets, true);
$rawPresets = is_string($dec) ? json_decode($dec, true) : $dec;
}
$presets = (is_array($rawPresets) && count($rawPresets) > 0)
? $rawPresets
: [
['icon' => 'fa-solid fa-tag', 'title' => 'Ask about Pricing & Packages', 'msg' => 'Hello! I would like to inquire about your pricing and packages.'],
['icon' => 'fa-solid fa-calendar-check', 'title' => 'Book a Service / Appointment', 'msg' => 'Hi! I need help with booking a service / appointment.'],
['icon' => 'fa-solid fa-headset', 'title' => 'Connect with Customer Agent', 'msg' => 'Hello! I would like to speak directly with a representative.']
];
@endphp
@for($i = 0; $i < 3; $i++)
@php $preset = $presets[$i] ?? ['icon' => 'fa-solid fa-comment-dots', 'title' => '', 'msg' => '']; @endphp
@endfor