# Navigation

Navigation actions are for users to move between various pages. There are four distinct navigation actions available, each serving a specific purpose:

* Go Back
* Go To Page
* Go To Page By Path
* Open Link

## Go Back

This action would get user return to the previous screen or page they were on, whether or not the previous page is in the app.

## Go To Page

This action will direct user to a certain page within the app.&#x20;

#### Dynamic page

If the page selected is a dynamic page (See [Set up dynamic routing](/app-builder/popular-use-cases/set-up-dynamic-routing.md)),&#x20;

<div align="left"><figure><img src="/files/2q22OaHhUyqE3NbcBfwk" alt="" width="317"><figcaption></figcaption></figure></div>

## Go To Page By Path

This action is a programmable way to direct the user to a page within the app. You can program the path and even add routeParams and routeQuery after the URL, providing more flexibility.

#### Example: Pass the current routeQuery of the current page to the report page.

In order to redirect users to "report" page and pass the routeQuery to it. First, set the "report" page path to page. Then, add the Go To Page By Path action on a button, set the Page Full Path to `report?reportDate=${#page.routeQuery.reportDate}` . The `${#page.routeQuery.reportDate}` represents an accessor to get the `reportDate` value from `routeQuery` object in current page data.

<div align="left"><figure><img src="/files/amwBUAvNm1Vanz0r3QUC" alt="" width="288"><figcaption><p>Set destination page path</p></figcaption></figure></div>

<div align="left"><figure><img src="/files/7LRAKtkZmAHBJHmaCpor" alt="" width="317"><figcaption><p>Set action page path</p></figcaption></figure></div>

## Open Link&#x20;

This action will direct user to the link, no matter it is in app or not.&#x20;

**Link**: Insert the URL you want to open

**Open In New Tab**: Check this option if you want the link to open in a new browser tab.


---

# 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.acho.io/app-builder/app-construction/interactions/actions/navigation.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.
