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:

Screen Shot 2018-06-14 at 10.06.00