Automate timing out After 60 seconds with LLM call that takes 180 seconds

I am currently calling a logic function from Automate that takes more than 60 seconds to run. Basically it’s an LLM which is doing quite a lot of writing. However, this means that the automate fails due to the timeout. Unfortunately, I cannot get around this using typescript as this also has a 60 second timeout.

Is there anyway to change this timeout variable?

An error (Actions:FunctionExecutionTimedOut) occurred with this request (error id: d7c958f1-a9c2-4972-a3c4-525eadb547a0). Consider modifying the execution mode to reduce the number of objects passed to each function execution.
{
  "timeElapsedMs": "60000",
  "functionVersion": "1.12.0",
  "timeLimitMs": "60000",
  "requestIndex": "0",
  "functionRid": "ri.function-registry.main.function.ceca3bea-1b19-4e22-b464-d206972408c5"
}
1 Like

For now, I made a request to extend the timeout for the function you shared. This should become self serve in the coming weeks!

Also, if the automation is set up to call a logic function directly (not via actions → functions), the timeout should be 5 min instead of 1 min.

2 Likes