Metafield triggers
Metafield triggers fire when a specific metafield definition changes, on any of 10 owner types.
Supported owner types
Product, Product Variant, Collection, Customer, Order, Draft Order, Company, Company Location, Blog, Blog Post, and Page.
Setting one up
- Open Metafield Triggers in the app navigation.
- Click Add trigger.
- Pick the owner type, then the metafield definition you want to watch.
- Save.
From then on, edits to that metafield fire the Metafield Update trigger in Shopify Flow, carrying the namespace, key, owner, and the old and new values.
The generic trigger and the typed ones
There are two ways to consume metafield changes:
| Trigger | Covers | Delivers |
|---|---|---|
| Metafield Update | All 10 owner types | Namespace, key, owner id, old and new value |
| Order Metafield Update | Orders only | The same, plus the order as a native Flow reference |
| Product Metafield Update | Products only | The same, plus the product as a native reference |
| Customer Metafield Update | Customers only | The same, plus the customer as a native reference |
Use a typed trigger when your workflow needs to act on the resource itself, for example to tag the order or read its line items. The native reference means Flow can use its own Shopify actions on it directly, with no lookup step.
Use the generic trigger when you just need to know a value changed, or when you are watching an owner type that has no typed variant.
The typed triggers are switched on per resource on their Settings tab and fire in addition to the generic trigger. They share one event, so enabling both does not double-count against your quota.