# Add a Comment Action

You can add comments to a record through action buttons, enhancing app interactivity and automation. You can set this up in two ways: **One-Click Action Buttons** or **Modal Action Buttons**. Each setup enables users to add either fixed or custom comments directly to a record.

### **One-Click Action Buttons**

1. **Choose Action**: Select **Add a Comment**.
2. **Choose a Type**: Choose if this should be recorded as a **comment** or a **note**.
3. **Define Fixed Text**: Enter the text to be automatically added to the record. You can use dynamic tokens (e.g., {{user.name}}), but users won’t be able to edit it before submission.

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

### **Modal Action Buttons**

1. **Choose Action**: Select **Add a Comment**.
2. **Choose a Type**: Decide if this will be a **comment** or a **note**.
3. The user will be prompted with a text input box to add their comment. They can format text, upload files, and modify the comment before submission.

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

<figure><img src="/files/pBw5BNbR48UaaJlRO9aS" alt=""><figcaption></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://guides.noloco.io/actions/action-buttons/add-a-comment-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.
