Creating a Webhook that only gets triggered for new added rows but not for updates

Hello according to API documentation, creation request of Webhooks the events parameter should only get an array with "*.*" value.This would mean that web hook would be called on any changes happened on sheet.

I would need to get my web hook get triggered only when a new row is added.

Is it possible to limit this?


    ILKER ✭✭

    And second nested question will be how would I get the values of the cells in the body of the web hook.

  • Genevieve P.
    Genevieve P. Employee Admin

    Hi @ILKER

    You are correct, currently the Event that Webhooks are subscribed to is "all objects" and "all events". You can use this to subscribe to all events and then have your code process the webhooks to filter for only when a row is added on your side.

    To answer your second question, the callback payload is a "skinny" payload -- it indicates which objects changed and the type of events that occurred, but does not contain any data from the objects themselves.

    See the Note in this section of the API documentation: Intro to Webhooks