Microsoft Teams Bot icon

Microsoft Teams Bot

Use Bot Framework conversation and activity APIs for Microsoft Teams bots

Reaction → Add Reaction

AI-generated

Summary

Add a reaction (such as like, heart, laugh, sad, or angry) to a specific activity within a Microsoft Teams conversation using the Bot Framework API.

Inputs

  • Service URL (required) — The Bot Framework service URL for the Teams environment, typically obtained from trigger node output.
  • Conversation ID (required) — The identifier of the Teams conversation containing the activity to react to, usually from trigger output.
  • Activity ID (required) — The identifier of the activity message within the conversation to which the reaction will be added.
  • Reaction Type (required) — The type of reaction to add, e.g., like, heart, laugh, sad, or angry.
  • Execution Options — Optional settings controlling debug output inclusion, output data shaping (pass through, merge, response only), and retry behavior for API requests.

Output shape

a JSON object containing the resource, operation, HTTP method, request path, and response data from the Bot Framework API.

The output shape can be controlled via the Execution Options 'Output Mode' parameter. The node returns data from the Bot Framework after attempting to add the reaction. Retry and debug options affect the request behavior and output metadata.

Examples

Example 1: Add a 'like' reaction to a message received in a Teams conversation triggered by a webhook.

Set 'Service URL' and 'Conversation ID' from the trigger node output, specify the 'Activity ID' of the message to react to, and select 'like' as the 'Reaction Type'. Optionally configure execution options for retries or debug data.

Links

Discussion