# Building a goal that shows open opportunities

An open opportunity goal refers to opportunities that have not yet reached a closed status, meaning they are neither "Closed Won" nor "Closed Lost."&#x20;

**Go to: Definitions → Properties → Goals → Create New Goal**

Set up your goal:

* **Goal Name**: e.g. Open Opportunity
* **Category**: It’s reasonable to differentiate this goal from actual funnel stages goals, so we suggest creating a new category: Status: open
* **Create a goal:** Custom Goal -> Deal Property Changed
* **Define Criteria**:
  * Set: property is "CreatedDate"
  * To only capture Opportunities that are still open, you need to ensure that the deal is not marked as closed. Select the deal\_is\_closed field and set the condition to "is false." This will filter out closed deals and keep those opportunities that remain open.&#x20;

Save your goal by clicking **Define Goal**

<figure><img src="/files/q0TXPIBYEieCIPNen7Dg" 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://docs.hockeystack.com/marketing-intelligence/report-examples-and-insights/building-a-goal-that-shows-open-opportunities.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.
