{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-teams-card-to-workflow",
  "title": "Teams Card To Workflow Payload",
  "section": "Library asset reference",
  "description": "Convert an Adaptive Card into the Workflows webhook envelope without sending.",
  "kind": "node",
  "url": "/wiki/reference-teams-card-to-workflow/",
  "markdown": "/wiki/reference-teams-card-to-workflow/index.md",
  "json": "/wiki/reference-teams-card-to-workflow/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "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": "teams",
  "contract": {
    "key": "teams.card.to.workflow",
    "slug": "teams-card-to-workflow",
    "name": "Teams Card To Workflow Payload",
    "kind": "node",
    "family": "teams",
    "packId": null,
    "category": "Microsoft Teams",
    "description": "Convert an Adaptive Card into the Workflows webhook envelope without sending.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "card",
        "name": "card",
        "type": "@teams.type.card",
        "typeName": "Teams Adaptive Card",
        "typeKey": "teams.type.card",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "payload",
        "name": "payload",
        "type": "@teams.type.workflow.payload",
        "typeName": "Teams Workflow Card Payload",
        "typeKey": "teams.type.workflow.payload",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "documentation": "Teams Card To Workflow Payload\n\nConvert an Adaptive Card into the Workflows webhook envelope without sending.\n\nInputs: `card`. Outputs: `payload`. Configuration follows the inspector schema; no schema defaults are assumed at execution. Missing optional fields stay absent. Provider remainders are retained by codecs. Errors throw and can select a wired error control route.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://learn.microsoft.com/en-us/graph/api/resources/chatmessage?view=graph-rest-1.0). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\n- `card`: `@teams.type.card`; required.\n\nOutputs:\n- `payload`: `@teams.type.workflow.payload`; required.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.",
    "runtime": "javascript",
    "tags": [
      "library-expansion",
      "node",
      "teams",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
