Re: OpenAI - API scripts - Exceed Max script execution time limit of 30 s

1755 0
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

OpenAI's API for GPT-4 constantly has an over 30sec delay in responding to larger token prompts. 

This makes automation in AirTable rather useless unless you go to the trouble of building cloud functions. 

I have multiple working automation steps to categories data, create short email replies etc. But if you want to do anything real with GPT-4 it's limited by the response time. 

Question - how can I get around this? Any thoughts? 

4 Replies 4

You are going to have to use a different service that isn’t limited by the 30 seconds of Airtable scripting automations. 

One option is to use Scripting Extension in a “data” view, which is not limited to 30 seconds. However, you cannot access Scripting Extension from an interface. To do that, you would need to use a third party integration service that isn’t subject to the same time limits, such as

That isn't a solution it's a work around that degrades the use of AirTable in the age of OpenAI and other LLMs becoming more dominant. 

Why would you want to have your data stored somewhere you can not run AI queries, enhancement etc. on it. 


I hate Khoros, but feel free to explain more about your project here. Happy to try to help.

5 - Automation Enthusiast
5 - Automation Enthusiast

For make OpenAI API Calls i usually use another service:

n8n ( ℹ️ affiliate link-->  that work very well for this purpose.

Making in the automation a script block with a fetch request to a n8n Webhook that make a trigger (giving the recordID as parameter).

Then in the n8n flow, i retrieve everything i need from airtable, make openAI calls and update back to Airtable.

I hope it helps.