Skip to content

[Feature]: MSTeams - Support raw Adaptive Card JSON in message tool for richer approval cards #99939

Description

@KonsultDigital

Feature Description

Allow agents to send raw Adaptive Card JSON to Microsoft Teams for richer, more professional approval and notification cards.

Use Case

When Konnie (or other agents) send approval requests or structured notifications in Teams, the current presentation format is limited:

  • No native FactSet support (key-value tables look like plain text)
  • Limited control over button styling and layout
  • Cannot use Adaptive Card features like ColumnSet for side-by-side layouts
  • No access to Action.Submit with data payloads for interactive workflows

Example: Approval cards should look like the C# Corner examples with:

  • Bold headings with proper weight/size
  • FactSet for structured data (Skill, Version, Risk levels)
  • Styled action buttons (positive/destructive/default)
  • Clean visual hierarchy with proper spacing

Current State

  • Presentation format converts to Adaptive Cards but with limited control
  • Raw card JSON via \card\ parameter appears to be ignored or not rendered
  • Action.Submit buttons are supported but styling is limited

Proposed Approach

Option 1: Support raw Adaptive Card JSON via the \card\ parameter in message tool
Option 2: Extend presentation format to expose more Adaptive Card features (FactSet, ColumnSet)
Option 3: Add a new \adaptiveCard\ parameter specifically for Teams

Example Desired Card

Environment

  • OpenClaw version: 2026.6.x
  • Channel: msteams (Bot Framework)
  • Adaptive Card schema version: 1.5

Related Issues

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions