Heroku dyno crashed notifications on your phone.
Get a High-priority push notification when a dyno of your Heroku app crashes, with its exit status.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Heroku
Add it as a webhook for dyno.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Heroku dyno webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In the Heroku Dashboard, open your app and choose More > View webhooks, then create a webhook. Or use the CLI command in the setup notes below.
- Paste your webhook URL as the URL and subscribe to the dyno event type.https://••••••••/•••••••• your personal URL, shown after install
- Save. Each app needs its own webhook.
- Subscribe the webhook to the **`dyno`** entity (not `api:dyno`, which only reports new dynos). With the Heroku CLI:
- ```
- heroku webhooks:add -i dyno -l notify -u your webhook URL -a your-app
- ```
- Dyno events are in public beta at Heroku. The recipe pushes only when a dyno reaches the `crashed` state; starting, up, stopping and down stay quiet. One-off dynos (`heroku run`) often report `crashed` even when the command succeeded, so for those the recipe only pushes on a non-zero exit status.
- Heroku restarts crashed dynos automatically, so a crash loop sends a push per crash.
- Heroku signs every delivery (`Heroku-Webhook-Hmac-SHA256`), but JustPush doesn't check that signature yet, so keep your endpoint URL private.
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.
The Heroku dyno webhook
This is what Heroku sends to your URL for dyno. It is a sample, trimmed to the fields recipes use.
Heroku dyno crashed 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 Heroku 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.
Heroku on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.