@extends('admin.admin') @section('content')

{{ __('chatbot_settings') }}

@include('admin.partials.general_settings_side_menu')
{{ __('chatbot_settings') }}

{{ __('configure_your_chatbot') }}

@if (session('success'))
{{ session('success') }}
@endif
{{ __('Widget Configuration') }}
@csrf
{{ __('Optional greeting message that appears above the widget') }}
floating_message_enabled ?? false ? 'checked' : '' }} value="1">
auto_reply_enabled ? 'checked' : '' }} value="1">
is_active ? 'checked' : '' }} value="1">
{{ __('Live Preview') }}
{{ __('Auto Replies Configuration') }}
@forelse($autoReplies as $reply) @empty @endforelse
{{ __('Keywords') }} {{ __('Reply Message') }} {{ __('Priority') }} {{ __('Status') }} {{ __('Actions') }}
@foreach ($reply->trigger_keywords as $keyword) {{ $keyword }} @endforeach {{ Str::limit($reply->reply_message, 50) }} {{ $reply->priority }} {{ $reply->is_active ? 'Active' : 'Inactive' }}
📭
{{ __('No auto-replies configured yet') }}

{{ __('Click "Add New Reply" to create your first auto-reply') }}

{{ __('Example Auto-Replies') }}
{{ __('Greeting') }} {{ __('Keywords') }}: {{ __('hello') }}, {{ __('hi') }} {{ __('Reply') }}: {{ __('Hello! How can I assist you today?') }}
{{ __('Price Inquiry') }} {{ __('Keywords') }}: {{ __('price') }}, {{ __('cost') }} {{ __('Reply') }}: {{ __('Please provide details about pricing') }}
{{ __('Support') }} {{ __('Keywords') }}: {{ __('support') }}, {{ __('help') }} {{ __('Reply') }}: {{ __('We are here to help you') }}
@endsection @include('chatbot::admin.settings-include')