Integrations

CRM sync, outgoing webhooks, emails and incoming webhooks. Connection details live in .env — see ENVIRONMENT.md.
@foreach (['crm' => 'CRM & webhooks', 'emails' => 'Emails', 'webhooks' => 'Incoming webhooks'] as $k => $l)@endforeach
@if ($tab === 'crm')
@foreach (['' => 'All', 'pending' => 'Waiting', 'sent' => 'Delivered', 'failed' => 'Failed'] as $k => $l)@endforeach @if (($counts['failed'] ?? 0) > 0)@endif
CreatedChannelEventContactAttemptsStatus @forelse ($messages as $m) {{ $m->created_at->format('j M, H:i') }} {{ $m->channel === 'crm' ? 'CRM' : 'Webhook' }}@if ($m->destination){{ parse_url($m->destination, PHP_URL_HOST) }}@endif {{ $m->event }} {{ $m->payload['customer']['email'] ?? '—' }} {{ $m->attempts }} {{ ['sent' => 'Delivered', 'pending' => 'Waiting', 'failed' => 'Failed'][$m->status] ?? $m->status }}@if ($m->last_error){{ $m->last_error }}@endif @if ($m->status !== 'sent')@endif @empty {{ $driverKey === 'null' ? 'No CRM connected — campaign webhooks still appear here.' : 'Nothing in the outbox yet.' }} @endforelse
{{ $messages->links() }}

Delivered by the scheduler every minute (outbox:dispatch) with backoff: 1, 5, 15, 60 minutes… Incoming CRM webhooks: POST {{ url('/webhooks/crm') }} — {{ $inboundReady ? 'secret set' : 'set CRM_INBOUND_SECRET to enable' }}.

@elseif ($tab === 'emails')
@foreach (['' => 'All', 'sent' => 'Sent', 'failed' => 'Failed'] as $k => $l)@endforeach
WhenToEmailStatus @forelse ($emails as $e) {{ $e->created_at?->format('j M, H:i') }}{{ $e->to ?? '—' }}@if ($e->user){{ $e->user->name }}@endif{{ $e->type }} {{ ucfirst($e->status) }}@if ($e->error){{ $e->error }}@endif @empty No emails yet. @endforelse
{{ $emails->links() }}

Content isn't stored. Switch individual customer emails on/off in Settings → Emails.

@else
ReceivedFromEventSignatureAttemptsStatus @forelse ($webhooks as $w) {{ $w->created_at->format('j M, H:i') }}{{ $w->provider }}{{ $w->event }}{{ $w->signature_valid ? 'Valid' : 'Invalid' }}{{ $w->attempts }} {{ $w->status ?? '—' }}@if ($w->error){{ $w->error }}@endif @empty No incoming webhooks yet. @endforelse
{{ $webhooks->links() }}
@endif