> For the complete documentation index, see [llms.txt](https://docs.quickreply.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickreply.ai/product-modules/journeys/manage-journey/create-journey-goal-and-exit.md).

# Create Journey - Goal and Exit

Every journey includes a **goal** and **exit condition**, which help determine whether a user successfully reaches the goal after navigating through the journey's various nodes, or if the user exits the journey due to meeting a specific condition.

## **Set Goals**

Define specific goals for the journey, like conversions or user interactions.

* **A minimum of 1 and a maximum of 5 goals can be configured**

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

## **Set Exit Conditions**

Conditions for when a user exits the journey, such as completing an action or achieving a goal.

* Select Exit condition when a user has executed a specific event, or
* Exit condition can be same as the goal, to do this click on Exit journey on achieving this goal

<figure><img src="/files/xJ3YedKr1f1cM024jVOz" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.quickreply.ai/product-modules/journeys/manage-journey/create-journey-goal-and-exit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
