Easy Tech Tuts
n8n

How to Connect Redis to n8n, Use & Setup Easily 2026

By Impran M N

Redis is a fast in-memory database that pairs well with n8n for tasks like caching, queuing, and pub/sub messaging. This guide covers adding the Redis node, connecting your credentials, and choosing between key-value operations and messaging channels.

01Add the Redis node

Place the Redis node onto your workflow canvas where you need database interaction.

02Enter your connection credentials

Provide your Redis host address, port, and password inside n8n's credential manager.

03Choose your operation

Decide between key-value actions like setting or getting a key, or pub/sub messaging for real-time events.

04Map your data

Define key names and connect incoming JSON data to structure what gets stored or published.

05Test the connection

Run the workflow to confirm data is being stored, retrieved, or broadcast as expected.

FAQ

Frequently asked questions

What credentials does the Redis node need?

You'll need your Redis server's host address, port, and password to establish the connection.

Can n8n use Redis for pub/sub messaging?

Yes, the Redis node supports both key-value operations and pub/sub message routing.

Why would I use Redis with n8n instead of a regular database?

Redis is well suited for fast caching, temporary state storage, and queue management within automations.

Can I store JSON data directly in Redis through n8n?

Yes, you can map incoming JSON payloads into Redis key structures.

Watch the full walkthrough

The same steps, demonstrated on screen from start to finish.