Recipe
Long-running automations are less reliable than smaller, retryable units of work. When possible, break your automation into smaller steps that can complete within the default timeout.
extendTimeout (TypeScript) or extend_timeout (Python).
This example demonstrates processing a large list with delays between requests—common when scraping rate-limited websites page by page.
TypeScript
Understanding timeouts
-
Default timeout prevents stuck Runs — Each Run attempt times out after 600 seconds (10 minutes) by default, configurable via
requestTimeout. This prevents stuck automations from wasting resources. -
extendTimeout() resets the timer — Each call resets the countdown to the original
requestTimeoutvalue. Call it as many times as needed, up to a 6-hour maximum total duration per Run. -
Correct placement is critical — Call
extendTimeout()after completing each unit of work (a page, batch, or logical section). Each unit must finish within the original timeout. For automations requiring more than 6 hours, contact Intuned support.
Related SDK methods
extendTimeout (TypeScript)
Reset the timeout in TypeScript
extend_timeout (Python)
Reset the timeout in Python
Jobs configuration
Configure requestTimeout and retry settings