Skip to content

Rate limit

  • Type flow.rateLimit
  • Group Flow
  • Role action
  • Risk reads only
  • Side effect has an effect each run
  • Runs once per item

Lets at most N items per key pass in a time window, across runs

key

Key · string · required

What is counted, e.g. the account id: each key has its own limit.

scope

Scope · string · optional · default “

max

Max items · integer · required · default 10 · range 1 – …

How many items may pass per window.

window

Messages kept · string · required · default day · one of minute, hour, day, rolling24h

The time window the limit applies to.

onLimit

When the limit is reached · string · optional · default skip · one of skip, wait, error

Over the limit: wait for a free slot, send the item out of the Limited output, or fail.

maxWaitSeconds

Wait at most (seconds) · integer · optional · default 3600 · range 1 – 86400

Shown when onLimit is wait.

into

Into field · string · optional · default “

  • main
  • limited Limited

← All nodes