Published 3 years ago
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
Implement complex processes faster with n8n