Sorry, we don't support your browser.  Install a modern browser

Customizable Webhook Payload#126

Ability to customize the content of a webhook payload.

Especially valuable when you want the payload to have information about models that are referenced from the triggering model.

3 years ago

This would be also be useful for calling an existing API a user can’t customise.

An example I have is that I would like to be able to trigger a Github workflow (via the workflow_dispatch or repository_dispatch events on the REST API) via a GraphCMS webhook. This requires that the payload have a “ref” or “event_type” field. Currently, to achieve this functionality I need to send a webhook to an intermediary lambda to replace the payload with a simple JSON object.

This feature already exists in other headless CMSs: DatoCMS, Contently

3 years ago