Session Store (Ephemeral)

Store and retrieve data from in-memory session during a workflow execution

Get All

AI-generated

Summary

Retrieve the entire session data object from the specified ephemeral storage scope (execution, workflow, or global).

Inputs

  • Scope — Select the scope of the session store to retrieve data from. Options are Execution (current run only), Workflow (shared across executions, in-memory), or Global (shared across all workflows, in-memory). Data is ephemeral and lost on restart.

Output shape

a single JSON object representing all stored key-value pairs within the chosen scope.

The returned data includes all keys and nested values in the specified scope. Data is stored in memory and is lost when n8n restarts. There is no pagination; the entire scope content is returned at once.

Examples

Example 1: Get all session data for the current execution scope

Set Scope to 'Execution (Current Run Only)' and Operation to 'Get All'. Outputs a JSON object of all keys and values isolated to the current workflow run.

Discussion