# Use the 'Generate categories' function

{% hint style="info" %}
Note: If the 'Generate categories' option results in 35 pages of categories, you've reached the maximum number of categories that can be generated. Check our [tips for categorization](/manage-improve-product-data/categorize-products/categorization-tips.md) before filling in the generated categories.
{% endhint %}

{% stepper %}
{% step %}

### Go to the channel's Categories step

* Navigate to **\[Your channel]** where you want the categories.
* Go to the **Categories** step.
* Open the **Manual Categorization** tab.
  {% endstep %}

{% step %}

### Generate categories (if needed)

* If you don't have categories yet, click **Generate categories**.
* If you have already added categories, open More actions and click the + icon dropdown, then select **Generate categories**.

![Generate categories screenshot](/files/6aef32082373193a6c12bc08134cfa7c00e03116)
{% endstep %}

{% step %}

### Set the category field (if not set)

* If you have not [set the category field](/manage-improve-product-data/categorize-products/create-product-categories/set-the-category-field.md) yet, select a field in the pop-up and click **Save**.
  {% endstep %}

{% step %}

### Save the generated categories list

* Click **Save** below the list of categories to persist the generated categories.
  {% endstep %}

{% step %}

### Map values to categories using Field & Filter

* Use the 'Field' and 'Filter' fields to filter on the value of a field.\
  Example: if 'categories' 'is equal to' 't-shirts' then type 'T-shirt' to find the category (internal) 'Clothing & Accessories > Clothing > Shirts & Tops'.
* This will assign that category to all items that match this filter.
* The dropdown in the 'Set to category' column will also provide suggestions that best match the value, making manual categorization easier.

![Field & Filter screenshot](/files/d48686c97fc7cf6f1217b98bffd0079d28f6aca4)
{% endstep %}

{% step %}

### Save and review categorization coverage

* Click **Save**.
* The interface will show the percentage of items allocated to a category, and the number of items with and without a category.
* Aim for 100% of your items categorized. If you haven't reached 100%, add separate [rules](/manage-improve-product-data/rules-bulk-edit-and-enrich/rules-in-channable.md) to complete your categorization.

![Categorization coverage screenshot](/files/ba5256866738f2bff41ca3f0926100648c1e9d2b)
{% 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://helpcenter.channable.com/manage-improve-product-data/categorize-products/create-product-categories/use-the-generate-categories-function.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.
