# Add action buttons to clauses

{% embed url="<https://vimeo.com/463898482>" %}

Action buttons are an easy way to allow users to add pre-selected clauses with one single click. This is particularly useful if you want to allow the user to individually add clauses of a certain category, like in this example.

<figure><img src="/files/V49pQ2RWcy7H7KSjJb6C" alt="" width="563"><figcaption></figcaption></figure>

## Inserting an Action Button

In order to insert an action button, you need to first navigate to the clause where you want the button to appear. Double-click it to start editing it and in the menu on the right-hand side, click on *Action button*.&#x20;

<figure><img src="/files/Tt77q4lg72x420M0amk4" alt="" width="366"><figcaption></figcaption></figure>

Add an action button by selecting the green icon. A new window with more options will appear.

<figure><img src="/files/0qoGyD9ntohZ1btSakah" alt="" width="563"><figcaption></figcaption></figure>

* **Button caption**: This is where you insert the text that will be displayed on the button. Different versions can be made for different languages. Translations can also be generated.
* **Button position:** The button can be positioned either above, or below the selected sub-clause.
* **Button visibility:** This option allows you to hide a button when at least one sub-clause exists.
* **Action:** Here, you can choose which clauses should become available by clicking on the button. You can either:
  * *execute a saved search:* Choosing this allows you to save search criteria. This search will then always be executed when the button is clicked. The search results will be presented to the user
  * *browse selected folder:* If this option is selected, the user will be taken to the selected folder in the *browse* pane, enabling him to view the contents of that folder and add any clauses in there as relevant
  * *present preselected clauses:* Lastly, you can also individually select clause which will then be presented by clicking on the action button.


---

# 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.clause9.com/clauses/how-to-clauses/add-action-buttons-to-clauses.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.
