Redis Advanced icon

Redis Advanced

Get, send and update data in Redis with enhanced operations

Pop

AI-generated

Summary

Pop an element from a Redis list, either from the start or the end, and store it in a specified workflow data property.

Inputs

  • List (required) — Name of the Redis list from which to pop the element.
  • Tail — Choose whether to pop from the end of the list (true) or from the start (false). Defaults to false (start).
  • Name — The property name in the output JSON where the popped data will be stored. Supports dot-notation (e.g., 'data.person[0].name'). Defaults to 'propertyName'.
  • Options — Additional options, currently includes 'Dot Notation' to enable or disable using dot-notation in the output property name. Defaults to true (enabled).

Output shape

a single JSON object per input item containing the popped list element stored under the configured property name

If the popped value is JSON parseable, it will be parsed and output as an object; otherwise, as a string. The property name supports dot-notation by default, which can be disabled via options. If the list is empty or the pop returns no element, the output property will be null.

Discussion