Jan 18, 2021 08:27 AM
I’m developing a custom integration to generate websites from Airtable.
Wondering if there is any webhook to check when a field is updated via API.
What i want to achieve is to receive it in my server.
Jan 18, 2021 08:38 AM
If you are generating updates to Airtable from an API call, why not simply dispatch the webhook call when such API call succeeds?
We use this exact approach for gathering analytics about API transactions. We simply test to ensure that the API call was successful and push analytics into Firebase using a simple webhook interface. But, the API process itself is responsible for informing the analytics system that (a) it made the API request, and (b) the request was either successful or failed and why.
Alternatively, but potentially brittle, is to create a script automation that calls a webhook from Airtable when a record/field has changed. This approach is not ideal for a number of reasons.
This is one of those questions that should be accompanied by details concerning the entire process and why a webhook from Airtable is perceived as needed.
Jan 18, 2021 09:24 AM
Hey Bill, thanks for the reply !
Not i’m not generating updates from my API call, the updates are generated in Airtable but since the sites are static, i want to “redeploy” them whenever the content is updated. So, i have to “listen” airtable whenever is an update but i cannot find the documentation about this.
Jan 18, 2021 09:45 AM
Alternatively, for a no-code way of doing the same thing, you could use Integromat to watch for updates to your records, and then it could trigger your webhook upon any updates.
(Note that I am a professional Airtable consultant and a Registered Integromat Partner, and the Integromat link contains my personal referral code. If you have a budget for this project and you’d like to hire someone to help setup Integromat for you, please feel free to contact me through my website at ScottWorld.com.)
Jan 18, 2021 10:12 AM
Isn’t there a simple webhook to get notified?
Jan 18, 2021 10:14 AM
They are using Airtable’s REST API, and they poll it on a regular schedule (for example, every 60 seconds).
Jan 18, 2021 10:47 AM
Seriously ? We are in 2021, and there is this thing called Webhook, so you don’t need to be polling the API every 60 secs to get this. What i don’t undersand is why airtable does not offer it publicly or is not yet implemented.
Jan 18, 2021 11:08 AM
Welcome to Airtable, the time machine that takes you back to 1998.
Jan 18, 2021 11:19 AM
As I mentioned above, then you need to use Airtable’s Automations which trigger automatically when a record is updated.
If you need further help, I am available for hire. :slightly_smiling_face:
Jan 18, 2021 11:22 AM
Jan 18, 2021 12:07 PM
That’s a lot of responsibility that vendors try to shield users from by providing true webhook features that everyday users can tap into without these complexities. Until a fully-baked event model and webhook layer is added, this is the state of webhookery in Airtable.
Jan 18, 2021 04:39 PM
Thanks for the explanation.
Do you have any code sample? Also when a base is duplicated the the script will be lost so for me this is not a solution for now.
Jan 18, 2021 05:51 PM
Okay - well, you best pursue a non-script approach.
Feb 23, 2023 05:15 AM
I'm late to the party from 2021 but is this all sorted now with:
so you can setup hooks via calling an API and they stay around for a week or so?