Auto Group by Metafield is a Smart Automation feature in Grouptify that lets you create thousands of product groups at once, in just one click.
- Automatically group products that belong together
- Creates options (e.g. Color, Size) and fills in the option values (e.g. Black, White, S, M, L) for each product in the group
This feature is ideal for merchants who already use metafields to manage their product data, the app leverages that existing data to bulk-create groups without any extra work.
⭐ Unlimited Plan only: This feature is available on paid plans. Please upgrade to access it.
2. Step-by-step setup
To get started, go to Grouptify → Product groups → Create group → Bulk generate by Metafields.
Step 1 – Choose a Group Identifier
The Group Identifier tells the app how to figure out which products belong in the same group. Products that share the same identifier value will be automatically grouped together.
Click the Identifier source dropdown and select one of the three options:

By Product Title
- Groups products that share the same title pattern
- Choose your title pattern match your store. We list down some of the most commonly used patterns, for example <product_title> | <variant>; <variant> | <product_title>, etc.
- Example:
- "Linen Shirt | Blue" and "Linen Shirt | Red" → grouped as "Linen Shirt"
- "Wool Coat - Navy" → skipped
- Requires consistent naming in your product titles
By Product Tag
- The app scans your product tags and groups products that share the same tag pattern.
- The recommended pattern is PG_<GroupID>.
- The PG_ prefix helps the app tell apart grouping tags from your other tags like sale or new-arrival.
- The <GroupID> part tells the app which products belong in the same group.
- Example: all products tagged PG_linen-shirt → same group; other tags are ignored
By Product Metafield
- Groups products that share the same value in a specific metafield
- Select your metafield namespace.key, e.g, custom.fabric. If you don't have one, create a single-line text metafield in Shopify Admin (Go to Settings → Metafields and Metaobjects → Products, and add a new metafield). Read Section 3 if you're not sure.
- Example: all products where custom.group.id = New Collection → same group
Step 2 – Define Group Options
In this step, you tell the app which metafields to use for each option. The app will then read those metafields and automatically fill in the option values for every product in the group.
1. Enter an option name
Type the name of the option as it should appear to shoppers. For example: Color, Size, Material.
2. Link it to a metafield
In the Linked metafield field, enter the namespace.key of the metafield that holds this option's value. For example: custom.color
3. Add more options or remove options if needed
- Click+ Add an option to add another option (e.g. Size →
custom.size). Repeat for as many options as you need.
- To remove an option, click the trash icon (🗑) on the right side of that option row.
Once the automation runs, the app reads each product's metafield values and uses them as the option values automatically.
Example:
You set up 2 options: Color linked to Color → custom.color , and Size linked to Size → custom.size
Product "Linen Shirt Blue M" has:
• custom.color = Blue
• custom.size = M
Product "Linen Shirt Red M" has:
• custom.color = Red
• custom.size = M
→ The group will show Blue / Red as Color options and M as Size option.
Note: Each metafield can only be linked to one option. The metafield used for the group identifier must also be different from the ones used for options.
Step 3 – Set Option Appearance
Choose how each option will look when shoppers see it, on both the product page and
(in collections, search results, etc.).
For each option you created, select a display style:
- 🔲 Button: Text labels in a clickable button format
- 🎨 Color swatch: Colored circles (best for color options)
- And other styles depending on your plan
This works the same way as setting appearance for any regular product group in Grouptify.
Step 4 – Choose Group Status & Run
Before running the automation, decide what happens to the groups after they're created:
- Publish Active: Groups are immediately visible on your storefront as soon as the automation finishes.
- Save as Draft: Groups are created but not visible to shoppers yet. You can review them on the Product groups page and publish when ready. Recommended if you want to check the results first, and if you'd like to remove a specific product or edit option names, option values, or appearance for individual groups before they go live.
Once everything is set, click Run automation. The app will scan your products, group them based on the identifier, and create all groups automatically.
If you're using the By Metafield identifier or linking options to metafields, your products need to have those metafields set up in Shopify first. Here's how to add one:
1. Go to Shopify Admin
In your Shopify Admin, click Settings in the bottom-left corner.
2. Open Custom data
Click Metafields & Metaobjects from the settings menu.
3. Select Products
Click Products to see all product metafield definitions.
4. Add a custom product metafield, if needed.
- Click "Add definition" and enter your Product metafield name. The corresponding namespace.key will be generated automatically. For example, Version → custom.version.
- In "Type", select Single line text.
Make sure the metafield type is Single-line text. Other metafield types (like number, date, or reference) are not supported by this feature.
Not sure which identifier to use? This table summarizes what each method requires:
| By Title | By Tag | By Metafield |
What you need to prepare | Product titles follow a consistent pattern | Add PG_<groupID> tag to each product | A metafield with group ID set on each product |
Option values come from | Metafield | Metafield | Metafield |
Need to rename products? | Yes | No | No |
Need to add tags? | No | Yes | No |
Best for | Stores with structured naming | Stores that use tags to organize | Stores with rich metafield data |