{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-app-storage-storage-operation-conversation-append",
  "title": "Storage Conversation Append",
  "section": "Library asset reference",
  "description": "Conversation Append in the current workflow workspace and configured namespace.",
  "kind": "node",
  "url": "/wiki/reference-app-storage-storage-operation-conversation-append/",
  "markdown": "/wiki/reference-app-storage-storage-operation-conversation-append/index.md",
  "json": "/wiki/reference-app-storage-storage-operation-conversation-append/index.json",
  "headings": [
    {
      "id": "storage-conversation-append",
      "title": "Storage Conversation Append",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../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"
  ],
  "family": "app-storage",
  "contract": {
    "key": "app.storage.storage.operation.conversation.append",
    "slug": "app-storage-storage-operation-conversation-append",
    "name": "Storage Conversation Append",
    "kind": "node",
    "family": "app-storage",
    "packId": null,
    "category": "Durable storage",
    "description": "Conversation Append in the current workflow workspace and configured namespace.",
    "inputs": [
      {
        "id": "exec",
        "name": "Exec",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "request",
        "name": "Request",
        "type": "storage.type.conversation-append-request",
        "typeName": "Storage Conversation Append Request",
        "typeKey": "app.storage.storage.type.conversation-append-request",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "result",
        "name": "Result",
        "type": "storage.type.conversation-record",
        "typeName": "Storage Conversation Record",
        "typeKey": "app.storage.storage.type.conversation-record",
        "typeVersion": 1,
        "required": true
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "namespace": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "title": "Namespace"
        }
      },
      "required": [
        "namespace"
      ],
      "additionalProperties": false
    },
    "documentation": "## Storage Conversation Append\n\nCalls the durable storage operation `conversation.append`. Set required **namespace** in node configuration. The workspace is always the executing workflow's workspace; a request cannot select another workspace.\n\nWire **Storage Conversation Append Request Encode** into required `request`. Required `result` uses **Storage Conversation Record**; use its Decode to extract fields. `exec`/`next` are control sockets. A successful request emits next; errors fail the node.\n\nThis operation changes encrypted durable state. Expected versions reject stale writes; never retry an uncertain external action by guessing.\n\nRecords and conversations use exact expectedVersion (0 creates a missing key). Questions enforce expiration, identity, correlation, actor policy and option IDs; deciding atomically records selection and enqueues work. Queue workers claim, mark start before external work, then acknowledge or fail with the current lease token and version. An ambiguous external outcome requires explicit recovery; recovery needs a reason. Scope clear requires exact workspace and namespace confirmation. No built-in business action or external model call is performed.\n\nLibrary tests use isolated ephemeral storage and never the installed persistent namespace. JSON bodies are bounded and encrypted at rest. Do not log payloads, history, tokens or credentials.",
    "tags": [
      "builtin",
      "node"
    ],
    "source": "app-builtin-catalog"
  }
}
