The webhooks logo.

Webhooks are "user-defined HTTP callbacks". They are usually triggered by some event, such as pushing code to a repository or a comment being posted to a blog. When that event occurs, the source site makes an HTTP request to the URI configured for the webhook.

https://en.wikipedia.org/wiki/Webhook

This module acts as both a Webhook dispatcher and a Webhook receiver.

For dispatching you can configure any amount of Webhooks that act on various events like entity create, update, delete and some system hooks like cron, file_download, modules_installed, user_cancel, user_login, user_logout and cache_flush.

For receiving, the module captures the request and provides the payload to others with a generic webhook event. It also implements a basic webhook entity that stores every webhook that has been received.

Implemented as configuration entity Webhooks are easily deployable.

Future plans:

  • Mapping of incoming Webhooks payload to Drupal entities and fields
  • Rules integration to allow arbitrary chaining of Webhooks and configuration of Webhook triggered actions.

For a Drupal 7 version see:
Webhook https://www.drupal.org/project/webhook

🇺🇦

#StandWithUkraine
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Logo icon by Etn Ccis in MIT License via SVG Repo

Supporting organizations: 
Drupal 8/9 Development and Maintenance

Project information

Releases