Trigger webhooks after loading finalizes

If I edit a record in Noloco, e.g. by uploading a few files to it, the edit button sometimes loads for several seconds.

But if I then perform an action (like clicking an action button) that triggers a webhook, then the webhook triggers before the edit button finishes loading.

For example, this screenshot was right after I uploaded 5 files. You can see the edit button is still loading in the background.

The result is that the data sent to the webhook does not include this latest edit — even though, as in the screenshot above, an update step reflects the latest edit (you can see the newly uploaded files in the modal).

Is it possible to delay the webhook trigger until after all loading is finalized (usually just several seconds)?

In truth @fundmore - I think you see the problem really

You’re triggering the workflow before the edit is complete, right?

If the button is loading, then it’s not fully saved. If you’re going to run into issues with this, I would advise building a condition into your action buttons to prevent them from being shown until all of the data is there

Correct. It’s not me, but my users.

I don’t know if such a condition would work because often there are already files in the field and the user is simply uploading more.

But I will instruct them to wait until the edit fully loads before clicking the button and triggering the workflow.

1 Like