Clean
AI-generatedSummary
Deletes the Redis state key for the supplied Value and returns whether a key was deleted. Set Global Statement to choose global state or state scoped to the current workflow.
Inputs
- Value (required) — Value used to identify the state key. In workflow-scoped mode, the node hashes this value to form the Redis key.
- Global Statement — Defaults to true. When true, targets the global Redis key; when false, targets a key scoped to the current workflow.
- Redis credentials (required) — Connection details for the Redis server.
Output shape
One output item per input item, each with json.state set to a boolean.
state is true when Redis reports that a key was deleted, otherwise false. In global mode, the implementation uses the literal key pattern n8n-state-global-*; Redis DEL does not expand wildcard patterns, so this generally targets a literal key rather than matching keys by prefix.