# Identifying Clicked Buttons

## Overview

Knowing which button has been pressed in Salesforce Flows is crucial to ensure the right action is taken. This article will provide a comprehensive guide on using the [Avonni Button Group](https://docs.avonnicomponents.com/flow/flow-components/button-group) component, configuring the Row setting, and leveraging the "**`ClickedButtonName`**" attribute to determine the pressed button in a flow.

## Detailed Steps

1. Drag and drop the [Avonni Button Group](https://docs.avonnicomponents.com/flow/flow-components/button-group) component into your screen flow. This component allows you to create groups of buttons for seamless navigation and interaction.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F85xStzTsgrmBCwXbzFxa%2F2023-04-02_21-53-43.png?alt=media&#x26;token=7e1cbfde-f3a7-4fc8-aad2-979286ca8337" alt=""><figcaption></figcaption></figure>

2. Leverage the "**`ClickedButtonName`**" Attribute to Identify the Pressed Button. Once you have set up the individual buttons within the Avonni Button Group component, the "**`ClickedButtonName`**" attribute becomes available.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FuOkJlbbOcjXh6H2trlcc%2F2023-04-02_21-55-22%20(1).gif?alt=media&#x26;token=50bf3e69-1e04-4c1d-b3fa-da2aa5c27952" alt=""><figcaption></figcaption></figure>
