> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/smallbuilder-lists/setup/action-setup-optional.md).

# Action setup (optional)

**You can define Actions which will be displayed as buttons in the list view.**

* [**Adding an action (button)**](#adding-an-action-button)
  * [**Flow**](#flow)
  * [**URL**](#url)

***

### Adding an action (button)

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

<table><thead><tr><th width="145">Field name</th><th width="422">Description</th><th>Req.</th></tr></thead><tbody><tr><td>Label</td><td>The label appearing on the button</td><td><mark style="color:red;">✔️</mark></td></tr><tr><td>Button Variant</td><td><p>Specify the appearance of the button. The following options are available:</p><ul><li>Base</li><li>Neutral (default)</li><li>Brand</li><li>Brand Outline</li><li>Destructive</li><li>Destructive Text</li><li>Success</li></ul><p><img src="/files/0EtRxoPILSTvTTetM8yh" alt=""><br><img src="/files/PLvxfIibv16k9WaJ679i" alt=""><br></p></td><td></td></tr><tr><td>Action Type</td><td><p>Specify the type of action.</p><ul><li>Flow: connect to a Flow action.</li><li>URL: Links to a web address.</li><li>New: creates a new record of the relevant object.</li><li>Delete: Deletes the record.</li></ul></td><td><mark style="color:red;">✔️</mark></td></tr></tbody></table>

### Flow

<figure><img src="/files/q8HBZCYVk6WEzuqm51rf" alt="" width="375"><figcaption></figcaption></figure>

<table><thead><tr><th width="173">Field name</th><th width="385">Description</th><th>Req.</th></tr></thead><tbody><tr><td>Flow</td><td>Select the Flow you want to run.</td><td><mark style="color:red;">✔️</mark></td></tr><tr><td>Parameter Type</td><td><p>Select the type of parameter to pass when running the Flow.</p><ul><li>SObject: Pass the type of object specified by the list.</li><li>Record Id: Pass the Record ID.</li><li>None: Don't pass a parameter.</li></ul></td><td><mark style="color:red;">✔️</mark></td></tr><tr><td>Parameter Name</td><td>If the Parameter Type is SObject or Record Id, you must select a resource to receive from the Flow.</td><td></td></tr></tbody></table>

### URL

<figure><img src="/files/Qq1DZfHqU9bmsJzLaJbr" alt="" width="375"><figcaption></figcaption></figure>

<table><thead><tr><th width="193">Field name</th><th width="371">Description</th><th>Req.</th></tr></thead><tbody><tr><td>URL</td><td>Enter the URL to navigate to (either absolute or relative).</td><td><mark style="color:red;">✔️</mark></td></tr><tr><td>Parameter Field API Name</td><td>Select a field from the list's target object to append as a parameter to the URL. This passes the value of the specified field, for the selected record(s) in the list.</td><td></td></tr></tbody></table>
