Help

Call a HTTP REST webservice when a form is submitted

Topic Labels: Automations
842 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Francois_Lecomt
4 - Data Explorer
4 - Data Explorer

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
Andy_Cloke
8 - Airtable Astronomer
8 - Airtable Astronomer

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