# Add Row Action

The **Add Row Action** feature allows users to add and configure Flow actions for individual rows in the data table. This enables users to link specific Salesforce Flows to each row and execute them directly from the table. Row actions are displayed as buttons within the table, and when clicked, the Flow is triggered using the data from the selected row as input variables. This allows for tasks such as record updates, creating related records, or executing complex business logic directly from the data table.

***

### :small\_orange\_diamond: Steps to Configure Row Action

1. Click the **Add Row Action** button.\\

   <figure><img src="/files/pPYSPJKe4ujjeBdBtiYf" alt="" width="308"><figcaption><p>Datatable Setup</p></figcaption></figure>
2. Configure the row action by setting the column label, column width, button icon, and button label.
3. Select the desired Flow to be executed.\\

   <figure><img src="/files/z4f8jENnpDz99AQQf8DR" alt="" width="311"><figcaption><p>Edit a Row Action</p></figcaption></figure>

{% hint style="warning" %}
When a Flow is executed, the record ID of the selected row is passed as an input variable by default. Ensure the following input variable exists in the Flow configuration:

• **Variable Name:** recordId

• **Data Type:** Text
{% endhint %}

4. Click the **Save** button and verify that the row action is added.\\

   <figure><img src="/files/lEAc3lsTrjk4cvZsdh56" alt="" width="338"><figcaption><p>Added Row Action</p></figcaption></figure>


---

# 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://help.smallbuilder.com/smallbuilder-lists/builder-setup-steps/datatable-setup/add-row-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.
