> For the complete documentation index, see [llms.txt](https://docs.powertable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powertable.com/explore-powertable/working-with-powertable/column-setup/add-visual-column/button-column.md).

# Button Column

A button column is an interactive column that can be added to your table and configured to open a URL or execute an [automation](/explore-powertable/automation.md).

1. To add a new column, go to **Setup > Columns.**

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FHS9NYWHwUX1GjncZYLPj%2Fimage.png?alt=media&amp;token=077d7548-c7c1-4124-985a-644c9f76b0b5" alt=""><figcaption><p>Set up column</p></figcaption></figure>

2. Click **Add Visual Column > Add Button Column.**&#x20;

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FB3cSKzthXnubvGIv9Svr%2Fimage.png?alt=media&amp;token=7e5d4d5b-fe93-4efd-8acd-a55f85989378" alt=""><figcaption><p>Add button column</p></figcaption></figure>

Alternatively, you can insert a new column from the 'Home' tab, as shown below:

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2F9BkKYp0WsCImJRlwK0D8%2Fimage.png?alt=media&amp;token=2e7b5535-77c1-4038-bddc-c660130ac9c3" alt=""><figcaption></figcaption></figure>

3. Enter the details about the column:

* **Column Name:** Enter a name for the column.
* **Label:** The default label is 'Click Here'. If necessary, you can edit the label for the displayed link.
* **Action:** Choose the action you want PowerTable to perform when you click the link. You can choose to open a URL or execute an automation, as required.

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FatxYqziNbkoWeXdpnyRk%2Fimage.png?alt=media&amp;token=62d0a7dd-231b-4871-a5de-6dd998fd1e66" alt=""><figcaption><p>Column Details</p></figcaption></figure>

4. **URL:** If you choose to open a URL, enter the URL details in the section below. Choose **Static** to enter a static URL, or **Formula** to enter a formula to generate a dynamic URL based on data.

#### Static URL - example

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2Fmbgjon5kFEzihfZlX9pI%2Fimage.png?alt=media&amp;token=cc1c48d1-e4bc-47bd-a1a4-6965b3f0a6b3" alt=""><figcaption></figcaption></figure>

#### Formula - example

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FuFf9lQ1cG8hmI9C36Qts%2Fimage.png?alt=media&amp;token=ad19290a-e89e-401b-8ff5-e74d418a7c9d" alt=""><figcaption></figcaption></figure>

5. Click **Save.** The button column is added as shown below:

<figure><img src="https://1781349671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKyXRCFh0c08ryiUFvyMV%2Fuploads%2FBv0i6rSDCQtsEFkrNKAX%2Fimage.png?alt=media&amp;token=c509007c-664e-46c5-98c7-052b82916987" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.powertable.com/explore-powertable/working-with-powertable/column-setup/add-visual-column/button-column.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
