# Teams Workflow Card Payload

Teams Workflow Card Payload Workflows/incoming webhook card envelope. Distinct from Graph chatMessage attachment JSON-string content. Required fields must be present; optional fields remain absent. Null is accepted only where explicitly dec

Canonical URL: https://opennodeflow.dev/wiki/reference-teams-type-workflow-payload/
JSON reference: https://opennodeflow.dev/wiki/reference-teams-type-workflow-payload/index.json
Source snapshot: 2026-10-23

Teams Workflow Card Payload

Workflows/incoming webhook card envelope. Distinct from Graph chatMessage attachment JSON-string content.

 Required fields must be present; optional fields remain absent. Null is accepted only where explicitly declared. Additional provider fields are accepted only by schemas that permit them. Use the matching Encode/Decode assets.

Authored 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.

## Audited socket contract (21 October 2026)

Inputs:
No data sockets.

Outputs:
No data sockets.

Configuration:
No asset-specific configuration.

Known 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.

Authoritative JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "type": {
      "const": "message"
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contentType": {
            "const": "application/vnd.microsoft.card.adaptive"
          },
          "contentUrl": {
            "type": "null"
          },
          "content": {
            "type": "object",
            "properties": {
              "type": {
                "const": "AdaptiveCard"
              },
              "version": {
                "type": "string",
                "enum": [
                  "1.2",
                  "1.3",
                  "1.4",
                  "1.5"
                ]
              },
              "body": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "altText": {
                      "type": "string"
                    },
                    "size": {
                      "type": "string"
                    },
                    "weight": {
                      "type": "string"
                    },
                    "color": {
                      "type": "string"
                    },
                    "wrap": {
                      "type": "boolean"
                    },
                    "isVisible": {
                      "type": "boolean"
                    },
                    "spacing": {
                      "type": "string"
                    },
                    "separator": {
                      "type": "boolean"
                    },
                    "facts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "title",
                          "value"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "style": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": {
                    "$ref": "#/definitions/ONFJsonValue"
                  }
                },
                "maxItems": 100
              },
              "actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "id": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "verb": {
                      "type": "string"
                    },
                    "tooltip": {
                      "type": "string"
                    },
                    "isEnabled": {
                      "type": "boolean"
                    },
                    "associatedInputs": {
                      "enum": [
                        "auto",
                        "none"
                      ]
                    },
                    "data": {
                      "$ref": "#/definitions/ONFJsonValue"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": {
                    "$ref": "#/definitions/ONFJsonValue"
                  }
                },
                "maxItems": 20
              },
              "$schema": {
                "type": "string"
              },
              "fallbackText": {
                "type": "string"
              }
            },
            "required": [
              "type",
              "version",
              "body"
            ],
            "additionalProperties": {
              "$ref": "#/definitions/ONFJsonValue"
            }
          }
        },
        "required": [
          "contentType",
          "contentUrl",
          "content"
        ],
        "additionalProperties": false
      },
      "maxItems": 20
    }
  },
  "required": [
    "type",
    "attachments"
  ],
  "additionalProperties": false,
  "definitions": {
    "ONFJsonValue": {
      "description": "Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.",
      "anyOf": [
        {
          "type": "null"
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ONFJsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/ONFJsonValue"
          }
        }
      ]
    }
  }
}
```

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `teams.type.workflow.payload` |
| Kind | type |
| Family | teams |
| Pack | See library discovery |

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



## 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.
