Skip to main content

Code by Zapier Run-Time Increase

Categories:Zapier AppsProduct Updates
  • December 2, 2022
  • 6 replies
  • 381 views
Code by Zapier Run-Time Increase
chanelle
Forum|alt.badge.img+8

Our Latest Update

Code by Zapier is currently our 12th most used app utilized by automation heroes with our Professional, Team, and Company plans being within the top 85% of users. We understand that these users tend to have bigger and more task intensive workflows. With the previous timeout period being 10 seconds leading to time outs and errors, it’s lead us to believe you need more time.

After receiving feedback from some amazing Zappers, we’ve updated the processing timeout period to 30 seconds for all Professional, Team, and Company accounts! The extra 20 seconds will eliminates potential blocks due to time, and allows you to create more complex workflows.

Key Details

Take a look at the breakdown below:

 

Do you user Code by Zapier? Tell us about your impressive workflow below! 👇

Did this topic help you find an answer to your question?

6 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31359 replies
  • December 15, 2022

Hi @chanelle 

In the screenshot it think the instances of “class” is supposed to be “calls”.


coopdascoop

Would love to see the time limit increased on Code by Zapier. I have code that takes a little over 60 seconds because it goes through formatting and various calculations.


Troy Tessalone
Forum|alt.badge.img+14

@coopdascoop 

One option to try is to use ChatGPT to see if the code can be optimized to process faster.


coopdascoop

@Troy Tessalone thanks for the suggestion but ChatGPT make the code :)


calling the GPT API through zapier code appears to be very patchy as it is often taking more than 30 seconds to respond to the call, even if the prompt is pretty simple.

it’s definitely due to traffic or restrictions in the API as it works fine ‘out of office’ hours but as soon as N. America comes online it fails.

does anyone have suggestions?

sick of seeing this:!

Failed to run your Python code

Your code had an error! Traceback (most recent call last): 2024-01-18T15:29:01.125Z c8ccce04-2783-4fae-a01c-0c68e2a985dd Task timed out after 30.03 seconds


Troy Tessalone
Forum|alt.badge.img+14

Hi @charliebequiteq 

Have you tried using either of these apps?

  • ChatGPT
  • OpenAI

 

Both have these actions:

  • Custom Action (with the help of AI)
  • API Request

 

These may have longer timeouts.


Reply