Forum Discussion

MikeTamoush's avatar
MikeTamoush
Qrew Commander
2 years ago

Webhook behavior expected?

I created a webhook that changes a field in a record, based on if a different field is modified. I chose a webhook because it works instantaneously, and it is such a simple thing I hate using an entire pipeline for one simple thing like this.

Webhook works fine except it does not work in grid edit mode (which is the reason I made the webhook in the first place instead of a dynamic form rule). In grid edit mode, if I change 5 records, the webhook fires correctly for the first record changed, but doesnt fire for the remaining records. I saw the limitations on webhooks were 50/second, so I imagine if I grid edit over 50 that could happen, but does anyone know why i cant even grid edit 2 records and have the webhook fire twice, once for each modification?



------------------------------
Mike Tamoush
------------------------------
  • That should work, so I suggest a ticket to support.  A webhook is supposed to trigger at the database level so it should not matter how the edit was done.



    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------
    • MikeTamoush's avatar
      MikeTamoush
      Qrew Commander

      Customer support is saying webhooks do not support multiple record changes, unless you use API_ImportFromCSV utilizing the %repeaton% command.

      ??? So webhooks essentially dont work in grid edit I guess..?? Any webhook experts think otherwise or have a workaround (I can just use a pipeline....just wondering if anyone knows how to make it work with a webhook).



      ------------------------------
      Mike Tamoush
      ------------------------------
      • MikeTamoush's avatar
        MikeTamoush
        Qrew Commander

        Confirmed. API_Edit Record cannot be used in a webhook for multi record changes. But Kirk Trachy has a video on how to leverage API_importfromcsv

        https://www.youtube.com/watch?v=-eY6ZAivCZY

        Ill try it and report back!



        ------------------------------
        Mike Tamoush
        ------------------------------