๐Ÿ”— GHL โ†’ Meta Offline Conversions Bridge

Webhook service that sends GHL appointment bookings to Meta Conversions API for ad optimization.

Service Status

API Endpoints

Main Webhook (GHL)
POST /webhook/appointment-booked
Receives GHL appointment webhooks and forwards to Meta CAPI
Test Event
POST /test/meta-event
Send test event directly to Meta CAPI for verification
Health Check
GET /health
Service health and configuration status
Stats
GET /stats
Event processing statistics and recent events

๐Ÿงช Test Meta Integration

Send a test appointment booking event to Meta CAPI:

Setup Instructions

  1. Configure Environment Variables:
    • META_ACCESS_TOKEN - Your Facebook Marketing API token
    • META_PIXEL_ID - Your Facebook Pixel ID
    • GHL_WEBHOOK_SECRET - Secret for webhook signature validation
  2. Create GHL Workflow:
    • Trigger: "Appointment Scheduled"
    • Action: "Custom Webhook"
    • URL: Loading...
    • Method: POST
    • Headers: Content-Type: application/json
  3. Test: Book a test appointment and verify in Meta Events Manager