# Button Clicked

> Windows | Cross-platform

## Project compatibility

Windows | Cross-platform

## Overview

Triggers when an adaptive card button is clicked inside a bot message in Teams.

## Input

| Parameter | Description | Data Type |
| --- | --- | --- |
| Conversation type | Select the conversation type for button clicked events: Personal, Group, or Channel. | string |
| Button identifier | The display name of the button that is clicked. | string |
| Message ID | Pass the message ID from the output of the **Send Bot Channel Message** or **Send Bot Direct Message** activity. | string |
| Channel data source name | The name of the data source associated with the Teams channel where the adaptive card button was clicked. | string |
| Channel data tenant ID | The Microsoft Entra tenant ID where the click originated. | string |
| Conversation ID | The identifier of the Teams conversation where the card was clicked (for example, a channel thread or group chat). | string |
| Conversation is group | Whether the interaction happened in a group context (for example, group chat or channel) rather than a one-on-one chat. | boolean |
| Conversation tenant ID | The Microsoft Entra tenant ID for the conversation context in which the click occurred. | string |
| User AAD Object ID | The Microsoft Entra object ID of the user who clicked. | string |
| User ID | The Teams-specific user identifier for the user who clicked the adaptive card button. | string |
| User name | Display name of the user who clicked the button. | string |

## Output

| Parameter | Description |
| --- | --- |
| Button | Automatically generated output variable. |
| Button ID | Automatically generated output variable. |

:::note
* In API workflows, a single
response object is returned as the output. Any required fields can be extracted directly from this object.
* In RPA workflows, some output
parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
:::
