Docs
Sign in

Handle rate limits

Handle rate limits shows the tools a workflow has for staying inside an app's limits: slowing down, waiting, reusing earlier answers and trying again after a failure. Only features that exist in the workflow editor are listed.

Screenshot to add: The Rate Limiter node settings with Max requests, Window, Strategy and Queue excess requests.

Rate Limiter node

In the palette it is under Utilities, described as "Throttle rate".

FieldWhat it doesDefault
Max requestsHow many requests are allowed in the window. Minimum 1100
Window (ms)The length of the window in milliseconds. Minimum 100060000
StrategyHow the window works: Fixed window, Sliding window or Token bucketSliding window
Queue excess requestsA switch. When on, requests over the limit are queuedOn

The page does not describe how each strategy counts, because the editor gives no further explanation.

Delay node

The Delay node pauses the workflow.

FieldWhat it doesDefault
DurationHow long to wait. Minimum 15
UnitSeconds, Minutes or HoursSeconds

A panel shows the total, for example "Total delay: 5 seconds". If the unit is seconds and the duration is over 30, it warns "Long delays may hit timeouts".

Cache node

The Cache node can reuse an earlier answer instead of asking again.

FieldWhat it doesDefault
Cache key templateA template for the key. Placeholder: {{ input.user_id }}_{{ input.query }}Empty
OperationGet, Set, Delete or Get or SetGet or Set
TTL (seconds)How long a saved answer lives. Minimum 03600
Output keyWhere the result is stored. Placeholder: cache_outputEmpty

Retry tab on every node

Every node has a Retry tab in its settings. It is off by default.

FieldWhat it doesDefault
Enable retry on failureTurns retries onOff
Max retriesHow many times to retry, from 0 to 103
Base delay (ms)Wait before the first retry. Minimum 1001000
Backoff multiplier1 means a fixed delay, 2 means the wait doubles each time. From 1 to 102
Retry onTick any of error, timeout, rate limit, anyerror

Tick rate limit to retry when a service tells you to slow down. When retries are off, the tab says "Enable retries to automatically re-run this node on failure."

Advanced tab on every node

FieldWhat it doesDefault
Node timeout (ms)Hint: "0 = use workflow default"0
On failureFail workflow, Skip node (pass through) or Continue with error dataFail workflow
Disable node (skip in execution)Skips the nodeOff

The HTTP Request node also has its own Timeout (ms) field, default 30000.

Loop and Try / Catch

  • Loop has no wait or retry setting. It has a Max iterations (safety cap), default 100, and a Repeat count for the Repeat N times mode. Put a Delay or Rate Limiter inside the loop to slow it down.
  • Try / Catch catches an error and stores it under an Error output key (default error). It has no retry setting of its own. Use the Retry tab for that.

What is not there

The HTTP Request node has no setting that reads a service's "retry after" header, and the editor has no per-app rate limit setting. Combine the tools above to stay within a limit.