Skip to main content

Steps

  1. Open the attribute and go to the Faceting tab.
  2. Click Create group and give it a clear name (e.g., “Neutrals”, “Premium brands”).
  3. Select facet values and use Add to group to place them.
  4. Drag groups to reorder. Values inside a group keep their relative order.
  5. Save.

Add a value to more than one group

A facet value can belong to more than one group at the same time. This is useful when a single raw value spans multiple shopper-facing buckets, such as a split size like 4/6 that should appear under both 4 and 6. Once a value is in a group it no longer has its own row in the values table, so add the extra memberships from the group side:
  1. Find the group you want to add the value to and open its row menu, then click Edit group.
  2. Check the value in the picker. The picker lists every facet value, including ones that already belong to another group.
  3. Save the dialog. Repeat for each additional group the value should appear in, then save the attribute.
The Create group dialog works the same way, so you can pull an already grouped value into a brand new group as you build it. How shared values behave on the storefront:
  • Filtering. Selecting any one of the groups matches all of its members, including values shared with other groups. Filtering by 4 matches 4 and 4/6. Filtering by 6 matches 6, 4/6, and 6/8.
  • Counts. A product that carries a shared value counts toward every group it belongs to. A product tagged 4/6 contributes to both the 4 and 6 badges.
  • Editing. Unchecking a shared value inside one group’s edit dialog removes it from that group only. Its other memberships stay intact. Bulk actions from the values table still act on the value across every group it belongs to.

Automate grouping with Shopify Flow

Once your groups exist, you can keep them up to date automatically. Layers provides a Shopify Flow action, Sort Filter Value Groups, that places a new facet value into your groups using AI. Use it when new products regularly introduce new values, such as a new color or brand, and you don’t want to file each one by hand. To set it up:
  1. In your Shopify admin, open Flow and create a workflow.
  2. Start the workflow with the Layers Value added to filter trigger. It fires when catalog sync surfaces a value never seen before on a grouped storefront facet. The trigger exposes Filter code, Filter name, Value, and Has groups variables to later steps.
  3. Add the Layers Sort Filter Value Groups action and configure its fields:
    • Filter — the attribute code of the facet whose groups you want to update (for example, color). The attribute must be enabled as a storefront facet in Layers. With the Layers trigger, use its Filter code variable.
    • Prompt — instructions for how to place values (for example, “Place new colors into the closest existing color family”). The agent files values into existing groups by default. If you want it to create a group, ask for one explicitly (for example, “Put crimson into a new group called Bright”).
    • Value — the facet value to place. With the Layers trigger, use its Value variable.
You can also start the workflow from any other Flow trigger, such as Product created, and pass your own value into the action. The Value added to filter trigger only fires for facets that already have at least one group, and it skips values that are hidden or already grouped. Layers fires it once per value per facet, so a value that disappears and comes back doesn’t trigger the workflow again. When the workflow runs, the same agent behind AI Sort & Group places the value into your existing groups following your prompt, then publishes the result to your storefront:
  • Values that already belong to a group are skipped, so repeated runs are safe.
  • The agent places values into your existing groups. It only creates a new group when your prompt explicitly asks for one.
  • Layers only accepts changes to the values the workflow passed in. Layers never renames, reorders, or regroups existing groups. If the agent proposes anything broader, Layers reverts the change and publishes nothing.
  • If a teammate is editing the facet when the agent finishes, Layers waits and retries publishing a few times over the next hour. If the draft changed in the meantime, Layers leaves it unsaved so your team can review it instead of publishing over their work.
  • While the agent works, it appears in the facet editor’s presence row as “Shopify Flow”.
If the action fails, for example because the filter isn’t a storefront facet or the prompt is missing, the reason appears in the workflow’s run log in Shopify Flow. Published changes are recorded in config history with a system actor. The Flow trigger and action are part of the Layers app’s Shopify admin extensions, so they are available as soon as the app is installed. To react to new facet values in your own systems instead of (or alongside) Flow, subscribe to the facet_value.added outbound webhook. It fires under the same conditions as the trigger.

Tips

  • Use simple, shopper-friendly names.
  • Keep groups focused; avoid very large buckets.
  • Only add a value to multiple groups when shoppers would reasonably expect to find it under each one. Overlapping memberships can inflate counts across groups.
  • To seed groups automatically, try AI Sort & Group on the Faceting tab. The agent’s proposal lands as an unsaved draft you can adjust before saving.