{{ __('Automate repetitive tasks with visual, no-code workflows.') }}
{{ __('Swipe to see more columns') }}
| {{ __('Name') }} | {{ __('Status') }} | {{ __('Trigger') }} | {{ __('Success Rate') }} | {{ __('Last Run') }} | {{ __('Created') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|
|
{{ $workflow->name }}
@if($workflow->description)
{{ $workflow->description }} @endif |
{{-- Status badge: dot + label in colored pill --}}
@php $statusConfig = [ 'active' => ['dot' => 'bg-success/100', 'text' => 'text-success', 'bg' => 'bg-success/10', 'label' => __('Active')], 'paused' => ['dot' => 'bg-warning/100', 'text' => 'text-warning', 'bg' => 'bg-warning/10', 'label' => __('Paused')], 'draft' => ['dot' => 'bg-gray-400', 'text' => 'text-muted ', 'bg' => 'bg-surface ', 'label' => __('Draft')], 'error' => ['dot' => 'bg-danger/100', 'text' => 'text-danger', 'bg' => 'bg-danger/10', 'label' => __('Error')], ]; $sc = $statusConfig[$workflow->status] ?? $statusConfig['draft']; @endphp {{ $sc['label'] }} | {{-- Trigger --}}
@php
$triggerIcon = match($workflow->trigger_subtype) {
'email_received', 'new_email' => 'mail',
'contact_created', 'new_contact' => 'user-plus',
'webhook', 'webhook_received' => 'zap',
'deal_stage_changed' => 'trending-up',
'tag_added' => 'tag',
'schedule', 'scheduled' => 'clock',
default => 'zap',
};
@endphp
|
{{-- Success Rate --}}
{{ $workflow->success_rate }}% | {{-- Last Run --}}@if($workflow->last_run_at) {{ $workflow->last_run_at->diffForHumans() }} @else -- @endif | {{-- Created --}}{{ $workflow->created_at->format('M j, Y') }} | {{-- Actions dropdown. Uses x-teleport="body" so the menu escapes the table's stacking context and can never be clipped by row borders, overflow, or the card rounding. Position is computed from the trigger button's rect on open and on scroll/resize so it stays anchored. --}}
|