Help

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

Call a HTTP REST webservice when a form is submitted

Topic Labels: Automations
102 1
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 Reply 1

Hey Fancois,

A couple of ways you could do this:

  1. You could use the ‘Run a script’ action and write the script yourself to call the HTTP REST service.

  2. 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}`)