Workflow templatesTag products for a feed review when a variant barcode changes

Tag products for a feed review when a variant barcode changes

Copy page

When a variant that already had a barcode gets a different one, add the tag feed-review to its product. A changed GTIN or EAN can break listings in Google Merchant Center and marketplaces, so the product gets checked before the next feed run.

When a variant that already had a barcode gets a different one, add the tag feed-review to its product. A changed GTIN or EAN can break listings in Google Merchant Center and marketplaces, so the product gets checked before the next feed run.

One trigger, built-in Shopify actions only, no other app needed. Nothing in it is specific to a store, so it works as soon as it is imported.

The workflow in Shopify Flow: Tag products for a feed review when a variant barcode changes
The complete workflow as it looks in Shopify Flow.

What it needs

  • The app's permission Product, Variant & Collection Data Access. See Permissions and data access.
  • Nothing else: turning the workflow on switches the trigger Product Variant Barcode Changed on in the app.

Install the Workflow Trigger Extensions app and grant Product, Variant & Collection Data Access on its Permissions page. Turning this workflow on switches the trigger on in the app.

Get the workflow

  1. Download the .flow file attached at the bottom of this page.
  2. In your Shopify admin open Flow, click Import and choose the file.
  3. Check the steps, then click Turn on workflow.

The file is an export from Shopify Flow itself. Do not edit it by hand; change the workflow in Flow after importing it.

How it works

  1. Product Variant Barcode Changed carries barcodeChange with oldBarcode and newBarcode.
  2. The Condition continues when barcodeChange.oldBarcode is not empty, so a variant that gets its first barcode is skipped.
  3. Add product tags puts feed-review on the variant's product.

Make it yours

  • Filter your feed app or a saved product search on the tag feed-review and remove the tag once checked.
  • Add Send internal email with the old and the new barcode.

Next steps