Open Sites › Notifications in the Console and choose Add notification. A team can have up to 20, each for every site or only the ones you pick.
Events
| Event | When |
|---|---|
deploy.live |
A deploy went live, from GitHub or an upload |
deploy.failed |
A deploy failed. The live site didn't change |
deploy.rolled_back |
An earlier deploy was made live again |
preview.ready |
A pull request's preview is ready |
domain.connected |
A custom domain was connected |
form.submitted |
A visitor sent one of the site's forms |
Slack, Discord and Microsoft Teams
Each event arrives as a short message with a link to the site or the deploy.
| Service | Where to get the address |
|---|---|
| Slack | Apps › Incoming Webhooks › Add to Slack, pick the channel, copy the Webhook URL |
| Discord | The channel's settings › Integrations › Webhooks › New Webhook › Copy Webhook URL |
| Microsoft Teams | The channel's ⋯ › Workflows › Post to a channel when a webhook request is received, then copy its URL |
Note
Messages to chat and email say a form submission arrived and link to it in the Console. They never include what the visitor wrote, so personal information stays in Canada. Only a webhook to your own server receives the form's fields.
The address is a secret: anyone who has it can post to your channel. The Console shows only its start once saved.
Webhooks
A webhook sends each event to your server as JSON:
POST /hooks/xenkloud HTTP/1.1
Content-Type: application/json
Xenkloud-Event: deploy.live
Xenkloud-Delivery: evt_6f1c2a9b8e7d4c3b2a1f0e9d
Xenkloud-Signature: t=1764518400,v1=5f2b…{
"id": "evt_6f1c2a9b8e7d4c3b2a1f0e9d",
"type": "deploy.live",
"created_at": "2026-11-30T16:00:00.000Z",
"team_id": "44444444-4444-4444-8444-444444444444",
"data": {
"site": { "id": "…", "name": "spa", "display_name": "Spa", "url": "https://spa.xksites.ca" },
"deploy": { "id": "…", "number": 12, "source": "git", "branch": "main", "commit": "a1b2c3…", "message": "Winter prices", "author": "Narinder" }
}
}Answer with any 2xx status within 10 seconds.
Check the signature
When you add a webhook, the Console shows its signing secret once. Every request is signed with it: v1 is the HMAC-SHA256 of the time t, a full stop, and the raw body.
import { createHmac, timingSafeEqual } from "node:crypto";
export function fromXenkloud(rawBody, header, secret) {
const { t, v1 } = Object.fromEntries(header.split(",").map((p) => p.split("=")));
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false; // older than 5 minutes
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return v1.length === expected.length && timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}Use the body exactly as it arrived, before parsing it as JSON.
Retries
A delivery that fails or gets no answer is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours. An answer of 400 to 499 (except 408 and 429) means the address is wrong or was removed, so it isn't retried.
After 10 deliveries in a row give up, the notification turns itself off. Turn it back on in the Console once the address is fixed.
History shows the last 50 deliveries and how each went, kept for 30 days. Send test sends a sample deploy.live straight away.
Who can change notifications
The team's owners can add, change and remove notifications. Everyone in the team can see them and their history.