Skip to content

Redis 节点#

使用 Redis 节点在 Redis 中自动化工作,并将 Redis 与其他应用程序集成。n8n 内置支持广泛的 Redis 功能,包括删除键、获取键值、设置键值以及向 Redis 频道发布消息。

在此页面上,您将找到 Redis 节点支持的操作列表以及更多资源的链接。

凭据

请参考 Redis 凭据 获取设置身份验证的指导。

此节点可用作 AI 工具

此节点可用于增强 AI 代理的功能。以这种方式使用时,许多参数可以自动设置,或使用 AI 指导的信息设置 - 在 AI 工具参数文档中了解更多信息。

操作#

  • Delete a key from Redis. 从 Redis 删除键。
  • Get the value of a key from Redis. 从 Redis 获取键值。
  • Returns generic information about the Redis instance. 返回 Redis 实例的常规信息。
  • Atomically increments a key by 1. Creates the key if it doesn't exist. 原子性地将键值增加 1。如果键不存在则创建。
  • Returns all the keys matching a pattern. 返回匹配模式的所有键。
  • Set the value of a key in Redis. 在 Redis 中设置键值。
  • Publish message to Redis channel. 向 Redis 频道发布消息。

模板和示例#

Template widget placeholder.