@extends('layouts.app') @section('title', 'WhatsApp – Social Networks') @section('content')

← Social Networks

WhatsApp Cloud API

Connect your WhatsApp Business number using Meta’s Cloud API. Set the webhook URL in your Meta app to receive and send messages.

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@endif
@csrf
For reference only (e.g. 7868993777). Not used by the API.
From Meta Business Suite → WhatsApp → API Setup. Required to send messages.
WABA ID from Meta. Optional for basic send/receive.
Permanent token with whatsapp_business_messaging and whatsapp_business_management. Leave blank to keep current token.
A secret string you choose. Enter the same value in Meta app → Webhook → Verify token.

Webhook URL

In Meta for Developers → Your App → WhatsApp → Configuration, set:

Subscribe to messages (and optionally message_deliveries, message_reads).

@if($setting->isConnected())

✓ WhatsApp is connected (Phone Number ID and token set).

@else

Fill Phone Number ID and Access Token and save to connect.

@endif

WhatsApp Bot

AI-powered replies using Shopify catalog. Configure settings, conversations, and business knowledge.

Bot Settings Conversations Business Knowledge Bot Tester

@push('styles') @endpush @endsection