# User Grid - Custom Action

## **Overview**

GridMate allows users to interact with and manipulate data by adding custom actions to the GM User Grid component.

{% hint style="info" %}
To set the **JSON** configuration of the action, please refer to [Grid - Mass/Record Actions](https://docs.gridmate.io/advanced-guides/actions-library) and [Grid - Custom Action](https://docs.gridmate.io/advanced-guides/grid-custom-action) articles.
{% endhint %}

## Custom Action Setup

In this guide, we walk through an example of setting up the call flow action.

1. Click the gear icon in the top right corner, select **Setup**, then use the left-hand **Quick Find** search bar to type **Custom Metadata Types**.
2. Click **Manage Records** on the **grid** **action**.

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2FHoRhxBlOhigeV4A9zBbT%2FScreenshot%202026-01-09%20at%2015.20.01.png?alt=media&#x26;token=6cdaf301-e008-4bd8-acff-9f735a5aa582" alt=""><figcaption></figcaption></figure>

3. Click **New** to create a new custom action.

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2Fl9QxdYLXT5YsWudGYnuR%2FScreenshot%202026-01-09%20at%2015.20.19.png?alt=media&#x26;token=e9164e7e-669a-4712-98a1-0831ffb61e99" alt=""><figcaption></figcaption></figure>

4. After configuring the action, click **Save**.

<figure><img src="https://4046919449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEsSbGy_U_OhthKUpxu%2Fuploads%2F2FZPTjbJqs9aCl5IW68s%2FScreenshot%202026-01-09%20at%2018.04.26.png?alt=media&#x26;token=f25d6ba6-a23d-4af4-aae6-1ed739acdddb" alt=""><figcaption></figcaption></figure>

Below is an example of the configuration used for the **mass convert** call flow **action**.

```json
{
    "label": "Mass Convert",
    "name": "MassConvert",
    "component": "gmpkg:DataGridCallFlowComponent",
    "attributes": {
        "flowName": "GM_Mass_Lead_Convert",
        "idListParam": "idList",
        "itemListParam": "itemList",
        "autolaunched": false,
        "successMessage": "Leads converted successfully"
    }
}
```
