Back to integrations

MongoDB and Redis connection

Save yourself the work of writing custom integrations for MongoDB and Redis and use n8n instead. Build adaptable and scalable Development, Data & Storage, workflows that work with your technology stack. All within a building experience you will love.

MongoDB
Redis

Ways to connect MongoDB and Redis

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

MongoDB and Redis integration: Create a new workflow and add the first step

Create your own MongoDB and Redis connection

Create custom MongoDB and Redis workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

MongoDB supported actions

Redis supported actions

Delete

Delete a key from Redis

Get

Get the value of a key from Redis

Increment

Atomically increments a key by 1. Creates the key if it does not exist.

Info

Returns generic information about the Redis instance

Keys

Returns all the keys matching a pattern

List Length

Returns the length of a list

Pop

Pop data from a redis list

Publish

Publish message to redis channel

Push

Push data to a redis list

Set

Set the value of a key in redis

Other integrations with MongoDB

MongoDBGoogle SheetsMongoDBSlackMongoDBTelegramMongoDBMySQL

Other integrations with Redis

RedisGoogle SheetsRedisTelegramRedisPostgresRedisMySQL
FAQs

FAQ

Can MongoDB connect with Redis?

Can I use MongoDB’s API with n8n Lab?

Can I use Redis’s API with n8n Lab?

Is n8n secure for integrating MongoDB and Redis?

How to get started with MongoDB and Redis connection in n8n.io?

Looking to connect MongoDB and Redis in your company?

A widely adopted workflow orchestration workspace trusted by technical teams including

Why use n8n to connect MongoDB with Redis

Build complex workflows, really fast