Enabling webhooks for environments by adding ability to filter
We added filtering support for webhooks which enables developers to target webhooks to specific entities and environments.
Examples:
- trigger a static site preview build only if entries/assets get published in environments which have a prefix of “preview-“.
- trigger an integration test if the content model changed in a development environment.
These and many more conditional filtering tasks needed to happen on the user’s side and can now be fully handled by Contentful.
Resources:
- Learn about webhooks with filters in the Content Management API reference documentation
- Learn about the concept of filters for webhooks in the user guide
