Entrify

Getting Started

How do I get Slack, Discord or webhook notifications for deployments?

Open your project, go to Settings > Notifications and paste a Slack or Discord webhook URL, or any HTTPS URL. Entrify posts to it when a deployment succeeds or fails, and, if you choose, when the site goes down or comes back up. A project can have up to 3.

  1. Create a webhook URL

    In Slack, add an Incoming Webhook to a channel. In Discord, open the channel settings, then Integrations > Webhooks. Or use any HTTPS URL of your own.

  2. Add it to the project

    Open the project, then Settings > Notifications. Paste the URL, choose the events (Deploy succeeded and Deploy failed are ticked; tick Site down and Site back up to hear about outages), and click Add notification.

  3. Copy the signing secret

    It is shown once. Your own server uses it to check that a request came from Entrify; Slack and Discord do not need it.

  4. Check the test message

    Entrify sends a ping event straight away. The row then shows the status the URL answered with.

What does Entrify send?

Slack and Discord get a short message. Any other URL gets a JSON POST. The event is deployment.succeeded, deployment.failed, site.down, site.recovered or ping (sent once, when you add the URL). A ping has no deployment. Build logs are never sent.

{
  "event": "deployment.failed",
  "createdAt": "2026-11-27T10:00:00.000Z",
  "project": { "id": "clx…", "name": "My App", "slug": "my-app", "url": "https://my-app.entrify.site" },
  "deployment": {
    "id": "cly…",
    "status": "FAILED",
    "commitHash": "4f2c9e1…",
    "failureReason": "npm error Missing script: \"build\"",
    "completedAt": "2026-11-27T10:00:00.000Z",
    "dashboardUrl": "https://entrify.site/projects/clx…"
  }
}

The site events carry a site object instead of deployment. In site.recovered it has downSince, downForSeconds and dashboardUrl.

{
  "event": "site.down",
  "createdAt": "2026-11-27T10:03:00.000Z",
  "project": { "id": "clx…", "name": "My App", "slug": "my-app", "url": "https://my-app.entrify.site" },
  "site": {
    "downSince": "2026-11-27T10:00:00.000Z",
    "reason": "The app keeps crashing and Docker is restarting it.",
    "dashboardUrl": "https://entrify.site/projects/clx…"
  }
}

When does Entrify send site.down and site.recovered?

Entrify checks every site that runs in a container once a minute. Uploaded sites and sites with Static hosting on are served straight from files and are not checked, so they never send these events. site.down is sent when the site has not answered for about 3 minutes, at most once a day per site; the owner also gets an email. site.recovered is sent when it answers again, or when a redeploy or rollback brings it back (alongside deployment.succeeded), and only after a site.down. Neither is sent when many sites go down at once, since that points to a problem with Entrify rather than your app.

Which headers come with each request?

  • X-Entrify-Event: the event name.
  • X-Entrify-Delivery: an id that stays the same when a delivery is retried.
  • X-Entrify-Timestamp: when it was sent, in Unix seconds.
  • X-Entrify-Signature: sha256= and the hex HMAC-SHA256 of <timestamp>.<body>, keyed with the signing secret.

How do I check the signature?

In Node.js, compare in constant time and refuse old timestamps:

import { createHmac, timingSafeEqual } from 'node:crypto';

// rawBody: the request body exactly as received, before JSON.parse.
function isFromEntrify(rawBody, headers, secret) {
  const timestamp = headers['x-entrify-timestamp'];
  const expected = 'sha256=' + createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex');
  const given = Buffer.from(headers['x-entrify-signature'] ?? '');
  const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) < 300;
  return fresh && given.length === expected.length && timingSafeEqual(given, Buffer.from(expected));
}

What if my server is down?

Entrify waits up to 10 seconds for an answer. A timeout, a network error, a 429 or a 5xx is retried after 30 seconds, 1, 2 and 4 minutes, then dropped. Any other status is not retried, and redirects are not followed. A retry can reach you after you already handled the first try, so skip deliveries whose X-Entrify-Delivery you have seen. Settings shows the status of the last try for each URL.

The URL must use HTTPS on port 443 and a public hostname; IP addresses and private networks are refused. To change a URL or its events, delete it and add it again. Hooks are removed when a project changes owner.