# Storage Question Decode

Decode storage question with named typed sockets.

Canonical URL: https://opennodeflow.dev/wiki/reference-app-storage-storage-codec-question-decode/
JSON reference: https://opennodeflow.dev/wiki/reference-app-storage-storage-codec-question-decode/index.json
Source snapshot: 2026-10-23

## Storage Question Decode

Extracts the Storage Question contract.

Inputs: `value` (storage.type.question, required).

Outputs: `identity` (storage.type.identity, required), `outbound` (storage.type.outbound-reference, required), `options` (storage.type.options, required), `mode` (string, required), `status` (string, required), `expiresAt` (string, required), `conversationKey` (string, required), `agent` (string, optional), `actorPolicy` (storage.type.actor-policy, optional), `selectedOptionId` (string, optional), `selectedAt` (string, optional), `selectedBy` (string, optional).

Pure transformation: no network calls, storage writes, namespace selection or persistent side effects. Codecs preserve explicitly present null values. A missing optional output stays absent; connecting that output to a dependent node can skip the dependent node. Invalid socket values fail schema validation.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `app.storage.storage.codec.question.decode` |
| Kind | node |
| Family | app-storage |
| Pack | See library discovery |

[Integration guide](/wiki/storage/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `value` | Value | storage.type.question v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `identity` | Identity | storage.type.identity v1 | Yes |  |
| `outbound` | Outbound | storage.type.outbound-reference v1 | Yes |  |
| `options` | Options | storage.type.options v1 | Yes |  |
| `mode` | Mode | string | Yes |  |
| `status` | Status | string | Yes |  |
| `expiresAt` | Expires At | string | Yes |  |
| `conversationKey` | Conversation Key | string | Yes |  |
| `agent` | Agent | string | No |  |
| `actorPolicy` | Actor Policy | storage.type.actor-policy v1 | No |  |
| `selectedOptionId` | Selected Option Id | string | No |  |
| `selectedAt` | Selected At | string | No |  |
| `selectedBy` | Selected By | string | No |  |

## Configuration schema


```json
{}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
