Skip to Main Content
Builder.io Ideas
Status Shipped
Created by Guest
Created on Jun 13, 2024

Global Webhook support to (operation and modelName) properties

I would like to request that Global Webhooks and Model Webhooks have the same payload.

Both payloads have common properties which are: newValue and previousValue

But model payloads also have `operation` and `modelName`. Would be nice to have these properties in Global Webhooks too.

It’s simple and is not a breaking change.

  • Attach files
  • Admin
    Steve Sewell
    Reply
    |
    Jul 30, 2024

    just implemented this in production!

    1 reply
  • Elias Baldwin
    Reply
    |
    Jul 3, 2024

    It would definitely be nice to have the model name on the global webhook payload. It's strange to me that the global webhook payload includes the model id but not the model name. I guess it would be possible to query the Admin graphQL api to get the model name based on a webhook payload's model ID, but that seems unnecessarily complicated.