Vercel deployment notifications on your phone.

Get a push notification when a Vercel deployment is ready, fails, is canceled or is promoted to production, louder when production breaks.

deployment.readyDeveloper toolsReleases
How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into Vercel

Add it as a webhook for Deployment.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Vercel deployment webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In Vercel, open your team's Settings > Webhooks and create a webhook (Pro and Enterprise teams).
  3. Select the Deployment events and the projects to watch.
  4. Paste your webhook URL as the endpoint URL and save.https://••••••••/•••••••• your personal URL, shown after install
  5. In Vercel, open your team's **Settings → Webhooks** (Pro and Enterprise teams) and create a webhook with the URL above. Select:
  6. `deployment.ready`: deploy finished (**don't also pick `deployment.succeeded`**, or every deploy pushes twice)
  7. `deployment.error`: deploy failed
  8. `deployment.canceled` and `deployment.promoted` (optional)
  9. Vercel's payload doesn't include the failure reason; tap **View deployment** for the build log. Branch and commit details come from the Git integration and may be missing for CLI deploys.
  10. Vercel signs deliveries with `x-vercel-signature` (HMAC-SHA1), but JustPush doesn't check it yet, so keep your endpoint URL private.
The code

What runs when the webhook arrives

Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.

transform.js
1// Vercel → deployment ready, failed, canceled or promoted
2// Fires for Vercel team webhooks on deployment events. Subscribe to deployment.ready
3// (not also deployment.succeeded, or you'll get two pushes per deploy).
4// Docs: https://vercel.com/docs/webhooks/webhooks-api
5
6// Deployment events, their labels and how loud to be. Production failures are louder.
7const EVENTS = {
8 "deployment.ready": { emoji: "✅", verb: "deployed", priority: -1 },
9 "deployment.succeeded": { emoji: "✅", verb: "deployed", priority: -1 },
10 "deployment.error": { emoji: "❌", verb: "deploy failed", priority: 0 },
11 "deployment.canceled": { emoji: "⏹️", verb: "deploy canceled", priority: -1 },
12 "deployment.promoted": { emoji: "🚀", verb: "promoted to production", priority: 0 },
13}
14
15// Only link to real http(s) URLs.
16function link(url, cta) {
17 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
18}
19
20function handleRequest(request) {
21 const body = request.body || {}
22 const payload = body.payload ?? {}
23 const deployment = payload.deployment ?? {}
24
25 // Guard: only the deployment events above.
26 if (!Object.prototype.hasOwnProperty.call(EVENTS, body.type)) {
27 console.log(`Ignoring Vercel "${body.type ?? "unknown"}" event`)
28 return null
29 }
30
31 const event = EVENTS[body.type]
32 const name = deployment.name ?? "Your project"
33 // target is "production", "staging", or null for preview deployments.
34 const target = body.type === "deployment.promoted" ? "production" : payload.target ?? "preview"
35 const production = target === "production"
36
37 // Git details live in deployment.meta; they're optional and not always present.
38 const meta = deployment.meta ?? {}
39 const branch = meta.githubCommitRef ?? meta.gitlabCommitRef ?? meta.bitbucketCommitRef
40 const commit = (meta.githubCommitMessage ?? meta.gitlabCommitMessage ?? meta.bitbucketCommitMessage ?? "").split("\n")[0]
41 const author = meta.githubCommitAuthorLogin ?? meta.githubCommitAuthorName ?? meta.gitlabCommitAuthorName ?? meta.bitbucketCommitAuthorName
42
43 const where = body.type === "deployment.promoted" ? "" : ` (${target})`
44 const site = deployment.url ? `https://${String(deployment.url).replace(/^https?:\/\//, "")}` : null
45
46 return {
47 title: `${event.emoji} ${name} ${event.verb}${where}`,
48 message: [branch, commit, author ? `@${author}` : null].filter(Boolean).join(" · ") || deployment.url || "Deployment update",
49 topic: "Vercel",
50 // A failed production deploy is the one that needs you now.
51 priority: body.type === "deployment.error" && production ? 1 : event.priority,
52 buttons: [
53 ...link(payload.links?.deployment, "View deployment"),
54 ...(body.type === "deployment.ready" || body.type === "deployment.succeeded" ? link(site, "Open site") : []),
55 ],
56 }
57}
Payload

The Vercel deployment.ready webhook

This is what Vercel sends to your URL for deployment. It is a sample, trimmed to the fields recipes use.

deployment.ready · sample.json
1{
2 "id": "evt_2cVCgYJpvK3AxmF3rZkPg4bJ",
3 "type": "deployment.error",
4 "region": "fra1",
5 "payload": {
6 "plan": "pro",
7 "team": {
8 "id": "team_1a2b3c"
9 },
10 "user": {
11 "id": "user_4d5e6f"
12 },
13 "links": {
14 "project": "https://vercel.com/acme/acme-web",
15 "deployment": "https://vercel.com/acme/acme-web/8k2Ll1mNnPpQqRr"
16 },
17 "target": "production",
18 "project": {
19 "id": "prj_7g8h9i"
20 },
21 "deployment": {
22 "id": "dpl_8k2Ll1mNnPpQqRr",
23 "url": "acme-web-8k2ll1mnn-acme.vercel.app",
24 "meta": {
25 "githubOrg": "acme",
26 "githubRepo": "web",
27 "githubCommitRef": "main",
28 "githubCommitMessage": "Fix checkout totals rounding\n\nCloses #88",
29 "githubCommitAuthorLogin": "janedoe"
30 },
31 "name": "acme-web"
32 }
33 },
34 "createdAt": 1790672400000
35}
FAQ

Vercel deployment notifications: questions

Does this work on iPhone and Android?

Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.

Do I need to write code?

No. Install the recipe in Studio, paste your webhook URL into Vercel and you are done. The code is there if you want to change the text, the sound or the buttons.

Can I change what the notification says?

Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.

What does it cost?

JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.

Ready when you are

Vercel on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.