Skip to main content

Use Redis to rate-limit your low-code API

Workflow preview

Use Redis to rate-limit your low-code API preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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

workflow-screenshot

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