# Assign filters to blocks

{% stepper %}
{% step %}

### Navigate to the block you want to assign a target to:

This can be either a new block or an existing block.

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

{% step %}

### Locate the Customer Targets section

In the block editor, find the **General Filters** section.

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

{% step %}

### Assign a General Filter

* **Select an existing General Filter:** Use the dropdown menu to choose a previously created General Filter.
* **Create a new General Filter:** Click the **Create New** button to define a new filter directly from the block editor.

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

{% hint style="info" %}
Assigning multiple blocks to the same General Filter can help maintain consistent content visibility across your store.
{% endhint %}
{% endstep %}

{% step %}

#### Save

Once the filter is assigned:

1. Click **Save** to apply the filter to the block.
2. Use Shopify’s Editor to preview how the block will behave based on the assigned filter conditions.

<figure><img src="/files/6oeKG3N51CAOqajdBcMc" 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/general-filters/assign-filters-to-blocks.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.
