Webhooks

Receive real-time events from LoveAutomate via webhooks for custom integrations.

Webhooks let you receive real-time notifications when events happen in LoveAutomate.

Setup

  1. Go to Project Settings → Webhooks
  2. Click Add Webhook
  3. Enter your endpoint URL
  4. Select the events you want to receive
  5. Save and test the connection

Events

EventDescription
run.startedA test run has started
run.completedA test run finished (pass or fail)
regression.detectedA regression was found
test.healedAn agent auto-healed a broken test
quality.changedProject quality score changed significantly

Payload Example

{
  "event": "run.completed",
  "timestamp": "2025-10-08T14:30:00Z",
  "project_id": "proj_abc123",
  "run_id": "run_xyz789",
  "data": {
    "status": "failed",
    "total_tests": 142,
    "passed": 139,
    "failed": 3,
    "quality_score": 85,
    "duration_ms": 45200
  }
}

Security

Webhooks include a signature header for verification:

X-LoveAutomate-Signature: sha256=abc123...

Verify this signature using your webhook secret to ensure the request is authentic.