You can now add rate limit configuration to your Webhook action using any element from HTTP header and body. The rate_limit
action option takes in three parameters:
• key
: The value to track (can be from headers, body, or any formula)
• count
: Maximum number of requests allowed for the value of key
, for the time window specified in period
• period
: Time window in seconds during which it will check the count for the evaluated key
The rate limit is checked for every request, and if the count is exceeded, the request is rejected with a default 429
status code. This is a great way to ensure that your webhook is not overwhelmed by requests.