Skip to content

Connections

Netlify

Slack alerts for failed and shipped Netlify production deploys, signed with a JWS token, with "shipped" notes on referenced conversations.

On this page

The Netlify preset alerts on failed production deploys and announces shipped ones, and adds "shipped" notes to conversations referenced in commit messages, like Vercel.

Setup

About three minutes in Netlify (one notification per event). Failed production deploys alert Slack; successful ones post “Shipped”. In Channlize, Connections → New connection → Netlify. The setup screen shows the connection URL (the URL to notify) above these steps, with the secret fields and buttons at the step that needs them.

  1. Generate the JWS secret token in Channlize. Netlify doesn't generate one, and asks for it on each notification.
  2. Open deploy notifications: on the project (site) you want to watch, Project configuration → Notifications → Deploy notifications → Add notification → HTTP POST request (Open Netlify).
  3. Add one notification per event: Event to listen for: the event. URL to notify: the URL. JWS secret token: the secret from step 1. Save, then repeat for the next event: Deploy started, Deploy succeeded, Deploy failed (optionally also Deploy locked and Deploy unlocked).

Optional, choose what reaches Slack: the "Shipped" alert switch and the commit convention for shipped notes.

First event: the screen shows Waiting for the first event… until one arrives. Trigger a deploy in Netlify (Deploys → Trigger deploy). Then click Done to keep the connection. Cancel deletes the draft and its URL.

Signature

X-Webhook-Signature is an HS256 JWS signed with the token: Channlize checks the signature, that iss is netlify, that its sha256 claim matches the body, and its expiry (5 minutes of leeway). Deliveries are deduplicated on the deploy id and state.

Default mappings

Event types are deploy.<state>.<production|preview|branch>:

EventAction
deploy.error.productionAlert: a failed production deploy
deploy.ready.productionAlert: shipped
everything elseLog

Two-way replies

Not available.