{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-teams-workflow-send",
  "title": "Teams Publish Workflow Card",
  "section": "Library asset reference",
  "description": "Send card through an existing Teams Workflows URL kept entirely in the secret store. Optional workflowTokenSecret supports a tenant-authenticated trigger; the URL does not grant Graph permissions. 2xx is acceptance only. Owner/co-owner and",
  "kind": "node",
  "url": "/wiki/reference-teams-workflow-send/",
  "markdown": "/wiki/reference-teams-workflow-send/index.md",
  "json": "/wiki/reference-teams-workflow-send/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.workflow.send",
    "slug": "teams-workflow-send",
    "name": "Teams Publish Workflow Card",
    "kind": "node",
    "family": "teams",
    "packId": null,
    "category": "Microsoft Teams",
    "description": "Send card through an existing Teams Workflows URL kept entirely in the secret store. Optional workflowTokenSecret supports a tenant-authenticated trigger; the URL does not grant Graph permissions. 2xx is acceptance only. Owner/co-owner and ",
    "inputs": [
      {
        "id": "exec",
        "name": "exec",
        "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
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "error",
        "name": "error",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "receipt",
        "name": "receipt",
        "type": "@teams.type.workflow.receipt",
        "typeName": "Teams Workflow Acceptance",
        "typeKey": "teams.type.workflow.receipt",
        "typeVersion": 1,
        "required": true
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {
        "confirmWrites": {
          "type": "boolean"
        },
        "workflowUrlSecret": {
          "type": "string",
          "default": "TEAMS_WORKFLOW_URL"
        },
        "workflowTokenSecret": {
          "type": "string"
        },
        "timeoutMs": {
          "type": "integer",
          "minimum": 100,
          "maximum": 120000,
          "default": 15000
        }
      },
      "required": [
        "confirmWrites"
      ],
      "additionalProperties": false
    },
    "documentation": "Teams Publish Workflow Card\n\nSend card through an existing Teams Workflows URL kept entirely in the secret store. Optional workflowTokenSecret supports a tenant-authenticated trigger; the URL does not grant Graph permissions. 2xx is acceptance only. Owner/co-owner and flow connections must remain valid. No retries.\n\nInputs: `exec`, `payload`. Outputs: `next`, `error`, `receipt`. 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- `payload`: `@teams.type.workflow.payload`; required.\n\nOutputs:\n- `receipt`: `@teams.type.workflow.receipt`; required.\n\nConfiguration:\n- `confirmWrites`: boolean; no automatic default\n- `workflowUrlSecret`: string; default \"TEAMS_WORKFLOW_URL\"\n- `workflowTokenSecret`: string; no automatic default\n- `timeoutMs`: integer; default 15000\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"
  }
}
