View Source ExPipedrive.Webhook.Handler behaviour (ex_pipedrive v0.1.0)

Behaviour for consuming normalized Pipedrive webhook events.

Configure a module implementing this behaviour when mounting ExPipedrive.Incoming.Handler. The callback runs synchronously, so handlers should acknowledge quickly and delegate longer work to the host application.

This is the intended public handler boundary for the future ex_pipedrive_web package. The Plug itself stays optional.

Summary

Callbacks

@callback handle_event(ExPipedrive.Webhook.Event.t()) :: term()