@extends('layouts.app') @section('title','Automatisation') @section('heading','Automatisation — Workflow Builder') @section('content')
@forelse($workflows as $w)

{{ $w->name }}

@if($w->is_active)@else@endif
Déclencheur : {{ $triggers[$w->trigger] ?? $w->trigger }} · {{ $w->runs_count }} exécutions
@csrf▶️
@csrf{{ $w->is_active?'⏸️':'✅' }}
@csrf @method('DELETE')🗑️
Conditions
@forelse($w->conditions ?? [] as $c)
{{ $c }}
@empty—@endforelse
Actions
@foreach($w->actions ?? [] as $a)
→ {{ $a }}
@endforeach
@empty @endforelse
@csrf Créer
@endsection