@extends('root') @section('title', 'Automasi AI') @section('content')
@include('components.breadcrumb', [ 'title' => 'Automasi Endpoint AI', 'links' => [ ['url' => route('client.balasan-otomatis.index'), 'label' => 'Auto Reply'], ['url' => route('client.ai-automations.index'), 'label' => 'Automasi AI'], ], 'current' => 'Automasi API' ])
Tambah Automasi

Daftar Automasi (Webhooks)

Sambungkan sistem internal atau API pihak ketiga Anda ketika AI mendeteksi Intent tertentu (misal: Cek Resi, Cek Tagihan).

@forelse($automations as $automation) @empty @endforelse
Intent Pemicu Data Endpoint (URL) Method Tipe Aksi
{{ $automation->intent->name ?? 'Unknown Intent' }}
Dipicu oleh AI
@if($automation->automation_type === 'webhook') {{ $automation->endpoint_url }} @else Internal Action @endif @if($automation->automation_type === 'webhook') @php $mcolor = match(strtoupper($automation->method)) { 'GET' => 'success', 'POST' => 'primary', 'PUT' => 'warning', 'DELETE' => 'danger', default => 'secondary' }; @endphp {{ strtoupper($automation->method) }} @else - @endif {{ ucfirst($automation->automation_type) }}
Edit
@csrf @method('DELETE')

Belum ada Automasi API

Buat webhook untuk mengambil data dari server Anda sendiri saat pelanggan menanyakan hal spesifik (seperti resi pengiriman).

@endsection