> For the complete documentation index, see [llms.txt](https://docs.optis.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optis.me/swatch/product-groups/common-questions/can-product-groups-automatically-group-products-from-the-same-tag.md).

# Can Product Groups automatically group products from the same tag?

Yes — use **Bulk create** and set **Group by** to **Product tag**. Instead of building each group by hand, the app scans your catalog by tag and creates the groups for you.

There are three tag rules, depending on how you want tags to translate into groups:

<table><thead><tr><th width="220">Rule</th><th>What it creates</th><th>Example</th></tr></thead><tbody><tr><td><strong>One group per tag</strong></td><td>Every tag becomes its own group, in one run</td><td>Tags <code>summer-2026</code> and <code>winter-2026</code> each become a separate group named after the tag</td></tr><tr><td><strong>One group, any of the tags</strong> (OR)</td><td>A single group containing every product that has <strong>at least one</strong> of the tags you pick</td><td>Pick <code>sale</code> and <code>clearance</code> → one group with every product tagged <code>sale</code> <em>or</em> <code>clearance</code></td></tr><tr><td><strong>One group, all of the tags</strong> (AND)</td><td>A single group containing only products that have <strong>every</strong> tag you pick</td><td>Pick <code>cotton</code> and <code>organic</code> → one group with only products tagged <code>cotton</code> <em>and</em> <code>organic</code></td></tr></tbody></table>

## How to do it

{% stepper %}
{% step %}

#### Go to **Product groups** → **Bulk create**

{% endstep %}

{% step %}

#### Set **Group by** to **Product tag**, then pick a rule

Choose **One group per tag**, **One group, any of the tags**, or **One group, all of the tags**, and select the tag(s) it applies to.
{% endstep %}

{% step %}

#### Review the preview and uncheck anything you don't want

Groups whose name already matches an existing group are marked **already exists** and skipped automatically.
{% endstep %}

{% step %}

#### Click **Create**

{% endstep %}
{% endstepper %}

{% hint style="info" %}
You can also group by **product name pattern** or **product metafield** instead of tag, and narrow the scan with a search query first. See [Bulk create Product Groups](/swatch/product-groups/bulk-create-product-groups.md) for the full guide, including scan/group size limits.
{% endhint %}
