Use Redis to rate-limit your low-code API

Go to Workflow
2,146 views
Built by Harshil Agrawal Harshil Agrawal
Created on September 21, 2021

Description

This workflow demonstrates how to can use Redis to implement rate limits to your API.



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

This workflow was created by Harshil Agrawal and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (2)

Airtable
n8n-nodes-base.airtable
Redis
n8n-nodes-base.redis