Automatically change the metafield when I change the product price

Hi,

for some special reasons in connection with the smart filter app we need to add a metafield for our unit prices. Now the unit prices have to change every time our prices change.

Is there an option with shopify flow or another option to automatically change the metafield with the unit prices when we change the product price?

thanks!

Benno

There is no “price updated” event yet in Shopify, so Flow doesn’t have a trigger for that, yet.

You can get updated products via a Scheduled time trigger + Get product data (to get data updated since last run). But you won’t know if the price changed or something else. You could store the previous price in a metafield to check that.

@benno_sawitzki, if you don’t mind using third-party apps, you can use the Flow Companion app. This app allows you to track changes to the price field of a product variant.

As soon as the price field changes, the app triggers Product variant field changed.

To make this trigger work, you need to enable tracking of price field changes in the app settings.

Shopify Flow can’t trigger directly on price changes, but you can use a scheduled Flow that runs daily to find recently updated products and update their unit price metafield automatically.

For a more real-time solution without coding, apps like Mechanic or Matrixify can handle this trigger. Full disclosure: I’m on the team behind apps that integrate with metafields.

If the scheduled Flow works for your update frequency, that’s your simplest native option. If you need instant updates, an automation app is your best bet.