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.
Rate Limiter node
In the palette it is under Utilities, described as "Throttle rate".
| Field | What it does | Default |
|---|---|---|
| Max requests | How many requests are allowed in the window. Minimum 1 | 100 |
| Window (ms) | The length of the window in milliseconds. Minimum 1000 | 60000 |
| Strategy | How the window works: Fixed window, Sliding window or Token bucket | Sliding window |
| Queue excess requests | A switch. When on, requests over the limit are queued | On |
The page does not describe how each strategy counts, because the editor gives no further explanation.
Delay node
The Delay node pauses the workflow.
| Field | What it does | Default |
|---|---|---|
| Duration | How long to wait. Minimum 1 | 5 |
| Unit | Seconds, Minutes or Hours | Seconds |
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.
| Field | What it does | Default |
|---|---|---|
| Cache key template | A template for the key. Placeholder: {{ input.user_id }}_{{ input.query }} | Empty |
| Operation | Get, Set, Delete or Get or Set | Get or Set |
| TTL (seconds) | How long a saved answer lives. Minimum 0 | 3600 |
| Output key | Where the result is stored. Placeholder: cache_output | Empty |
Retry tab on every node
Every node has a Retry tab in its settings. It is off by default.
| Field | What it does | Default |
|---|---|---|
| Enable retry on failure | Turns retries on | Off |
| Max retries | How many times to retry, from 0 to 10 | 3 |
| Base delay (ms) | Wait before the first retry. Minimum 100 | 1000 |
| Backoff multiplier | 1 means a fixed delay, 2 means the wait doubles each time. From 1 to 10 | 2 |
| Retry on | Tick any of error, timeout, rate limit, any | error |
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
| Field | What it does | Default |
|---|---|---|
| Node timeout (ms) | Hint: "0 = use workflow default" | 0 |
| On failure | Fail workflow, Skip node (pass through) or Continue with error data | Fail workflow |
| Disable node (skip in execution) | Skips the node | Off |
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.