# Create a condition

{% stepper %}
{% step %}
**Navigate to the Conditions page**

Go to the **Conditions** section in your Hubble dashboard or sidebar.

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

\
Click **Create new condition** to start building your first condition.

<figure><img src="/files/BGvuQjyCf6fpYxxTh7Mg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Set up basic details**

Begin by giving your condition a name and optional description.\
Use clear names so it’s easy to identify your condition later — for example:

* “Weekend Shoppers”
* “VIP English Customers”

<figure><img src="/files/ikOjwnlNLU5jt57NQDOj" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Add a condition type**

Each type corresponds to a different data source, such as:

* **Customer** – Rules based on tags, total amount spent, account age, etc.
* **Market** – Rules based on language or region.
* **Date and Time** – Rules that depend on specific days or time ranges.

Adding a type creates a panel where you can define one or more rules for that category.

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

{% hint style="info" %}
Click **+ Add type** button to add additional Condition types if needed.
{% endhint %}
{% endstep %}

{% step %}
**Configure matching logic**

Under **Condition must match**, choose how the rules combine:

* **All rules** – Every rule must be true for the condition to apply.
* **Any rule** – The condition applies if any one of the rules is true.![](https://github.com/by-overse/hubble-merchant-docs/blob/main/conditions/broken-reference)

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

{% hint style="info" %}
This setting affects all rules within the condition.
{% endhint %}
{% endstep %}

{% step %}
**Add Rules**

Inside each type panel, click + **Add new rule** to define your rules.\
For example:

* Customer tag **contains** “VIP”
* Language **is equal to** “English”
* Day **is equal to** “Saturday”

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

{% hint style="info" %}
You can add multiple rules under the same type or across different types.
{% endhint %}
{% endstep %}

{% step %}
**Save the condition**

When you’re done configuring, click **Save**.\
Your new condition will now be available to assign to blocks anywhere in your store.

<figure><img src="/files/LuvOu3u6ZMaeNbnFSS0d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.overse.app/hubble/conditions/create-a-condition.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.
