Skip to main content
Question

Zap code javascript execution taking much longer than in my test setup

  • March 4, 2025
  • 1 reply
  • 14 views

I am using a javascript codeblock task within a task on a free tier. I see now that I’m limited to 1 second of execution time. My task is very simple: Make an HTTP POST. When I POST this from my PC, I regularly get a response in less than 300ms. How is this taking so much longer? Almost none of my executions are successful because of this.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • March 4, 2025

Hi ​@mtaylor 

Try asking ChatGPT if your JavaScript can be optimized.

 

Alternative would be to use the Webhooks Zap app to make the API request.

https://zapier.com/apps/webhook/integrations#help

NOTE: Webhooks Zap app is a premium app that requires a Zapier paid plan.