# Action buttons

Action buttons let you update specific fields on a record. You can add action buttons on both the **List layout** and the **Detail layout**.

**How you can use Action buttons:**&#x20;

1. [Trigger a record update](#create-action-buttons-in-list-layout-0-0)
2. [Trigger a Stacker workflow](#undefined)
3. [Trigger a Zapier/Make.com action](#trigger-a-zapier-make-automation)
4. [Navigate to an internal link, external link or link in field](#navigate-to)

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

### Update record with action button <a href="#create-action-buttons-in-list-layout-0-0" id="create-action-buttons-in-list-layout-0-0"></a>

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

1. Click <img src="/files/wdsZRdiRbfz1f8eZH138" alt="" data-size="line">**Edit Layout**
2. Click the **Actions** tab
3. Click the **+** to create a new button
4. Title the action button (this is the label that will appear on the button)
5. Select **Update Record**
6. Toggle on the field to allow users to update&#x20;
7. [Edit options](/stacker-astra/ai-and-automations/action-buttons/edit-an-action-button.md) by selecting the pencil icon

{% hint style="info" %}
Double check users can "update" fields used in the action button even if the pop up does not open.&#x20;
{% endhint %}

{% embed url="<https://vimeo.com/1010664940?share=copy>" %}

### Trigger a Stacker workflow

1. Create a workflow by clicking the lightning bolt (beta feature)
2. Set it up to be "triggered by action button"&#x20;
3. Choose the table the action button is on
4. Finish the workflow and set status on
5. Create the action button&#x20;
6. Select "Trigger workflow" and select the corresponding workflow

{% hint style="info" %}
Learn more about workflows [here](/stacker-astra/ai-and-automations/workflows-beta.md).
{% endhint %}

### Trigger a Zapier/Make automation

Learn more about [Zapier](/stacker-astra/ai-and-automations/integrations/zapier-integration.md) and [Make.com](/stacker-astra/ai-and-automations/integrations/make.com-integration.md) here.&#x20;

### Navigate to&#x20;

* External link: Place a URL in the button that will appear the same for all places the button is located.
* Internal link: Target a URL in Stacker by selecting the auto generated pages.&#x20;
* From field: Choose a field that has a URL, this can be a unique URL for each user or record when paired with permissions.&#x20;
  * Learn more about custom URLs [here](/stacker-astra/customize-layouts/create-form/auto-filling-values-into-create-forms.md).&#x20;


---

# 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.stackerhq.com/stacker-astra/ai-and-automations/action-buttons.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.
