Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

call/run script when an record is created

Topic Labels: Scripting extentions
404 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help to call/run a script when a row is created in Airtable. The script will do a REST API call to another server.
We tried to trigger “When Record Created”. but it’s not running the script. need some suggestions.

2 Replies 2

Gonna need more details than “it’s not running”, I’m afraid. What isn’t running, exactly? The automation script? Have you checked the logs? Are you sure you’re handling the responses correctly? Fetch will throw if you aren’t babysitting it through the entire process. Can you share the part of the code that isn’t running?

Welcome to the Airtable community!

Also, keep in mind that “When Record Created” triggers the instant that a record is created, which is typically before there is any data in the record. Unless the record was created via a form or with an API, any field values for the record will be blank. So, if you are trying to send user-entered data to the other server, you may need to use a different trigger.