Jan 14, 2024 04:22 PM
My automation exceeded the run limit 2500 in just a few hours because I don't know how to control it! Can someone help me?
Jan 15, 2024 01:55 AM
This table is a form that, when my user fills it out, automates distance data between two points using the Haversine formula and also automates the conversion of latitude and longitude using the Google Maps reverse geocode API. The problem is that when my user enters their information, in addition to the perfect response from my script, it is generating unnecessary blank lines and using all of my runs.
Jan 15, 2024 01:59 AM
Hello @PauloPurcino
I think your Automation scripts are overlapping as @ScottWorld mentioned above. For now, just disable automation and verify it properly until it's fixed.
Please write your code(with removed credentials). Then some community members verify it.
Also, let me know that does you generate JS code using any AI Model(GPT, Bard, etc), Or if it's created by any specialist.
Jan 15, 2024 05:46 AM
Yes ,I generated JS by AI.
SCRIPT 1:
Jan 15, 2024 05:57 AM
Hello @PauloPurcino
Both of the scripts are only doing updateRecordAsync (https://airtable.com/developers/scripting/api/table#update-record-async)
To trigger your automation which is called when a new row is created script needs to call this (https://airtable.com/developers/scripting/api/table#create-record-async)
Cross-check all other Airtable automation and also check external process automation tools(Zapier, Make.com). If there is anything that causes this issue.