Webhook Bridge
Fan-out degli eventi della piattaforma verso strumenti di automazione: Zapier, Make, n8n o endpoint HTTP custom. Ogni delivery è firmata, filtrata, riprovata e ispezionabile.
Payload
json
{
"event": "ab.conversion",
"project_id": "...",
"data": { "experiment_id": "...", "variant_id": "...", "value": 49 },
"timestamp": "2026-06-01T12:00:00Z"
}Verifica firma
ts
const expected = createHmac("sha256", process.env.BRIDGE_SECRET!)
.update(rawBody)
.digest("hex");
const sig = req.header("X-Lvbl-Signature") ?? "";
if (!timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) {
return res.status(401).end();
}La firma è in X-Lvbl-Signature (HMAC-SHA256 hex del body raw). Vedi anche la guida generica Webhook.
Filter rules & payload template
Ogni bridge può filtrare gli eventi (condizioni AND/OR sul payload) e rimappare il body con un template Mustache-like prima dell'invio. Utile per adattarsi a schemi specifici (es. Slack Incoming Webhook).
Delivery queue
La pagina "Delivery queue" mostra invii in attesa, fallimenti con retry esponenziale e Dead Letter Queue. Da lì puoi forzare un replay manuale.