Actions57
- Card Actions
- Card Builder Actions
- Channel Actions
- Chat Actions
- Message Actions
- Analyze Reactions
- Delete
- Delta (All Chats)
- Export All Messages (Metered)
- Export Retained Messages (Metered)
- Generate Thumbnail
- Get
- Get Many
- Get Pinned Messages
- Get Reaction Analytics
- List Messages
- List Replies
- Monitor Upload
- Pin Message
- Pin Channel Message
- Process File
- Reply
- Reply with Attachment
- Send
- Send and Wait
- Send File Link
- Send with Attachment
- Set Reaction
- Soft Delete
- Undo Delete
- Unpin Message
- Unpin Channel Message
- Unset Reaction
- Update
- Upload to OneDrive
- Subscriptions Actions
- Team Actions
- User Actions
Card → Update Card (from Action)
AI-generatedSummary
Update an existing adaptive card in a Microsoft Teams conversation using the activity ID and conversation ID from a trigger event output.
Inputs
- Card JSON (required) — The updated adaptive card JSON object to replace the existing card's content.
- Activity ID (required) — The activity ID of the original card message to update, typically sourced from the trigger event output.
- Conversation ID (required) — The conversation ID of the Teams chat or channel, also obtained from the trigger event output.
Output shape
a single record containing the API response indicating the result of the card update operation
The operation returns the updated card response from the Microsoft Teams API. This response is parsed into a JavaScript object for downstream use. It requires the activityId and conversationId to target the specific card message to update, and the card property containing the updated adaptive card JSON. Errors may occur if identifiers are invalid or the bot lacks permissions.
Examples
Example 1: Update the content of an adaptive card in response to a user action in a Teams Bot workflow
Provide the 'Card JSON' with the new adaptive card content, and fill 'Activity ID' and 'Conversation ID' with values extracted from the trigger event's output, so the node updates the correct card in the conversation.