Use Redis to rate-limit your low-code API
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Function | Code node, mode 'Run Once for All Items' |
Nodes used (6)
- Airtable
n8n-nodes-base.airtable - Redis
n8n-nodes-base.redis - Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - Function
n8n-nodes-base.function - If
n8n-nodes-base.if
What it does
This workflow demonstrates how to can use Redis to implement rate limits to your API. !workflow-screenshot(fileId:538) The workflow uses the incoming API key to uniquely identify the user and use it as a key in Redis. Every time a request is made, the value is incremented by one, and we check for the threshold using the IF node. Duplicate the following Airtable to try out the workflow: https://airtable.com/shraudfG9XAvqkBpF