Heroku Webhooks let you create powerful real-time integrations and drive custom operations workflows whenever your Heroku app changes. Today, we're excited to announce a new user experience that makes managing and creating webhooks easier than ever. Now everyone on your team can create a webhook, update it and see deliverability, using a straightforward interface in the Heroku Dashboard. Until now, app webhooks functionality was only available through the Heroku CLI.
How to Find the Dashboard Interface for app webhooks
You can find the new webhooks interface by going to the Dashboard view for an app, clicking on “More” on the right hand side of the page, and then selecting “View Webbooks” from the dropdown menu.
Creating Webhooks in the Dashboard
From the webhooks interface, you'll be able to create a webhook subscription and view any webhooks that you've already created, including those created using the CLI.
A webhook is essentially an HTTP post request delivered by Heroku to your designated URL when a given change happens to your app. When you create a webhook, you'll be able to select one or more events that you would like to trigger notifications for. For example, you might choose to get a notification whenever an add-on is added to an app. You could set up an email service to handle this notification, and then set up the webhook to send a http POST request to the url for your service.
Troubleshooting Your Webhooks
Once you've set up your webhook subscription, you'll be able to check that it's all working correctly by going to the webhooks delivery page. From there, you'll be able to see the last 200 webhook deliveries and filter by the status of the delivery (for example, to view those that are incomplete.) For each delivery you'll be able to dig into the payload for troubleshooting.
A New Webhook Event Type: dyno webhooks
Along with the new webhooks interface, today we are announcing that webhook dyno events are in public beta. For the first time, you'll be able to get notifications for the full lifecycle of a dyno. You'll see webhook dyno events are available as an option when creating a webhook, and are marked with a beta sticker.
Customer Spotlight: How Apartment List Uses Webhooks for Slack Integration
Apartment List is a Heroku customer who has been using webhooks to power their open source Slack integration, Heroto Rooter. Heroku ChatOps provides useful Slack functionality for many customers, but Apartment List was looking to build something more custom. They were excited to discover webhooks as it made building their Slack integration much more seamless. The product of their efforts, Heroto Rooter, is available open source and is an example of how the power of webhooks enables a smoother workflow.
Feedback
We encourage you to check out webhooks in Dashboard and to create webbooks of your own. If you have any feedback along the way, please share it with ecosystem-feedback@heroku.com