Actions12
Clear
AI-generatedSummary
Clear session data in-memory by removing either a specific key or the entire data set within the chosen scope.
Inputs
- Scope (required) — Choose the scope of the ephemeral storage to clear: 'execution' (current workflow run only), 'workflow' (shared across all runs of this workflow), or 'global' (shared across all workflows).
- Target (required) — Select whether to clear a 'Specific Key' or the 'Entire Scope'.
- Key — The key to clear when targeting a specific key. Supports dot-notation. Required only if Target is 'Specific Key'.
Output shape
a single JSON object indicating success and the operation performed, optionally including the key cleared if applicable
When clearing a specific key, the output includes the key and a success status. When clearing the entire scope, output confirms success and the scope cleared. The data cleared is ephemeral and only held in-memory during runtime.
Examples
Example 1: Clear a specific key in the workflow scope
Scope set to 'workflow', Target set to 'Specific Key', and the desired key provided
Example 2: Clear all data in the global scope
Scope set to 'global', Target set to 'Entire Scope'