# 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](/advanced-guides/actions-library.md) and [Grid - Custom Action](/advanced-guides/grid-custom-action.md) 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="/files/0N7NSGZJBODuggiA250l" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/gvpyrT7oY1gdVeJrkPOn" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/zRNBP3Pb01dBcnUsOMww" 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"
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gridmate.io/advanced-guides/user-grid-custom-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
