# Action buttons

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

Action buttons are a good way of making a clause more user friendly in documents. They can have three functions:

* execute a saved search
* browse a folder of your choosing
* present preselected clauses

This way, when the clause with the action button was included in a document, the action button gives the user a shortcut to add further relevant (sub)clauses to the document.

## Adding an action button to a clause

Start editing a clause (either in the *Browse Files* mode or in *Assemble Document*). In the navigation menu on the right, go to *Action Button*.

<figure><img src="/files/UmOGrrjc3urVE4CgRXNV" alt="" width="362"><figcaption></figcaption></figure>

<figure><img src="/files/AVMO0Gz1WQT2fAvO6Z8S" alt="" width="360"><figcaption></figcaption></figure>

Click <img src="/files/vEzs41IYX4nsCPDv7jeQ" alt="" data-size="line">.

* **button caption** — Create a caption for the button (i.e. the text that will be visible on the button), optionally in multiple languages.
* **button position — Where the button should be positioned relative to this clause’s subclauses.**
* **hide button when — The button can optionally be hidden when at least one subclause exists.**
* **action** — Choose one of the three options described above.

## Tips for using action buttons

* Action buttons are especially suited for use when a clause can have several optional subclauses.
* When there is a high number of optional subclauses, it is preferable to use the option to browse to a folder. The contents of that folder can be easily managed (by removing or adding clauses to it) as well.


---

# 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/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.
