Skip to main content

Redis Node

What it does

Executes Redis operations such as get/set/del against a configured Redis instance for caching and lightweight state.

Inputs/config

  • Redis credential reference.
  • Command/operation type.
  • Key, value, and optional TTL/expiration.

Outputs/branches

  • Uses matched_output.
  • success on command success.
  • error on connectivity/auth/command failures.

Example usage snippet

{
"id": "n_redis",
"type": "redis_node",
"config": {
"operation": "set",
"key": "order:{{input.id}}",
"value": "{{input}}",
"ttl_seconds": 300
}
}

Common pitfalls

  • Forgetting TTL and accumulating stale cache keys.
  • Storing oversized payloads instead of compact cache objects.
  • Assuming Redis write succeeded without handling error branch.