Create an automated collection with metafields

An automated collection, also known as a smart collection, is a grouping of products that's defined by a set of rules. Shopify automatically changes the contents of an automated collection based on the configured rules. You can create rules with metafield definitions to automatically update the contents of an automated collection based on product metafields and variant metafields.

In this guide, you'll learn how to configure an automated collection with metafield definition rules by creating an automated collection that contains all products that are made out of silk and on sale.