Actions12
Remove Item
AI-generatedSummary
Remove a specified item by key from the ephemeral session store within a chosen scope, either deleting a key or removing an element from an array at that key.
Inputs
- Scope (required) — Defines the ephemeral session storage scope to target: 'execution' (current workflow run only), 'workflow' (shared across executions in-memory), or 'global' (shared instance-wide in-memory). Data is lost on n8n restart.
- Key (required) — The dot-notation key identifying the item to remove from the session store.
Output shape
A single item with a JSON object showing success status, the targeted key, and operation type 'remove'.
If the key points to an array element or a nested path, the corresponding item at that location is deleted. The response JSON confirms the removal operation success.
Examples
Example 1: Remove a top-level key 'user.name' from the execution-scoped ephemeral store.
Set Scope to 'Execution (Current Run Only)' and Key to 'user.name'.
Example 2: Delete an item deeply nested at 'settings.preferences.theme' from the global scope.
Set Scope to 'Global (All Workflows)' and Key to 'settings.preferences.theme'.