Templates / Use Redis to rate-limit your low-code API

Use Redis to rate-limit your low-code API

Needs changes

by Harshil Agrawal ✓ · 2,611 views · created 2021-09-21 · DevOps

Needs 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.0Replace with
Function (legacy)
Function
Code node, mode 'Run Once for All Items'

Nodes used (6)

AirtableRedis

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

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.