@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if (!session()->has('selectedDevice'))
{{ __('Please select a device first') }}
@else
{{ __('Chatbot Flows') }} {{ Session::get('selectedDevice')['device_body'] }}
@if ($flows->total() == 0)
{{ __('No flows created yet') }}

{{ __('Get started by creating your first automated chatbot flow.') }}

{{ __('Create First Flow') }}
@else
@foreach ($flows as $flow)
{{ $flow->name }}
status == 'active' ? 'checked' : '' }}>
@foreach(explode(',', $flow->keyword) as $kw) {{ trim($kw) }} @endforeach
{{ __('Match:') }} {{ __($flow->type_keyword) }}
{{ __('Target:') }} {{ __($flow->reply_when) }}
@endforeach
{{ $flows->links('pagination::bootstrap-5') }}
@endif
@endif