Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here
Oct 18, 2022 06:21 AM
Hi there,
I’m trying to figure out how (if ?) it’s possible to call a REST webservice when a form is submitted ; I just need to get my webservice called with the data submitted, and I couldn’t find anything related to that in the documentation / forum. There are several “actions”, but none that would be practical to use
Do you guys know how to get notified when a form is submitted ?
Thanks
Oct 18, 2022 06:58 AM
Hey Fancois,
A couple of ways you could do this:
You could use the ‘Run a script’ action and write the script yourself to call the HTTP REST service.
Use the Data Fetcher extension, which makes it easier to work with REST APIs in Airtable. First, you’d create a custom request. Then turn on the request webhook. Finally, for the automation action, select ‘Run a script’ and call the Data Fetcher webhook in the script:
await fetch(`YOUR_WEBHOOK_URL?record_id=${input.config().record_id}`)