Skip to Main Content
Builder.io Ideas
Created by Guest
Created on Jan 27, 2025

Webhooks with a "light" payload

Webhooks currently have two options - with payload (default) and without payload. Some of our pages are > 1MB in size due to certain reasons tied to locales that we were not able to address until the release of multiple fallback locales.

This limit prevents webhooks from firing which is not a big deal at the moment since we don't have a lot of these, and we'll probably update our codebase to use the new locales setup at some point.

However, there might be use-cases in the future where this limit might pose a problem so we had an idea of - let's just try to get the webhook to send us the model name and entry id, which would allow us to send an extra request to get the data through a simple builder API call. Unfortunately, there's no way of getting just those two fields, since webhooks are all or nothing when it comes to data.

Maybe an extra setting could be something like "lightweight webhook" which would just send a POST request with the model name and entry id for the entry that was added/updated, allowing us to use those two fields to fetch the data if we need to. Or maybe just add those two field to when the "no payload" setting is used.

  • Attach files