> For the complete documentation index, see [llms.txt](https://docs.gridmate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gridmate.io/product-tour/grids/user-grid/actions.md). Agents can also search and read this documentation through its [MCP server](https://docs.gridmate.io/~gitbook/mcp).

# Actions

Add actions on one record and on selected records of a User Grid.

Users can run two kinds of actions on a User Grid:

* **Record actions** are accessible from one record.
* **Mass actions** run on all the records selected in the grid, from the toolbar.

## Which setting do I need?

|                    | I want to…                                                           | Use                                                                                                             |
| ------------------ | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| **Record actions** | Add a quick action, a custom component or a flow on a record         | [Record Actions](#record-actions)                                                                               |
| **Mass actions**   | Show more or fewer action buttons in the toolbar                     | [Visible Actions](#visible-actions)                                                                             |
| **Mass actions**   | Add my own action, such as a mass convert                            | [Custom Action](#custom-action)                                                                                 |
| **Mass actions**   | Switch Mass Create, Mass Clone, Mass Update or Mass Delete on or off | [Object Access](https://docs.gridmate.io/product-tour/grids/user-grid/create-and-edit-records.md#object-access) |

## Record Actions

**Record Actions** are custom actions accessible from the record: quick actions, custom components and flows.

1. Click the gear icon on the grid to open the [Config Wiz](https://docs.gridmate.io/product-tour/grids/user-grid/config-wiz.md).
2. Click **Advanced**.
3. Open the **Record Actions** section.
4. Select the actions.
5. Click **Save**.

The video below adds a quick action and uses it to update the stage of a record.

{% embed url="<https://youtu.be/R17fUVOBVOQ>" %}
Record Actions
{% endembed %}

## Mass Actions

Mass actions run on the records that users select with their checkboxes. To add mass actions to the toolbar, open the **Config Wiz**, click **Actions**, select the actions and click **Save**. In the main demo: mass assignment and update stages.

### Visible Actions

**Visible Actions** sets how many action buttons show in the toolbar. The other actions stay in the dropdown. This provides a cleaner interface and helps users focus on the actions that are most relevant to their workflow.

1. Open the **Config Wiz** and click **Actions**.
2. Set the number of visible actions. In the demo: **4**, then **2**.
3. Click **Save**.

In the same section, **Actions as Buttons** shows the mass actions as buttons in the toolbar.

The video below shows four actions in the toolbar, then two.

{% embed url="<https://youtu.be/gZhTIHI67qY>" %}

### Custom Action

*For admins.* A custom action adds your own action to the GM - User Grid component, for example an action that calls a flow. It is created in Salesforce Setup as a **Grid Action** record, not in the Config Wiz. The example below sets up a call flow action.

{% stepper %}
{% step %}

#### Open Custom Metadata Types

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**.
{% endstep %}

{% step %}

#### Manage the Grid Action records

Click **Manage Records** next to **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>
{% endstep %}

{% step %}

#### Create the action

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>
{% endstep %}

{% step %}

#### Save the action

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>
{% endstep %}
{% endstepper %}

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"
    }
}
```

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

## Next steps

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Connections</strong></td><td>Show related data next to a User Grid.</td><td><a href="https://docs.gridmate.io/product-tour/grids/user-grid/connections.md">Connections</a></td></tr><tr><td><strong>Grid - Custom Action</strong></td><td>Launch your own Aura or LWC component as a grid action.</td><td><a href="https://docs.gridmate.io/advanced-guides/smart-grid/actions/grid-custom-action.md">Grid - Custom Action</a></td></tr><tr><td><strong>Grid - Mass/Record Actions</strong></td><td>Configure toolbar, global and record actions, from filters to flows.</td><td><a href="https://docs.gridmate.io/advanced-guides/smart-grid/actions/actions-library.md">Grid - Mass/Record Actions</a></td></tr><tr><td><strong>GM - User Grid</strong></td><td>Every property of the component.</td><td><a href="https://docs.gridmate.io/package-reference/components-library/grids/gm-user-grid.md">GM - User Grid</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gridmate.io/product-tour/grids/user-grid/actions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
